Property | Type | Description | |
---|---|---|---|
ReadPlanXml | void | ||
ReadPreviewXml | void | ||
ReadXml | void | ||
Subscription | System | ||
Subscription | System | ||
WriteSubscriptionNotesXml | Client.WriteXmlDelegate | ||
WriteXml | void |
Method | Description | |
---|---|---|
Cancel ( ) : void |
Cancel an active subscription. The subscription will not renew, but will continue to be active through the remainder of the current term.
|
|
ChangeSubscription ( ) : void | ||
ChangeSubscription ( ChangeTimeframe timeframe ) : void |
Request that an update to a subscription take place
|
|
Create ( ) : void |
Creates a new subscription on Recurly
|
|
Equals ( |
||
Equals ( object obj ) : bool | ||
GetHashCode ( ) : int | ||
GetRedemptions ( ) : RecurlyList |
||
Postpone ( System.DateTime nextRenewalDate, bool bulk = false ) : void |
For an active subscription, this will pause the subscription until the specified date.
|
|
Preview ( ) : void | ||
Preview ( ChangeTimeframe timeframe ) : void |
Transforms this object into a preview Subscription applied to the account.
|
|
PreviewChange ( ) : |
||
PreviewChange ( ChangeTimeframe timeframe ) : |
Preview the changes associated with the current subscription
|
|
Reactivate ( ) : void |
Reactivate a canceled subscription. The subscription will renew at the end of its current term.
|
|
Subscription ( Account account, Plan plan, string currency ) : System |
Creates a new subscription object
|
|
Subscription ( Account account, Plan plan, string currency, string couponCode ) : System |
Creates a new subscription object, with coupon
|
|
Terminate ( RefundType refund ) : void |
Terminates the subscription immediately.
|
|
ToString ( ) : string | ||
UpdateNotes ( string>.Dictionary |
Method | Description | |
---|---|---|
ReadPendingSubscription ( |
||
WriteChangeSubscriptionAtRenewalXml ( XmlTextWriter xmlWriter ) : void | ||
WriteChangeSubscriptionNowXml ( XmlTextWriter xmlWriter ) : void | ||
WriteChangeSubscriptionXml ( XmlTextWriter xmlWriter, ChangeTimeframe timeframe ) : void | ||
WriteSubscriptionXml ( XmlTextWriter xmlWriter ) : void |
Method | Description | |
---|---|---|
ReadPlanXml ( |
||
ReadPreviewXml ( |
||
ReadXml ( |
||
Subscription ( ) : System | ||
Subscription ( XmlTextReader reader ) : System | ||
WriteSubscriptionNotesXml ( string>.Dictionary |
||
WriteXml ( XmlTextWriter writer ) : void |
public ChangeSubscription ( ChangeTimeframe timeframe ) : void | ||
timeframe | ChangeTimeframe | when the update should occur: now (default) or at renewal |
return | void |
public Equals ( |
||
subscription | ||
return | bool |
public Postpone ( System.DateTime nextRenewalDate, bool bulk = false ) : void | ||
nextRenewalDate | System.DateTime | The specified time the subscription will be postponed |
bulk | bool | bulk = false (default) or true to bypass the 60 second wait while postponing |
return | void |
public Preview ( ChangeTimeframe timeframe ) : void | ||
timeframe | ChangeTimeframe | ChangeTimeframe.Now (default) or at Renewal |
return | void |
public PreviewChange ( ChangeTimeframe timeframe ) : |
||
timeframe | ChangeTimeframe | ChangeTimeframe.Now (default) or at Renewal |
return |
protected ReadPendingSubscription ( |
||
reader | ||
return | void |
public Subscription ( Account account, Plan plan, string currency ) : System | ||
account | Account | |
plan | Plan | |
currency | string | |
return | System |
public Subscription ( Account account, Plan plan, string currency, string couponCode ) : System | ||
account | Account | |
plan | Plan | |
currency | string | |
couponCode | string | |
return | System |
public Terminate ( RefundType refund ) : void | ||
refund | RefundType | |
return | void |
public UpdateNotes ( string>.Dictionary |
||
notes | string>.Dictionary | |
return | bool |
protected WriteChangeSubscriptionAtRenewalXml ( XmlTextWriter xmlWriter ) : void | ||
xmlWriter | XmlTextWriter | |
return | void |
protected WriteChangeSubscriptionNowXml ( XmlTextWriter xmlWriter ) : void | ||
xmlWriter | XmlTextWriter | |
return | void |
protected WriteChangeSubscriptionXml ( XmlTextWriter xmlWriter, ChangeTimeframe timeframe ) : void | ||
xmlWriter | XmlTextWriter | |
timeframe | ChangeTimeframe | |
return | void |
protected WriteSubscriptionXml ( XmlTextWriter xmlWriter ) : void | ||
xmlWriter | XmlTextWriter | |
return | void |