Server IP : 192.158.238.246 / Your IP : 3.144.147.211 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/7779/task/7779/cwd/plugins/give/src/Framework/PaymentGateways/Commands/ |
Upload File : |
<?php namespace Give\Framework\PaymentGateways\Commands; use Give\Donations\Models\Donation; use Give\Subscriptions\Models\Subscription; /** * @since 2.33.0 */ class SubscriptionSynced implements GatewayCommand { /** * @since 2.33.0 * * @var Subscription */ public $subscription; /** * @since 2.33.0 * * @var array */ public $missingDonations; /** * @since 2.33.0 * * @var array */ public $presentDonations; /** * @since 2.33.0 * * @var string */ public $notice; /** * @since 2.33.0 * * @param Subscription $subscription Do not save the subscription, just return it so the API can see what's dirty * @param Donation[] $missingDonations The missing donations added to the subscription * @param Donation[] $presentDonations Optional. The already present donations of the subscription * @param string $notice Optional. Use to notify users about some limitation or specificity of the gateway */ public function __construct( Subscription $subscription, array $missingDonations, array $presentDonations = [], string $notice = '' ) { $this->subscription = $subscription; $this->missingDonations = $missingDonations; $this->presentDonations = $presentDonations; $this->notice = $notice; } }