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\Webhooks\Model;
12:
13: class TransferEvent 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 $companyId;
28: /**
29: * Only ACH, DOMESTIC_WIRE, CHEQUE, INTERNATIONAL_WIRE and BOOK_TRANSFER details can be retrieved from the Payments API.
30: *
31: * @var string
32: */
33: protected $paymentType;
34: /**
35: * @var string|null
36: */
37: protected $returnForId;
38:
39: public function getCompanyId(): string
40: {
41: return $this->companyId;
42: }
43:
44: public function setCompanyId(string $companyId)
45: {
46: $this->initialized['companyId'] = true;
47: $this->companyId = $companyId;
48: }
49:
50: /**
51: * Only ACH, DOMESTIC_WIRE, CHEQUE, INTERNATIONAL_WIRE and BOOK_TRANSFER details can be retrieved from the Payments API.
52: */
53: public function getPaymentType(): string
54: {
55: return $this->paymentType;
56: }
57:
58: /**
59: * Only ACH, DOMESTIC_WIRE, CHEQUE, INTERNATIONAL_WIRE and BOOK_TRANSFER details can be retrieved from the Payments API.
60: */
61: public function setPaymentType(string $paymentType)
62: {
63: $this->initialized['paymentType'] = true;
64: $this->paymentType = $paymentType;
65: }
66:
67: public function getReturnForId(): ?string
68: {
69: return $this->returnForId;
70: }
71:
72: public function setReturnForId(?string $returnForId)
73: {
74: $this->initialized['returnForId'] = true;
75: $this->returnForId = $returnForId;
76: }
77: }
78: