Show / Hide Table of Contents

Class UpdateModalModel

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

Constructors

UpdateModalModel(IPlanAdminAppService, IPlanAppService, IGatewayAppService, IOptions<PaymentWebOptions>)

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

Properties

Gateway

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

GatewayAppService

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

PlanAdminAppService

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

PlanAppService

Declaration
protected IPlanAppService PlanAppService { get; }
Property Value
Type Description
IPlanAppService

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 UpdateModalModel.GatewayPlansUpdateViewModel ViewModel { get; set; }
Property Value
Type Description
UpdateModalModel.GatewayPlansUpdateViewModel

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