| 1 | <?php |
||
| 18 | class Vipps implements VippsInterface |
||
| 19 | { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var \zaporylie\Vipps\ClientInterface |
||
| 23 | */ |
||
| 24 | protected $client; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Vipps constructor. |
||
| 28 | * |
||
| 29 | * @param \zaporylie\Vipps\ClientInterface $client |
||
| 30 | */ |
||
| 31 | public function __construct(ClientInterface $client) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function getClient() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param string $subscription_key |
||
| 46 | * @param string $merchant_serial_number |
||
| 47 | * @param string $custom_path |
||
| 48 | * |
||
| 49 | * @return \zaporylie\Vipps\Api\Payment |
||
| 50 | */ |
||
| 51 | public function payment($subscription_key, $merchant_serial_number, $custom_path = 'ecomm') |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @param string $subscription_key |
||
| 58 | * |
||
| 59 | * @return \zaporylie\Vipps\Api\Authorization |
||
| 60 | */ |
||
| 61 | public function authorization($subscription_key) |
||
| 65 | } |
||
| 66 |