| 1: | <?php |
| 2: | |
| 3: | declare(strict_types=1); |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | |
| 9: | |
| 10: | |
| 11: | namespace NxSys\Library\Clients\Brex\API\Webhooks\Model; |
| 12: | |
| 13: | class TransferEvent 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 $companyId; |
| 28: | |
| 29: | |
| 30: | |
| 31: | |
| 32: | |
| 33: | protected $paymentType; |
| 34: | |
| 35: | |
| 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: | |
| 52: | |
| 53: | public function getPaymentType(): string |
| 54: | { |
| 55: | return $this->paymentType; |
| 56: | } |
| 57: | |
| 58: | |
| 59: | |
| 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: | |