Class PostPaymentModel
Inherited Members
Namespace: Volo.Payment.TwoCheckout.Pages.Payment.TwoCheckout
Assembly: Volo.Payment.TwoCheckout.Web.dll
Syntax
public class PostPaymentModel : PageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
PostPaymentModel(IPaymentRequestAppService, IOptions<PaymentWebOptions>)
Declaration
public PostPaymentModel(IPaymentRequestAppService paymentRequestAppService, IOptions<PaymentWebOptions> paymentWebOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| IPaymentRequestAppService | paymentRequestAppService | |
| IOptions<PaymentWebOptions> | paymentWebOptions |
Properties
Logger
Declaration
public ILogger<PostPaymentModel> Logger { get; set; }
Property Value
| Type | Description |
|---|---|
| ILogger<PostPaymentModel> |
PaymentRequestAppService
Declaration
protected IPaymentRequestAppService PaymentRequestAppService { get; }
Property Value
| Type | Description |
|---|---|
| IPaymentRequestAppService |
Methods
OnGetAsync()
Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
| Type | Description |
|---|---|
| Task<IActionResult> |
OnPost()
Declaration
public virtual IActionResult OnPost()
Returns
| Type | Description |
|---|---|
| IActionResult |