| @@ 259-272 (lines=14) @@ | ||
| 256 | return $this->currencyCode; |
|
| 257 | } |
|
| 258 | ||
| 259 | public function setCurrencyCode($code) |
|
| 260 | { |
|
| 261 | $value = null; |
|
| 262 | ||
| 263 | $cleaned = $this->cleanString($code, 3); |
|
| 264 | if ($cleaned !== null) { |
|
| 265 | if (!strlen($cleaned) < 3) { |
|
| 266 | $value = $cleaned; |
|
| 267 | } |
|
| 268 | } |
|
| 269 | $this->currencyCode = $value; |
|
| 270 | ||
| 271 | return $this; |
|
| 272 | } |
|
| 273 | ||
| 274 | public function getAmount() |
|
| 275 | { |
|
| @@ 533-547 (lines=15) @@ | ||
| 530 | return $this->authenticationAvailable; |
|
| 531 | } |
|
| 532 | ||
| 533 | public function setAuthenticationAvailable($token) |
|
| 534 | { |
|
| 535 | $value = null; |
|
| 536 | ||
| 537 | $cleaned = $this->cleanString($token, 1); |
|
| 538 | if ($cleaned !== null) { |
|
| 539 | $cleaned = strtoupper($cleaned); |
|
| 540 | if (strstr('YNU', $cleaned)) { |
|
| 541 | $value = $cleaned; |
|
| 542 | } |
|
| 543 | } |
|
| 544 | $this->authenticationAvailable = $value; |
|
| 545 | ||
| 546 | return $this; |
|
| 547 | } |
|
| 548 | ||
| 549 | public function getAuthenticationStatus() |
|
| 550 | { |
|
| @@ 554-568 (lines=15) @@ | ||
| 551 | return $this->authenticationStatus; |
|
| 552 | } |
|
| 553 | ||
| 554 | public function setAuthenticationStatus($token) |
|
| 555 | { |
|
| 556 | $value = null; |
|
| 557 | ||
| 558 | $cleaned = $this->cleanString($token, 1); |
|
| 559 | if ($cleaned !== null) { |
|
| 560 | $cleaned = strtoupper($cleaned); |
|
| 561 | if (strstr('YNUA', $cleaned)) { |
|
| 562 | $value = $cleaned; |
|
| 563 | } |
|
| 564 | } |
|
| 565 | $this->authenticationStatus = $value; |
|
| 566 | ||
| 567 | return $this; |
|
| 568 | } |
|
| 569 | ||
| 570 | public function getCavvUcaf() |
|
| 571 | { |
|
| @@ 103-116 (lines=14) @@ | ||
| 100 | return $this->amountRedeemedCurrencyCode; |
|
| 101 | } |
|
| 102 | ||
| 103 | public function setAmountRedeemedCurrencyCode($code) |
|
| 104 | { |
|
| 105 | $value = null; |
|
| 106 | ||
| 107 | $cleaned = $this->cleanString($code, 3); |
|
| 108 | if ($cleaned !== null) { |
|
| 109 | if (!strlen($cleaned) < 3) { |
|
| 110 | $value = $cleaned; |
|
| 111 | } |
|
| 112 | } |
|
| 113 | $this->amountRedeemedCurrencyCode = $value; |
|
| 114 | ||
| 115 | return $this; |
|
| 116 | } |
|
| 117 | ||
| 118 | public function getBalanceAmount() |
|
| 119 | { |
|
| @@ 138-151 (lines=14) @@ | ||
| 135 | return $this->balanceAmountCurrencyCode; |
|
| 136 | } |
|
| 137 | ||
| 138 | public function setBalanceAmountCurrencyCode($code) |
|
| 139 | { |
|
| 140 | $value = null; |
|
| 141 | ||
| 142 | $cleaned = $this->cleanString($code, 3); |
|
| 143 | if ($cleaned !== null) { |
|
| 144 | if (!strlen($cleaned) < 3) { |
|
| 145 | $value = $cleaned; |
|
| 146 | } |
|
| 147 | } |
|
| 148 | $this->balanceAmountCurrencyCode = $value; |
|
| 149 | ||
| 150 | return $this; |
|
| 151 | } |
|
| 152 | ||
| 153 | /** |
|
| 154 | * The 3-character ISO 4217 code that represents |
|
| @@ 160-173 (lines=14) @@ | ||
| 157 | return $this->currencyCode; |
|
| 158 | } |
|
| 159 | ||
| 160 | public function setCurrencyCode($code) |
|
| 161 | { |
|
| 162 | $value = null; |
|
| 163 | ||
| 164 | $cleaned = $this->cleanString($code, 3); |
|
| 165 | if ($cleaned !== null) { |
|
| 166 | if (!strlen($cleaned) < 3) { |
|
| 167 | $value = $cleaned; |
|
| 168 | } |
|
| 169 | } |
|
| 170 | $this->currencyCode = $value; |
|
| 171 | ||
| 172 | return $this; |
|
| 173 | } |
|
| 174 | ||
| 175 | public function getAmount() |
|
| 176 | { |
|