| 1 | <?php declare(strict_types=1); |
||
| 7 | class National extends Property |
||
| 8 | { |
||
| 9 | |||
| 10 | use Symbols; |
||
| 11 | |||
| 12 | public const PAYMENT_STANDARD = 431001; |
||
| 13 | public const PAYMENT_PRIORITY = 431005; |
||
| 14 | public const PAYMENT_COLLECTION = 431022; |
||
| 15 | |||
| 16 | private const TYPES_PAYMENT = [self::PAYMENT_STANDARD, self::PAYMENT_PRIORITY, self::PAYMENT_COLLECTION]; |
||
| 17 | |||
| 18 | /** @var string */ |
||
| 19 | protected $bankCode = ''; |
||
| 20 | |||
| 21 | /** @var string */ |
||
| 22 | protected $messageForRecipient = ''; |
||
| 23 | |||
| 24 | /** @var int */ |
||
| 25 | protected $paymentType = 0; |
||
| 26 | |||
| 27 | |||
| 28 | /** @return static */ |
||
| 29 | public function setPaymentType(int $type) |
||
| 34 | |||
| 35 | |||
| 36 | /** @return static */ |
||
| 37 | public function setMessage(string $message) |
||
| 42 | |||
| 43 | |||
| 44 | /** @return static */ |
||
| 45 | public function setAccountTo(string $accountTo) |
||
| 50 | |||
| 51 | |||
| 52 | /** @return static */ |
||
| 53 | public function setBankCode(string $bankCode) |
||
| 58 | |||
| 59 | |||
| 60 | public function getExpectedProperty(): array |
||
| 79 | |||
| 80 | |||
| 81 | public function getStartXmlElement(): string |
||
| 85 | |||
| 86 | } |
||
| 87 |