| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class AuthenticateTestRequest extends BaseApiRequest |
||
| 19 | { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Sets the merchant authentication credentials. |
||
| 23 | * |
||
| 24 | * @param \CommerceGuys\AuthNet\DataTypes\MerchantAuthentication $merchantAuthentication |
||
| 25 | * |
||
| 26 | * @return $this |
||
| 27 | */ |
||
| 28 | public function setMerchantAuthentication(MerchantAuthentication $merchantAuthentication): self |
||
| 29 | { |
||
| 30 | $this->merchantAuthentication = $merchantAuthentication; |
||
| 31 | return $this; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Gets the merchant authentication credentials. |
||
| 36 | * |
||
| 37 | * @return \CommerceGuys\AuthNet\DataTypes\MerchantAuthentication|null |
||
| 38 | */ |
||
| 39 | public function getMerchantAuthentication(): ?MerchantAuthentication |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | protected function attachData(RequestInterface $request): void |
||
| 55 |