1: | <?php |
2: | |
3: | declare(strict_types=1); |
4: | |
5: | /* |
6: | * This file has been auto generated by Jane, |
7: | * |
8: | * Do no edit it directly. |
9: | */ |
10: | |
11: | namespace NxSys\Library\Clients\Brex\API\Payments\Model; |
12: | |
13: | class Recipient extends \ArrayObject |
14: | { |
15: | /** |
16: | * @var array |
17: | */ |
18: | protected $initialized = []; |
19: | |
20: | public function isInitialized($property): bool |
21: | { |
22: | return array_key_exists($property, $this->initialized); |
23: | } |
24: | /** |
25: | * Specifies the type of the recipient. |
26: | * |
27: | * @var string |
28: | */ |
29: | protected $type; |
30: | /** |
31: | * @var string |
32: | */ |
33: | protected $id; |
34: | |
35: | /** |
36: | * Specifies the type of the recipient. |
37: | `PAYMENT_INSTRUMENT_ID` is the ID of Payment Instrument of the receiving Brex account. |
38: | */ |
39: | public function getType(): string |
40: | { |
41: | return $this->type; |
42: | } |
43: | |
44: | /** |
45: | * Specifies the type of the recipient. |
46: | `PAYMENT_INSTRUMENT_ID` is the ID of Payment Instrument of the receiving Brex account. |
47: | */ |
48: | public function setType(string $type): self |
49: | { |
50: | $this->initialized['type'] = true; |
51: | $this->type = $type; |
52: | |
53: | return $this; |
54: | } |
55: | |
56: | public function getId(): string |
57: | { |
58: | return $this->id; |
59: | } |
60: | |
61: | public function setId(string $id): self |
62: | { |
63: | $this->initialized['id'] = true; |
64: | $this->id = $id; |
65: | |
66: | return $this; |
67: | } |
68: | } |
69: |