| 1 | <?php |
||
| 10 | class ViewPaymentRequest implements RequestInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $paymentId; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * ViewChargeRequest constructor. |
||
| 19 | */ |
||
| 20 | 3 | public function __construct($paymentId) |
|
| 24 | |||
| 25 | |||
| 26 | /** |
||
| 27 | * Get the Guzzle uri |
||
| 28 | * |
||
| 29 | * @return string The Guzzle uri |
||
| 30 | */ |
||
| 31 | 1 | public function getEndpoint() |
|
| 35 | |||
| 36 | /** |
||
| 37 | * Get the request type |
||
| 38 | * |
||
| 39 | * @return string The request type |
||
| 40 | */ |
||
| 41 | 1 | public function getRequestMethod() |
|
| 45 | |||
| 46 | /** |
||
| 47 | * Get the actual request data |
||
| 48 | * |
||
| 49 | * @return array[] The payload |
||
| 50 | */ |
||
| 51 | 1 | public function getPayload() |
|
| 55 | } |
||
| 56 |