Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class PaymentMethod

This is a wrapper class for the PaymentMethodDto.

Inheritance
System.Object
PaymentMethod
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class PaymentMethod : Object

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()