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