Show / Hide Table of Contents

Class PlanController

Inheritance
object
PaymentCommonController
PlanController
Implements
IPlanAppService
IApplicationService
IRemoteService
Namespace: Volo.Payment.Plans
Assembly: Volo.Payment.HttpApi.dll
Syntax
[Area("payment")]
[Route("api/payment/plans")]
public class PlanController : PaymentCommonController, 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>>

Implements

IPlanAppService
Volo.Abp.Application.Services.IApplicationService
Volo.Abp.IRemoteService
In this article
Back to top Powered by Volosoft