AddCreditCard Method (String, String, Int32, Int32, String, Address)

AuthorizeNet .NET

Collapse imageExpand ImageCopy imageCopyHover image
Adds a credit card profile to the user and returns the profile ID

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

Syntax

C#
public string AddCreditCard(
	string profileID,
	string cardNumber,
	int expirationMonth,
	int expirationYear,
	string cardCode,
	Address billToAddress
)
Visual Basic
Public Function AddCreditCard ( _
	profileID As String, _
	cardNumber As String, _
	expirationMonth As Integer, _
	expirationYear As Integer, _
	cardCode As String, _
	billToAddress As Address _
) As String
Visual C++
public:
virtual String^ AddCreditCard(
	String^ profileID, 
	String^ cardNumber, 
	int expirationMonth, 
	int expirationYear, 
	String^ cardCode, 
	Address^ billToAddress
) sealed

Parameters

profileID
Type: System..::..String
cardNumber
Type: System..::..String
expirationMonth
Type: System..::..Int32
expirationYear
Type: System..::..Int32
cardCode
Type: System..::..String
billToAddress
Type: AuthorizeNet..::..Address

Return Value

Implements

ICustomerGateway..::..AddCreditCard(String, String, Int32, Int32, String, Address)

See Also