Try our conversational search powered by Generative AI!

Interface IPaymentOption

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Represents a payment gateway provider.

Namespace: EPiServer.Commerce.Order
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
public interface IPaymentOption

Properties

Description

Gets the payment description.

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

Name

Gets the payment name.

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

PaymentMethodId

Gets the payment method id.

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

SystemKeyword

Gets the payment system keyword.

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

Methods

CreatePayment(Decimal, IOrderGroup)

Creates the payment.

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

The payment amount.

IOrderGroup orderGroup

The order group.

Returns
Type Description
IPayment

An IPayment

ValidateData()

Validates input data for the control.

Declaration
bool ValidateData()
Returns
Type Description
System.Boolean

Returns false if validation is failed.