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