Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (42 sloc) 931 Bytes
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\commerce\models\subscriptions;
use craft\base\Model;
use craft\commerce\models\Currency;
/**
* Class SubscriptionPayment
*
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 2.0
*/
class SubscriptionPayment extends Model
{
/**
* @var float payment amount
*/
public $paymentAmount;
/**
* @var Currency payment currency
*/
public $paymentCurrency;
/**
* @var \DateTime time of payment in UTC
*/
public $paymentDate;
/**
* @var string the payment reference on gateway
*/
public $paymentReference;
/**
* @var bool whether payment has been collected
*/
public $paid = false;
/**
* @var string the gateway response text
*/
public $response;
}
You can’t perform that action at this time.