| 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 ReferralApplicationStatusChangedEvent 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 $eventType; |
| 28: | |
| 29: | |
| 30: | |
| 31: | protected $referralId; |
| 32: | |
| 33: | |
| 34: | |
| 35: | protected $application; |
| 36: | |
| 37: | public function getEventType(): string |
| 38: | { |
| 39: | return $this->eventType; |
| 40: | } |
| 41: | |
| 42: | public function setEventType(string $eventType): self |
| 43: | { |
| 44: | $this->initialized['eventType'] = true; |
| 45: | $this->eventType = $eventType; |
| 46: | |
| 47: | return $this; |
| 48: | } |
| 49: | |
| 50: | public function getReferralId(): string |
| 51: | { |
| 52: | return $this->referralId; |
| 53: | } |
| 54: | |
| 55: | public function setReferralId(string $referralId): self |
| 56: | { |
| 57: | $this->initialized['referralId'] = true; |
| 58: | $this->referralId = $referralId; |
| 59: | |
| 60: | return $this; |
| 61: | } |
| 62: | |
| 63: | public function getApplication(): ProductApplication |
| 64: | { |
| 65: | return $this->application; |
| 66: | } |
| 67: | |
| 68: | public function setApplication(ProductApplication $application): self |
| 69: | { |
| 70: | $this->initialized['application'] = true; |
| 71: | $this->application = $application; |
| 72: | |
| 73: | return $this; |
| 74: | } |
| 75: | } |
| 76: | |