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 VendorDetails 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: * @var string
26: */
27: protected $type;
28: /**
29: * ID of the vendor's payment instrument: this will dictate the payment method and the.
30: *
31: * @var string
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: * ID of the vendor's payment instrument: this will dictate the payment method and the.
50: please make sure to double check the details.
51: */
52: public function getPaymentInstrumentId(): string
53: {
54: return $this->paymentInstrumentId;
55: }
56:
57: /**
58: * ID of the vendor's payment instrument: this will dictate the payment method and the.
59: please make sure to double check the details.
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: