示例#1
0
        public async Task <IActionResult> GetPriceListItem([FromQuery] GetPriceListItemRequest request)
        {
            var priceListItem = await _paymentsModule.ExecuteQueryAsync(new GetPriceListItemQuery(
                                                                            request.CountryCode,
                                                                            request.CategoryCode,
                                                                            request.PeriodTypeCode));

            return(Ok(priceListItem));
        }
示例#2
0
        public async Task <IActionResult> GetAuthenticatedPayerSubscription()
        {
            var subscription = await _paymentsModule.ExecuteQueryAsync(new GetAuthenticatedPayerSubscriptionQuery());

            return(Ok(subscription));
        }
 public async Task <List <PriceListItemDto> > GetSampleAsync()
 {
     return(await _paymentsModule.ExecuteQueryAsync(new GetPriceListItemsQuery()));
 }
示例#4
0
 public async Task <List <MeetingFeeDto> > GetSampleAsync()
 {
     return(await _paymentsModule.ExecuteQueryAsync(new GetMeetingFeesQuery(_meetingId)));
 }
示例#5
0
 public async Task <PayerDto> GetSampleAsync()
 {
     return(await _paymentsModule.ExecuteQueryAsync(new GetPayerQuery(_payerId)));
 }
示例#6
0
 public async Task <SubscriptionDetailsDto> GetSampleAsync()
 {
     return(await _paymentsModule.ExecuteQueryAsync(new GetSubscriptionDetailsQuery(_subscriptionId)));
 }
示例#7
0
 public async Task <List <SubscriptionPaymentDto> > GetSampleAsync()
 {
     return(await _paymentsModule.ExecuteQueryAsync(new GetSubscriptionPaymentsQuery(_payerId)));
 }
示例#8
0
 public async Task <SubscriptionDetailsDto> GetSampleAsync()
 {
     return(await _paymentsModule.ExecuteQueryAsync(new GetAuthenticatedPayerSubscriptionQuery()));
 }