CreateWeekly Method (String, String, Decimal, Int16)

AuthorizeNet .NET

Collapse imageExpand ImageCopy imageCopyHover image
Creates a weekly subscription that bills every 7 days.

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

Syntax

C#
public static SubscriptionRequest CreateWeekly(
	string email,
	string subscriptionName,
	decimal amount,
	short numberOfBillings
)
Visual Basic
Public Shared Function CreateWeekly ( _
	email As String, _
	subscriptionName As String, _
	amount As Decimal, _
	numberOfBillings As Short _
) As SubscriptionRequest
Visual C++
public:
static SubscriptionRequest^ CreateWeekly(
	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. If you want this subscription to last for a month, this should be set to 4

Return Value

See Also