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
SubscriptionComplete.php
32 lines
| 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 |