| 1 | <?php |
||
| 15 | class RefundPayment extends PaymentResourceBase |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var \zaporylie\Vipps\Resource\HttpMethod |
||
| 20 | */ |
||
| 21 | protected $method = HttpMethod::POST; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | protected $path = '/ecomm/v2/payments/{id}/refund'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * InitiatePayment constructor. |
||
| 30 | * |
||
| 31 | * @param \zaporylie\Vipps\VippsInterface $vipps |
||
| 32 | * @param string $subscription_key |
||
| 33 | * @param string $order_id |
||
| 34 | * @param \zaporylie\Vipps\Model\Payment\RequestRefundPayment $requestObject |
||
| 35 | */ |
||
| 36 | public function __construct( |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return \zaporylie\Vipps\Model\Payment\ResponseRefundPayment |
||
| 54 | */ |
||
| 55 | public function call() |
||
| 70 | } |
||
| 71 |