| 1 |
<?php |
| 2 |
|
| 3 |
namespace Give\Framework\PaymentGateways\Commands; |
| 4 |
|
| 5 |
/*** |
| 6 |
* @since 2.18.0 |
| 7 |
*/ |
| 8 |
class SubscriptionComplete implements GatewayCommand |
| 9 |
{ |
| 10 |
/** |
| 11 |
* The Gateway Transaction / Charge Record ID |
| 12 |
* |
| 13 |
* @var string |
| 14 |
*/ |
| 15 |
public $gatewayTransactionId; |
| 16 |
/** |
| 17 |
* The Gateway Subscription Record ID |
| 18 |
* |
| 19 |
* @var string |
| 20 |
*/ |
| 21 |
public $gatewaySubscriptionId; |
| 22 |
|
| 23 |
/** |
| 24 |
* @since 2.18.0 |
| 25 |
*/ |
| 26 |
public function __construct(string $gatewayTransactionId, string $gatewaySubscriptionId) |
| 27 |
{ |
| 28 |
$this->gatewayTransactionId = $gatewayTransactionId; |
| 29 |
$this->gatewaySubscriptionId = $gatewaySubscriptionId; |
| 30 |
} |
| 31 |
} |
| 32 |
|