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 BoltPaymentMethod

Bolt payment method

Inheritance
System.Object
BoltPaymentMethod
Implements
Namespace: EPiServer.Commerce.Bolt
Assembly: EPiServer.Commerce.Bolt.dll
Version: 14.26.0
Syntax
public class BoltPaymentMethod : Object, IPaymentMethod

Constructors

BoltPaymentMethod(IContentLanguageAccessor, ICurrentMarket)

Default contstructor

Declaration
public BoltPaymentMethod(IContentLanguageAccessor contentLanguageAccessor, ICurrentMarket currentMarket)
Parameters
Type Name Description
EPiServer.Core.IContentLanguageAccessor contentLanguageAccessor

The content lanaguage accesor

ICurrentMarket currentMarket

The current market

Properties

Description

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

Name

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

PaymentMethodId

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

SystemKeyword

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

Methods

CreatePayment(Decimal, IOrderGroup)

Declaration
public IPayment CreatePayment(Decimal amount, IOrderGroup orderGroup)
Parameters
Type Name Description
System.Decimal amount
IOrderGroup orderGroup
Returns
Type Description
IPayment

ValidateData()

Declaration
public bool ValidateData()
Returns
Type Description
System.Boolean

Implements