SubscriptionRequest Methods
From AuthorizeNet .NET
| A .NET Library aimed at helping you get up to speed quickly with Authorize.NET |
| SubscriptionRequest Methods |
| SubscriptionRequest Class See Also Send Feedback |
The SubscriptionRequest type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CreateAnnual(String, String, Decimal) | ||
| CreateAnnual(String, String, Decimal, Int16) |
Creates an annual subscription.
| |
| CreateMonthly(String, String, Decimal) | ||
| CreateMonthly(String, String, Decimal, Int16) |
Creates a monthly subscription request.
| |
| CreateWeekly(String, String, Decimal) |
Creates a weekly subscription that bills every 7 days.
| |
| CreateWeekly(String, String, Decimal, Int16) |
Creates a weekly subscription that bills every 7 days.
| |
| Equals | (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.) | |
| SetTrialPeriod |
Sets a trial period for the subscription. This is part of the overall subscription plan.
| |
| ToAPI |
This is mostly for internal processing needs - it takes the SubscriptionRequest and turns it into something the Gateway can serialize.
| |
| ToString | (Inherited from Object.) | |
| ToUpdateableAPI |
The Update function won't accept a change to some values - specifically the billing interval. This creates a request
that the API can understand for updates only
| |
| UsingCreditCard |
Adds a credit card payment to the subscription. This is required.
| |
| WithBillingAddress |
Adds a full billing address - which is required for a credit card.
| |
| WithShippingAddress |
Adds a shipping address to the request.
|