1: | <?php |
2: | |
3: | declare(strict_types=1); |
4: | |
5: | |
6: | |
7: | |
8: | |
9: | |
10: | |
11: | namespace NxSys\Library\Clients\Brex\API\Payments\Model; |
12: | |
13: | class VendorDetails extends \ArrayObject |
14: | { |
15: | |
16: | |
17: | |
18: | protected $initialized = []; |
19: | |
20: | public function isInitialized($property): bool |
21: | { |
22: | return array_key_exists($property, $this->initialized); |
23: | } |
24: | |
25: | |
26: | |
27: | protected $type; |
28: | |
29: | |
30: | |
31: | |
32: | |
33: | protected $paymentInstrumentId; |
34: | |
35: | public function getType(): string |
36: | { |
37: | return $this->type; |
38: | } |
39: | |
40: | public function setType(string $type): self |
41: | { |
42: | $this->initialized['type'] = true; |
43: | $this->type = $type; |
44: | |
45: | return $this; |
46: | } |
47: | |
48: | |
49: | |
50: | |
51: | |
52: | public function getPaymentInstrumentId(): string |
53: | { |
54: | return $this->paymentInstrumentId; |
55: | } |
56: | |
57: | |
58: | |
59: | |
60: | |
61: | public function setPaymentInstrumentId(string $paymentInstrumentId): self |
62: | { |
63: | $this->initialized['paymentInstrumentId'] = true; |
64: | $this->paymentInstrumentId = $paymentInstrumentId; |
65: | |
66: | return $this; |
67: | } |
68: | } |
69: | |