1: <?php declare( strict_types = 1 );
2:
3: namespace Waves\Transactions\Mass;
4:
5: use Waves\Transactions\Recipient;
6:
7: class Transfer
8: {
9: private Recipient $recipient;
10: private int $amount;
11:
12: function __construct( Recipient $recipient, int $amount )
13: {
14: $this->recipient = $recipient;
15: $this->amount = $amount;
16: }
17:
18: function recipient(): Recipient
19: {
20: return $this->recipient;
21: }
22:
23: function amount(): int
24: {
25: return $this->amount;
26: }
27: }
28: