Subscription Class |
Namespace: NetQuarry.Services.Payment
The Subscription type exposes the following members.
Name | Description | |
---|---|---|
![]() | Subscription | Initializes a new instance of the Subscription class |
Name | Description | |
---|---|---|
![]() | balance |
The current unpaid balance.
|
![]() | billing_period_end_date |
The start end of the billing period.
|
![]() | billing_period_start_date |
The start date of the billing period.
|
![]() | created_at |
The date/time that the subscription was created.
|
![]() | current_billing_cycle |
The current billing cycle.
|
![]() | days_past_due |
The number of days the oldest overdue payment is past due.
|
![]() | failure_count |
The number of attempted payments that have failed.
|
![]() | first_billing_date |
The first billing date of the subscription.
|
![]() | has_trial_period |
True if this should have a trial period
|
![]() | id |
The subscription ID.
|
![]() | never_expires |
Specifies that the subscription has no expiration.
|
![]() | next_bill_amount |
The next bill amount.
|
![]() | next_billing_date |
The next billing date.
|
![]() | next_billing_period_amount |
The total amount of the next billing period.
|
![]() | number_of_billing_cycles |
The number of billing cycles in this subscription.
|
![]() | paid_through_date |
The date through which all payments are current.
|
![]() | payment_method_token |
The payment token to use for the subscription.
|
![]() | plan_id |
The Braintree plan id. Must be created in braintree first.
|
![]() | price |
The per-period cost
|
![]() | status |
The status of the current subscription.
|
![]() | transaction |
The first transaction
|
![]() | trial_duration_days |
The number of trial days
|
![]() | updated_at |
The date/time that the subscription was last updated.
|
Name | Description | |
---|---|---|
![]() | Clone |
Typesafe Clone
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |