Show / Hide Table of Contents

Class CreateModalModel

Inheritance
object
PaymentPageModel
CreateModalModel
Namespace: Volo.Payment.Admin.Web.Pages.Payment.Plans.GatewayPlans
Assembly: Volo.Payment.Admin.Web.dll
Syntax
public class CreateModalModel : PaymentPageModel

Constructors

CreateModalModel(IPlanAdminAppService, IGatewayAppService, IOptions<PaymentWebOptions>)

Declaration
public CreateModalModel(IPlanAdminAppService planAdminAppService, IGatewayAppService gatewayAppService, IOptions<PaymentWebOptions> paymentWebOptions)
Parameters
Type Name Description
IPlanAdminAppService planAdminAppService
IGatewayAppService gatewayAppService
IOptions<PaymentWebOptions> paymentWebOptions

Properties

GatewayAppService

Declaration
protected IGatewayAppService GatewayAppService { get; }
Property Value
Type Description
IGatewayAppService

PlanAdminAppService

Declaration
protected IPlanAdminAppService PlanAdminAppService { get; }
Property Value
Type Description
IPlanAdminAppService

PlanId

Declaration
[HiddenInput]
[BindProperty(SupportsGet = true)]
public Guid PlanId { get; set; }
Property Value
Type Description
Guid

SelectableGateways

Declaration
public List<SelectListItem> SelectableGateways { get; protected set; }
Property Value
Type Description
List<SelectListItem>

ViewModel

Declaration
[BindProperty]
public CreateModalModel.GatewayPlanCreateViewModel ViewModel { get; set; }
Property Value
Type Description
CreateModalModel.GatewayPlanCreateViewModel

Methods

OnGetAsync()

Declaration
public virtual Task OnGetAsync()
Returns
Type Description
Task

OnPostAsync()

Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
Type Description
Task<IActionResult>
In this article
Back to top Powered by Volosoft