# give/4.16.9/src/Framework/PaymentGateways/Commands/SubscriptionComplete.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.9. 32 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/Framework/PaymentGateways/Commands/SubscriptionComplete.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/Framework/PaymentGateways/Commands/SubscriptionComplete.php
- Modified: 2022-11-17T22:53:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.9/code/src/Framework/PaymentGateways/Commands/SubscriptionComplete.php#L10-L20`.

```php
<?php

namespace Give\Framework\PaymentGateways\Commands;

/***
 * @since 2.18.0
 */
class SubscriptionComplete implements GatewayCommand
{
    /**
     * The Gateway Transaction / Charge Record ID
     *
     * @var string
     */
    public $gatewayTransactionId;
    /**
     * The Gateway Subscription Record ID
     *
     * @var string
     */
    public $gatewaySubscriptionId;

    /**
     * @since 2.18.0
     */
    public function __construct(string $gatewayTransactionId, string $gatewaySubscriptionId)
    {
        $this->gatewayTransactionId = $gatewayTransactionId;
        $this->gatewaySubscriptionId = $gatewaySubscriptionId;
    }
}

```
