protected async Task <T> GetAsync <T>(UrlObjectLink <T> urlObject) { string relativeUri = this.StripUrlObject(urlObject); var response = await this._httpClient.GetAsync(relativeUri).ConfigureAwait(false); return(await this.ProcessHttpResponseMessage <T>(response).ConfigureAwait(false)); }
protected async Task <T> GetAsync <T>(UrlObjectLink <T> urlObject) { this.ValidateUrlLink(urlObject); HttpRequestMessage httpRequest = this.CreateHttpRequest(HttpMethod.Get, urlObject.Href); var response = await this._httpClient.SendAsync(httpRequest).ConfigureAwait(false); return(await this.ProcessHttpResponseMessage <T>(response).ConfigureAwait(false)); }
public Task <PaymentMethodResponse> GetPaymentMethodAsync(UrlObjectLink <PaymentMethodResponse> url) => ClientService.GetAsync(url);
/// <summary> /// Gets the refund asynchronous. /// </summary> /// <param name="url">The URL.</param> /// <returns>Task<RefundResponse>.</returns> public Task <RefundResponse> GetRefundAsync(UrlObjectLink <RefundResponse> url) => _clientService.GetAsync(url);
public async Task <RefundResponse> GetRefundAsync(UrlObjectLink <RefundResponse> url) { return(await this.GetAsync(url).ConfigureAwait(false)); }
public async Task <SubscriptionResponse> GetSubscriptionAsync(UrlObjectLink <SubscriptionResponse> url) { return(await this.GetAsync(url).ConfigureAwait(false)); }
public async Task <PaymentMethodResponse> GetPaymentMethodAsync(UrlObjectLink <PaymentMethodResponse> url) { return(await this.GetAsync(url).ConfigureAwait(false)); }
public Task <MandateResponse> GetMandateAsync(UrlObjectLink <MandateResponse> url) => ClientService.GetAsync(url);
/// <summary> /// Gets the customer list asynchronous. /// </summary> /// <param name="url">The URL.</param> /// <returns>Task<ListResponse<CustomerResponse>>.</returns> public Task <ListResponse <CustomerResponse> > GetCustomerListAsync(UrlObjectLink <ListResponse <CustomerResponse> > url) => _clientService.GetAsync(url);
/// <summary> /// Gets the customer asynchronous. /// </summary> /// <param name="url">The URL.</param> /// <returns>Task<CustomerResponse>.</returns> public Task <CustomerResponse> GetCustomerAsync(UrlObjectLink <CustomerResponse> url) => _clientService.GetAsync(url);
public async Task <ListResponse <MandateListData> > GetMandateListAsync(UrlObjectLink <ListResponse <MandateListData> > url) { return(await this.GetAsync(url).ConfigureAwait(false)); }
public Task <OrganizationResponse> GetOrganizationAsync(UrlObjectLink <OrganizationResponse> url) => ClientService.GetAsync(url);
protected async Task <T> GetAsync <T>(UrlObjectLink <T> urlObject) { this.ValidateUrlLink(urlObject); return(await this.GetAsync <T>(urlObject.Href)); }
public Task <ListResponse <SubscriptionResponse> > GetSubscriptionListAsync(UrlObjectLink <ListResponse <SubscriptionResponse> > url) => ClientService.GetAsync(url);
public async Task <SettlementResponse> GetSettlementAsync(UrlObjectLink <SettlementResponse> url) { return(await this.GetAsync(url).ConfigureAwait(false)); }
public async Task <InvoiceResponse> GetInvoiceAsync(UrlObjectLink <InvoiceResponse> url) { return(await this.GetAsync(url).ConfigureAwait(false)); }
public Task <ListResponse <MandateResponse> > GetMandateListAsync(UrlObjectLink <ListResponse <MandateResponse> > url) => ClientService.GetAsync(url);
protected async Task <T> GetAsync <T>(UrlObjectLink <T> urlObject) { this.ValidateUrlLink(urlObject); return(await this.GetAsync <T>(urlObject.Href).ConfigureAwait(false));; }
/// <summary> /// Gets the settlement asynchronous. /// </summary> /// <param name="url">The URL.</param> /// <returns>Task<SettlementResponse>.</returns> public Task <SettlementResponse> GetSettlementAsync(UrlObjectLink <SettlementResponse> url) => _clientService.GetAsync(url);
public Task <ListResponse <PaymentResponse> > GetPaymentListAsync(UrlObjectLink <ListResponse <PaymentResponse> > url) => ClientService.GetAsync(url);
/// <summary> /// Gets the permission asynchronous. /// </summary> /// <param name="url">The URL.</param> /// <returns>Task<PermissionResponse>.</returns> public Task <PermissionResponse> GetPermissionAsync(UrlObjectLink <PermissionResponse> url) => _clientService.GetAsync(url);
public Task <T> GetAsync <T>(UrlObjectLink <T> urlObject) { _validatorService.ValidateUrlLink(urlObject); return(GetAsync <T>(urlObject.Href)); }
/// <summary> /// Gets the subscription asynchronous. /// </summary> /// <param name="url">The URL.</param> /// <returns>Task<SubscriptionResponse>.</returns> public Task <SubscriptionResponse> GetSubscriptionAsync(UrlObjectLink <SubscriptionResponse> url) => _clientService.GetAsync(url);
/// <summary> /// Gets the invoice asynchronous. /// </summary> /// <param name="url">The URL.</param> /// <returns>Task<InvoiceResponse>.</returns> public Task <InvoiceResponse> GetInvoiceAsync(UrlObjectLink <InvoiceResponse> url) => _clientService.GetAsync(url);
public async Task <ListResponse <OrderResponse> > GetOrderListAsync(UrlObjectLink <ListResponse <OrderResponse> > url) { return(await this.GetAsync(url).ConfigureAwait(false)); }
public async Task <CustomerResponse> GetCustomerAsync(UrlObjectLink <CustomerResponse> url) { return(await this.GetAsync(url).ConfigureAwait(false)); }
public Task <ListResponse <OrderResponse> > GetOrderListAsync(UrlObjectLink <ListResponse <OrderResponse> > url) => ClientService.GetAsync(url);
public async Task <ListResponse <SubscriptionListData> > GetSubscriptionListAsync(UrlObjectLink <ListResponse <SubscriptionListData> > url) { return(await this.GetAsync(url).ConfigureAwait(false)); }