PaymentGatewayLibrary

AuthorizeNetRequest.ExpiryDate Property

Gets or sets the date on which the credit card expires.

[Visual Basic]
Public Property ExpiryDate As String
[C#]
public string ExpiryDate {get; set;}

Remarks

The format is MMYY, MM/YY, MM-YY, MMYYYY, MM/YYYY, MM-YYYY, YYYY-MM-DD or YYYY/MM/DD. This value is required for all credit card transactions (Method is CC).

Exceptions

Exception TypeCondition
ArgumentExceptionThe exception thrown when the expiry date format is not valid and ValidateFormat is enabled.

See Also

AuthorizeNetRequest Class | Duis.Payment Namespace