| 1 | <?php |
||
| 8 | class PaymentRequest extends AbstractPayment implements PaymentRequestInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Class constructor |
||
| 12 | * |
||
| 13 | * @param int $amount Total amount expressed in cents |
||
| 14 | * @param string $currency 3 character currency code |
||
| 15 | * @param string $transactionCode Unique payment identifier code |
||
| 16 | * @param string $completeUrl Redirect url for when the payment is completed |
||
| 17 | * @param string $cancelUrl Redirect url for when the payment is canceled |
||
| 18 | */ |
||
| 19 | public function __construct($amount, $currency, $transactionCode, $completeUrl, $cancelUrl) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | protected function getRequiredParams() |
||
| 43 | } |