Try our conversational search powered by Generative AI!

Interface ICreditCardPayment

Represents Credit Card type of payment.

Namespace: EPiServer.Commerce.Order
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
public interface ICreditCardPayment : IPayment, IExtendedProperties

Properties

CardType

Gets or sets the type of the card. Types typically are VISA, MasterCard, AMEX.

Declaration
string CardType { get; set; }
Property Value
Type Description
System.String

CreditCardNumber

Gets or sets the credit card number. The field is not encrypted by default. Encryption should be handled by the layer calling the property.

Declaration
string CreditCardNumber { get; set; }
Property Value
Type Description
System.String
Remarks

It is NOT recommended to store this data, even encrypted. Storing credit card number is a security risk and is not compliant with PCI standards. More information can be found at https://www.pcisecuritystandards.org/

CreditCardSecurityCode

Gets or sets the credit card security code.

Declaration
string CreditCardSecurityCode { get; set; }
Property Value
Type Description
System.String

ExpirationMonth

Gets or sets the expiration month. Goes from 1 to 12.

Declaration
int ExpirationMonth { get; set; }
Property Value
Type Description
System.Int32

ExpirationYear

Gets or sets the expiration year.

Declaration
int ExpirationYear { get; set; }
Property Value
Type Description
System.Int32

PaymentType

Gets the type of the payment.

Declaration
PaymentType PaymentType { get; }
Property Value
Type Description
PaymentType

The type of the payment.

ProviderPaymentId

Gets or sets the provider payment identifier.

Declaration
string ProviderPaymentId { get; set; }
Property Value
Type Description
System.String

Extension Methods

See Also