Class SerializablePayment
This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.
This class represents a payment in the new cart system. It works with the new database model for cart.
Inherited Members
Namespace: EPiServer.Commerce.Order.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2Syntax
public class SerializablePayment : IPayment, IExtendedProperties
Constructors
SerializablePayment()
Creates an instance of SerializablePayment.
Declaration
public SerializablePayment()
SerializablePayment(SerializableOrderAddress)
Creates an instance of SerializablePayment. This constructor is required for the JSON deserializer to be able to identify concrete classes to use when deserializing the interface properties.
Declaration
public SerializablePayment(SerializableOrderAddress billingAddress)
Parameters
Type | Name | Description |
---|---|---|
SerializableOrderAddress | billingAddress | The billing address. |
Properties
Amount
Gets or sets the amount.
Declaration
public decimal Amount { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |
AuthorizationCode
Gets or sets the authorization code.
Declaration
public string AuthorizationCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
BillingAddress
Gets or sets the billing address.
Declaration
public IOrderAddress BillingAddress { get; set; }
Property Value
Type | Description |
---|---|
IOrderAddress |
CustomerName
Gets or sets the name of the customer.
Declaration
public string CustomerName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ImplementationClass
Gets or sets the implementation class.
Declaration
public string ImplementationClass { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PaymentId
Gets the payment identifier.
Declaration
public int PaymentId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
PaymentMethodId
Gets or sets the payment method identifier.
Declaration
public Guid PaymentMethodId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
PaymentMethodName
Gets or sets the name of the payment method.
Declaration
public string PaymentMethodName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PaymentType
Gets or sets the type of the payment.
Declaration
public PaymentType PaymentType { get; set; }
Property Value
Type | Description |
---|---|
PaymentType |
Properties
Gets or sets the property bag for dealing with custom meta fields.
Declaration
public Hashtable Properties { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Hashtable |
ProviderTransactionID
Gets or sets the provider transaction identifier.
Declaration
public string ProviderTransactionID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Status
Gets or sets the status.
Declaration
public string Status { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TransactionID
Gets or sets the transaction identifier.
Declaration
public string TransactionID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TransactionType
Gets or sets the type of the transaction.
Declaration
public string TransactionType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValidationCode
Gets or sets the validation code.
Declaration
public string ValidationCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |