/// <summary> /// /// </summary> ///<param name="getShippingAddressesRequest"></param> ///<param name="credential">An explicit ICredential object that you want to authenticate this call against</param> public GetShippingAddressesResponse GetShippingAddresses(GetShippingAddressesRequest getShippingAddressesRequest, ICredential credential) { IAPICallPreHandler apiCallPreHandler = new PlatformAPICallPreHandler(this.config, getShippingAddressesRequest.ToNVPString(string.Empty), ServiceName, "GetShippingAddresses", credential); ((PlatformAPICallPreHandler) apiCallPreHandler).SDKName = SDKName; ((PlatformAPICallPreHandler) apiCallPreHandler).SDKVersion = SDKVersion; ((PlatformAPICallPreHandler) apiCallPreHandler).PortName = "AdaptivePayments"; NVPUtil util = new NVPUtil(); return GetShippingAddressesResponse.CreateInstance(util.ParseNVPString(Call(apiCallPreHandler)), string.Empty, -1); }
/** *AUTO_GENERATED */ public GetShippingAddressesResponse GetShippingAddresses(GetShippingAddressesRequest getShippingAddressesRequest, string apiUserName) { string response = Call("GetShippingAddresses", getShippingAddressesRequest.ToNVPString(""), apiUserName); NVPUtil util = new NVPUtil(); return GetShippingAddressesResponse.CreateInstance(util.ParseNVPString(response), "", -1); }