Class UpdateModalModel
Inheritance
UpdateModalModel
Assembly: Volo.Payment.Admin.Web.dll
Syntax
public class UpdateModalModel : PaymentPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
UpdateModalModel(IPlanAdminAppService, IPlanAppService, IGatewayAppService, IOptions<PaymentWebOptions>)
Declaration
public UpdateModalModel(IPlanAdminAppService planAdminAppService, IPlanAppService planAppService, IGatewayAppService gatewayAppService, IOptions<PaymentWebOptions> paymentWebOptions)
Parameters
Properties
Gateway
Declaration
[HiddenInput]
[BindProperty(SupportsGet = true)]
public string Gateway { get; set; }
Property Value
GatewayAppService
Declaration
protected IGatewayAppService GatewayAppService { get; }
Property Value
PlanAdminAppService
Declaration
protected IPlanAdminAppService PlanAdminAppService { get; }
Property Value
PlanAppService
Declaration
protected IPlanAppService PlanAppService { 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 UpdateModalModel.GatewayPlansUpdateViewModel ViewModel { get; set; }
Property Value
Methods
OnGetAsync()
Declaration
public virtual Task OnGetAsync()
Returns
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
Implements
Extension Methods