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