CreateMonthly Method (String, String, Decimal, Int16)

AuthorizeNet .NET

Collapse imageExpand ImageCopy imageCopyHover image
Creates a monthly subscription request.

Namespace: AuthorizeNet
Assembly: AuthorizeNet (in AuthorizeNet.dll) Version: 0.0.0.0

Syntax

C#
public static SubscriptionRequest CreateMonthly(
	string email,
	string subscriptionName,
	decimal amount,
	short numberOfBillings
)
Visual Basic
Public Shared Function CreateMonthly ( _
	email As String, _
	subscriptionName As String, _
	amount As Decimal, _
	numberOfBillings As Short _
) As SubscriptionRequest
Visual C++
public:
static SubscriptionRequest^ CreateMonthly(
	String^ email, 
	String^ subscriptionName, 
	Decimal amount, 
	short numberOfBillings
)

Parameters

email
Type: System..::..String
The email.
subscriptionName
Type: System..::..String
Name of the subscription.
amount
Type: System..::..Decimal
The amount.
numberOfBillings
Type: System..::..Int16
The number of billings. So if you wanted to create a monthly subscription that lasts for a year - this would be 12

Return Value

See Also