Class GatewaySelectionModel
Inherited Members
Namespace: Volo.Payment.Pages.Payment
Assembly: Volo.Payment.Web.dll
Syntax
public class GatewaySelectionModel : PaymentPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
GatewaySelectionModel(IPaymentRequestAppService, IOptions<PaymentWebOptions>, IGatewayAppService)
Declaration
public GatewaySelectionModel(IPaymentRequestAppService paymentRequestAppService, IOptions<PaymentWebOptions> paymentWebOptions, IGatewayAppService gatewayAppService)
Parameters
| Type | Name | Description |
|---|---|---|
| IPaymentRequestAppService | paymentRequestAppService | |
| IOptions<PaymentWebOptions> | paymentWebOptions | |
| IGatewayAppService | gatewayAppService |
Properties
CheckoutButtonStyle
Declaration
public string CheckoutButtonStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Gateways
Declaration
public List<PaymentGatewayWebConfiguration> Gateways { get; set; }
Property Value
| Type | Description |
|---|---|
| List<PaymentGatewayWebConfiguration> |
PaymentRequestId
Declaration
[BindProperty]
public Guid PaymentRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
Methods
OnGet()
Declaration
public virtual ActionResult OnGet()
Returns
| Type | Description |
|---|---|
| ActionResult |
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
| Type | Description |
|---|---|
| Task<IActionResult> |