GatewayCommand.php
4 years ago
PaymentAbandoned.php
4 years ago
PaymentCommand.php
3 years ago
PaymentComplete.php
4 years ago
PaymentProcessing.php
4 years ago
PaymentRefunded.php
4 years ago
RedirectOffsite.php
4 years ago
RespondToBrowser.php
4 years ago
SubscriptionComplete.php
3 years ago
SubscriptionProcessing.php
3 years ago
SubscriptionProcessing.php
34 lines
| 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 |