public virtual async Task <Result <MerchantAccount> > CreateForCurrencyAsync(MerchantAccountCreateForCurrencyRequest request) { XmlNode merchantAccountXML = await service.PostAsync(service.MerchantPath() + "/merchant_accounts/create_for_currency", request).ConfigureAwait(false); return(new ResultImpl <MerchantAccount>(new NodeWrapper(merchantAccountXML), gateway)); }
public virtual Result <MerchantAccount> CreateForCurrency(MerchantAccountCreateForCurrencyRequest request) { XmlNode merchantAccountXML = service.Post(service.MerchantPath() + "/merchant_accounts/create_for_currency", request); return(new ResultImpl <MerchantAccount>(new NodeWrapper(merchantAccountXML), gateway)); }