Class CreateModalModel
Inheritance
CreateModalModel
Assembly: Volo.Payment.Admin.Web.dll
Syntax
public class CreateModalModel : PaymentPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
CreateModalModel(IPlanAdminAppService, IGatewayAppService, IOptions<PaymentWebOptions>)
Declaration
public CreateModalModel(IPlanAdminAppService planAdminAppService, IGatewayAppService gatewayAppService, IOptions<PaymentWebOptions> paymentWebOptions)
Parameters
Properties
GatewayAppService
Declaration
protected IGatewayAppService GatewayAppService { get; }
Property Value
PlanAdminAppService
Declaration
protected IPlanAdminAppService PlanAdminAppService { get; }
Property Value
PlanId
Declaration
[HiddenInput]
[BindProperty(SupportsGet = true)]
public Guid PlanId { get; set; }
Property Value
SelectableGateways
Declaration
public List<SelectListItem> SelectableGateways { get; protected set; }
Property Value
ViewModel
Declaration
[BindProperty]
public CreateModalModel.GatewayPlanCreateViewModel ViewModel { get; set; }
Property Value
Methods
OnGetAsync()
Declaration
public virtual Task OnGetAsync()
Returns
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
Implements
Extension Methods