\Ezypay\ObjectSubscription

Class Subscription

Subscription file

Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$subscriptionId
$customerId
$planId
$subscriptionName
$status
$subscriptionStartDate
$subscriptionEndDate
$nextBillingDate
$nextBillingAmount
$totalUpToDatePaymentCollection
$totalUpToDateBillingCycles
$remainingPaymentCollection
$remainingBillingCycles
$paymentMethodId
$schedules
$createdOn
N/A

Properties

$subscriptionId

$subscriptionId : 

Type

— string The ID of the subscription.

$customerId

$customerId : 

Type

— string The ID of the customer.

$planId

$planId : 

Type

— string The ID of the plan.

$subscriptionName

$subscriptionName : 

Type

— string Subscription's name.

$status

$status : 

Type

— string Subscription's status.

$subscriptionStartDate

$subscriptionStartDate : 

Type

— string Subscription's start date.

$subscriptionEndDate

$subscriptionEndDate : 

Type

— string Subscription's end date.

$nextBillingDate

$nextBillingDate : 

Type

— string Subscription's next billing date.

$nextBillingAmount

$nextBillingAmount : 

Type

— number Subscription's next amount.

$totalUpToDatePaymentCollection

$totalUpToDatePaymentCollection : 

Type

— number Subscription's total up to date collection.

$totalUpToDateBillingCycles

$totalUpToDateBillingCycles : 

Type

— integer Subscription's total up date billing cycles.

$remainingPaymentCollection

$remainingPaymentCollection : 

Type

— number Subscription's remaining collection.

$remainingBillingCycles

$remainingBillingCycles : 

Type

— integer Subscription's remaining billing cycles.

$paymentMethodId

$paymentMethodId : 

Type

— string Subscription's payment method Id.

$schedules

$schedules : 

Type

— array [SubscriptionScheduleResult]Subscription's list of schedules.

$createdOn

$createdOn : 

Type

— string Date record is created.

Methods

__construct()

__construct(  $data) 

Subscription constructor.

Parameters

$data

array parameters key=>value