Class PlanController
Inherited Members
Namespace: Volo.Payment.Plans
Assembly: Volo.Payment.HttpApi.dll
Syntax
[RemoteService(true, Name = "AbpPaymentCommon")]
[Area("payment")]
[Route("api/payment/plans")]
public class PlanController : PaymentCommonController, IAvoidDuplicateCrossCuttingConcerns, IPlanAppService, IApplicationService, IRemoteService
Constructors
PlanController(IPlanAppService)
Declaration
public PlanController(IPlanAppService planAppService)
Parameters
| Type | Name | Description |
|---|---|---|
| IPlanAppService | planAppService |
Properties
PlanAppService
Declaration
protected IPlanAppService PlanAppService { get; }
Property Value
| Type | Description |
|---|---|
| IPlanAppService |
Methods
GetAsync(Guid)
Declaration
[HttpGet]
[Route("{planId}")]
public virtual Task<PlanDto> GetAsync(Guid planId)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | planId |
Returns
| Type | Description |
|---|---|
| Task<PlanDto> |
GetGatewayPlanAsync(Guid, string)
Declaration
[HttpGet]
[Route("{planId}/{gateway}")]
public virtual Task<GatewayPlanDto> GetGatewayPlanAsync(Guid planId, string gateway)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | planId | |
| string | gateway |
Returns
| Type | Description |
|---|---|
| Task<GatewayPlanDto> |
GetManyAsync(Guid[])
Declaration
[HttpGet]
[Route("many")]
public virtual Task<List<PlanDto>> GetManyAsync(Guid[] ids)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid[] | ids |
Returns
| Type | Description |
|---|---|
| Task<List<PlanDto>> |
GetPlanListAsync()
Declaration
[HttpGet]
public virtual Task<List<PlanDto>> GetPlanListAsync()
Returns
| Type | Description |
|---|---|
| Task<List<PlanDto>> |