public async Task <VaultResponse> Get(string vaultToken) { vaultToken = Uri.EscapeUriString(vaultToken); var url = "vault/payment_sources/" + vaultToken; return(await _serviceHelper.Get <VaultResponse>(url, overrideConfigSecretKey : _overrideConfigSecretKey)); }
public async Task <ChargeItemsResponse> Get() { return(await _serviceHelper.Get <ChargeItemsResponse>("charges", overrideConfigSecretKey : _overrideConfigSecretKey)); }
public async Task <string> GetSoundByName(string name) { var animal = await _serviceHelper.Get <Animal>("vigilant-chainsaw-animal", name); return(animal != null ? animal.Sound : string.Empty); }
public async Task <NotificationTemplateResponse> GetTemplate(string notificationTemplateId) { notificationTemplateId = Uri.EscapeUriString(notificationTemplateId); return(await _serviceHelper.Get <NotificationTemplateResponse>("notifications/templates/" + notificationTemplateId, overrideConfigSecretKey : _overrideConfigSecretKey)); }
public async Task <GatewayItemResponse> Get(string gatewayid) { gatewayid = Uri.EscapeUriString(gatewayid); return(await _serviceHelper.Get <GatewayItemResponse>("gateways/" + gatewayid, overrideConfigSecretKey : _overrideConfigSecretKey)); }
public async Task <SubscriptionItemsResponse> Get() { return(await _serviceHelper.Get <SubscriptionItemsResponse>("subscriptions", overrideConfigSecretKey : _overrideConfigSecretKey)); }