C# Class OxxCommerceStarterKit.Web.Business.Payment.PaymentRegistry

Mostra file Open project: episerver/Commerce-Demo-Kit

Public Methods

Method Description
GetPaymentContentPageByMethodId ( System.Guid paymentMethodId ) : BasePaymentPage
GetPaymentContentPageByMethodId ( string paymentMethodId ) : BasePaymentPage
GetPaymentContentPages ( ) : IEnumerable
GetPaymentMethodPageUrl ( string paymentMethodId ) : string

Gets the url to the page handling a specific payment. It is this page's responsibility to either show the payment controls inline, or redirect to an external page to handle the payment details

PaymentMethodRequiresSocialSecurityNumber ( PaymentSelection paymentSelection ) : bool
PaymentRegistry ( IContentRepository contentRepository, UrlResolver urlResolver ) : System

Method Details

GetPaymentContentPageByMethodId() public method

public GetPaymentContentPageByMethodId ( System.Guid paymentMethodId ) : BasePaymentPage
paymentMethodId System.Guid
return OxxCommerceStarterKit.Web.Models.PageTypes.Payment.BasePaymentPage

GetPaymentContentPageByMethodId() public method

public GetPaymentContentPageByMethodId ( string paymentMethodId ) : BasePaymentPage
paymentMethodId string
return OxxCommerceStarterKit.Web.Models.PageTypes.Payment.BasePaymentPage

GetPaymentContentPages() public method

public GetPaymentContentPages ( ) : IEnumerable
return IEnumerable

GetPaymentMethodPageUrl() public method

Gets the url to the page handling a specific payment. It is this page's responsibility to either show the payment controls inline, or redirect to an external page to handle the payment details
methodId
public GetPaymentMethodPageUrl ( string paymentMethodId ) : string
paymentMethodId string The payment method identifier.
return string

PaymentMethodRequiresSocialSecurityNumber() public method

public PaymentMethodRequiresSocialSecurityNumber ( PaymentSelection paymentSelection ) : bool
paymentSelection PaymentSelection
return bool

PaymentRegistry() public method

public PaymentRegistry ( IContentRepository contentRepository, UrlResolver urlResolver ) : System
contentRepository IContentRepository
urlResolver UrlResolver
return System