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