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 PaymentExtensions

Inheritance
System.Object
PaymentExtensions
Namespace: EPiServer.Commerce.UI.CustomerService.Extensions
Assembly: EPiServer.Commerce.UI.CustomerService.dll
Version: 14.26.0
Syntax
public static class PaymentExtensions : Object

Methods

CreatePayment(PaymentModel, IPaymentMethod, IOrderGroup)

Declaration
public static IPayment CreatePayment(this PaymentModel model, IPaymentMethod paymentMethod, IOrderGroup orderGroup)
Parameters
Type Name Description
PaymentModel model
IPaymentMethod paymentMethod
IOrderGroup orderGroup
Returns
Type Description
IPayment

GetPaymentMetaClass(IPayment)

Declaration
public static MetaClass GetPaymentMetaClass(this IPayment payment)
Parameters
Type Name Description
IPayment payment
Returns
Type Description
MetaClass