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\Transactions\Model;
12:
13: class CardTransactionMerchant 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: * Merchant descriptor.
26: *
27: * @var string
28: */
29: protected $rawDescriptor;
30: /**
31: * https://en.wikipedia.org/wiki/Merchant_category_code.
32: *
33: * @var string
34: */
35: protected $mcc;
36:
37: /**
38: * Merchant descriptor.
39: */
40: public function getRawDescriptor(): string
41: {
42: return $this->rawDescriptor;
43: }
44:
45: /**
46: * Merchant descriptor.
47: */
48: public function setRawDescriptor(string $rawDescriptor): self
49: {
50: $this->initialized['rawDescriptor'] = true;
51: $this->rawDescriptor = $rawDescriptor;
52:
53: return $this;
54: }
55:
56: /**
57: * https://en.wikipedia.org/wiki/Merchant_category_code.
58: */
59: public function getMcc(): string
60: {
61: return $this->mcc;
62: }
63:
64: /**
65: * https://en.wikipedia.org/wiki/Merchant_category_code.
66: */
67: public function setMcc(string $mcc): self
68: {
69: $this->initialized['mcc'] = true;
70: $this->mcc = $mcc;
71:
72: return $this;
73: }
74: }
75: