Show / Hide Table of Contents

Class PlanAdminAppService

Inheritance
object
ApplicationService
PaymentAdminAppServiceBase
PlanAdminAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IPlanAdminAppService
ICrudAppService<PlanDto, Guid, PlanGetListInput, PlanCreateInput, PlanUpdateInput>
ICrudAppService<PlanDto, PlanDto, Guid, PlanGetListInput, PlanCreateInput, PlanUpdateInput>
IReadOnlyAppService<PlanDto, PlanDto, Guid, PlanGetListInput>
ICreateUpdateAppService<PlanDto, Guid, PlanCreateInput, PlanUpdateInput>
ICreateAppService<PlanDto, PlanCreateInput>
IUpdateAppService<PlanDto, Guid, PlanUpdateInput>
IDeleteAppService<Guid>
IApplicationService
IRemoteService
Inherited Members
ApplicationService.CheckPolicyAsync(string)
ApplicationService.CreateLocalizer()
ApplicationService.LazyServiceProvider
ApplicationService.ServiceProvider
ApplicationService.CommonPostfixes
ApplicationService.AppliedCrossCuttingConcerns
ApplicationService.UnitOfWorkManager
ApplicationService.AsyncExecuter
ApplicationService.ObjectMapperContext
ApplicationService.ObjectMapper
ApplicationService.GuidGenerator
ApplicationService.LoggerFactory
ApplicationService.CurrentTenant
ApplicationService.DataFilter
ApplicationService.CurrentUser
ApplicationService.SettingProvider
ApplicationService.Clock
ApplicationService.AuthorizationService
ApplicationService.FeatureChecker
ApplicationService.StringLocalizerFactory
ApplicationService.L
ApplicationService.LocalizationResource
ApplicationService.CurrentUnitOfWork
ApplicationService.Logger
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Payment.Admin.Plans
Assembly: Volo.Payment.Admin.Application.dll
Syntax
[Authorize("Payment.Plans")]
public class PlanAdminAppService : PaymentAdminAppServiceBase, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, IPlanAdminAppService, ICrudAppService<PlanDto, Guid, PlanGetListInput, PlanCreateInput, PlanUpdateInput>, ICrudAppService<PlanDto, PlanDto, Guid, PlanGetListInput, PlanCreateInput, PlanUpdateInput>, IReadOnlyAppService<PlanDto, PlanDto, Guid, PlanGetListInput>, ICreateUpdateAppService<PlanDto, Guid, PlanCreateInput, PlanUpdateInput>, ICreateAppService<PlanDto, PlanCreateInput>, IUpdateAppService<PlanDto, Guid, PlanUpdateInput>, IDeleteAppService<Guid>, IApplicationService, IRemoteService

Constructors

PlanAdminAppService(IPlanRepository)

Declaration
public PlanAdminAppService(IPlanRepository planRepository)
Parameters
Type Name Description
IPlanRepository planRepository

Properties

PlanRepository

Declaration
protected IPlanRepository PlanRepository { get; }
Property Value
Type Description
IPlanRepository

Methods

CreateAsync(PlanCreateInput)

Declaration
[Authorize("Payment.Plans.Create")]
public virtual Task<PlanDto> CreateAsync(PlanCreateInput input)
Parameters
Type Name Description
PlanCreateInput input
Returns
Type Description
Task<PlanDto>

CreateGatewayPlanAsync(Guid, GatewayPlanCreateInput)

Declaration
[Authorize("Payment.Plans.GatewayPlans.Create")]
public virtual Task CreateGatewayPlanAsync(Guid planId, GatewayPlanCreateInput input)
Parameters
Type Name Description
Guid planId
GatewayPlanCreateInput input
Returns
Type Description
Task

DeleteAsync(Guid)

Declaration
[Authorize("Payment.Plans.Delete")]
public virtual Task DeleteAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

DeleteGatewayPlanAsync(Guid, string)

Declaration
[Authorize("Payment.Plans.GatewayPlans.Delete")]
public virtual Task DeleteGatewayPlanAsync(Guid planId, string gateway)
Parameters
Type Name Description
Guid planId
string gateway
Returns
Type Description
Task

GetAsync(Guid)

Declaration
public virtual Task<PlanDto> GetAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<PlanDto>

GetGatewayPlansAsync(Guid, GatewayPlanGetListInput)

Declaration
[Authorize("Payment.Plans.GatewayPlans")]
public virtual Task<PagedResultDto<GatewayPlanDto>> GetGatewayPlansAsync(Guid planId, GatewayPlanGetListInput input)
Parameters
Type Name Description
Guid planId
GatewayPlanGetListInput input
Returns
Type Description
Task<PagedResultDto<GatewayPlanDto>>

GetListAsync(PlanGetListInput)

Declaration
public virtual Task<PagedResultDto<PlanDto>> GetListAsync(PlanGetListInput input)
Parameters
Type Name Description
PlanGetListInput input
Returns
Type Description
Task<PagedResultDto<PlanDto>>

UpdateAsync(Guid, PlanUpdateInput)

Declaration
[Authorize("Payment.Plans.Update")]
public virtual Task<PlanDto> UpdateAsync(Guid id, PlanUpdateInput input)
Parameters
Type Name Description
Guid id
PlanUpdateInput input
Returns
Type Description
Task<PlanDto>

UpdateGatewayPlanAsync(Guid, string, GatewayPlanUpdateInput)

Declaration
[Authorize("Payment.Plans.GatewayPlans.Update")]
public virtual Task UpdateGatewayPlanAsync(Guid planId, string gateway, GatewayPlanUpdateInput input)
Parameters
Type Name Description
Guid planId
string gateway
GatewayPlanUpdateInput input
Returns
Type Description
Task

Implements

IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IPlanAdminAppService
ICrudAppService<TEntityDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
ICrudAppService<TGetOutputDto, TGetListOutputDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
IReadOnlyAppService<TGetOutputDto, TGetListOutputDto, TKey, TGetListInput>
ICreateUpdateAppService<TGetOutputDto, TKey, TCreateUpdateInput, TUpdateInput>
ICreateAppService<TGetOutputDto, TCreateInput>
IUpdateAppService<TGetOutputDto, TKey, TUpdateInput>
IDeleteAppService<TKey>
IApplicationService
IRemoteService

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform