London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class PaymentMethod

This is a wrapper class for the PaymentMethodDto.

Inheritance
System.Object
PaymentMethod
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public class PaymentMethod

Constructors

PaymentMethod(PaymentMethodDto.PaymentMethodRow)

The constructor. Please note that this is the default: since this is a wrapper class, the only way to instantiate it is to provide a PaymentMethodDto as an input.

Declaration
public PaymentMethod(PaymentMethodDto.PaymentMethodRow paymentMethodRow)
Parameters
Type Name Description
PaymentMethodDto.PaymentMethodRow paymentMethodRow

Properties

ClassName

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

Description

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

IsActive

Declaration
public bool IsActive { get; set; }
Property Value
Type Description
System.Boolean

IsDefault

Declaration
public bool IsDefault { get; set; }
Property Value
Type Description
System.Boolean

LanguageId

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

MarketId

Declaration
public List<MarketId> MarketId { get; set; }
Property Value
Type Description
System.Collections.Generic.List<MarketId>

Name

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

Ordering

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

PaymentImplementationClassName

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

PaymentMethodId

Declaration
public Guid PaymentMethodId { get; }
Property Value
Type Description
System.Guid

PaymentMethodParameter

Declaration
public List<PaymentMethodParameter> PaymentMethodParameter { get; set; }
Property Value
Type Description
System.Collections.Generic.List<PaymentMethodParameter>

ShippingPaymentRestriction

Declaration
public List<ShippingPaymentRestriction> ShippingPaymentRestriction { get; set; }
Property Value
Type Description
System.Collections.Generic.List<ShippingPaymentRestriction>

SupportsRecurring

Declaration
public bool SupportsRecurring { get; set; }
Property Value
Type Description
System.Boolean

SystemKeyword

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

Methods

SaveChanges()

Save the changes back into the database.

Declaration
public void SaveChanges()