protected void Submit_Click(object sender, EventArgs e) { // Create request object UpdateRecurringPaymentsProfileRequestType request = new UpdateRecurringPaymentsProfileRequestType(); populateRequestObject(request); // Invoke the API UpdateRecurringPaymentsProfileReq wrapper = new UpdateRecurringPaymentsProfileReq(); wrapper.UpdateRecurringPaymentsProfileRequest = request; // Configuration map containing signature credentials and other required configuration. // For a full list of configuration parameters refer in wiki page // [https://github.com/paypal/sdk-core-dotnet/wiki/SDK-Configuration-Parameters] Dictionary <string, string> configurationMap = Configuration.GetAcctAndConfig(); // Create the PayPalAPIInterfaceServiceService service object to make the API call PayPalAPIInterfaceServiceService service = new PayPalAPIInterfaceServiceService(configurationMap); // # API call // Invoke the UpdateRecurringPaymentsProfile method in service wrapper object UpdateRecurringPaymentsProfileResponseType updateRPProfileResponse = service.UpdateRecurringPaymentsProfile(wrapper); // Check for API return status setKeyResponseObjects(service, updateRPProfileResponse); }
protected void Submit_Click(object sender, EventArgs e) { // Create request object UpdateRecurringPaymentsProfileRequestType request = new UpdateRecurringPaymentsProfileRequestType(); populateRequestObject(request); // Invoke the API UpdateRecurringPaymentsProfileReq wrapper = new UpdateRecurringPaymentsProfileReq(); wrapper.UpdateRecurringPaymentsProfileRequest = request; PayPalAPIInterfaceServiceService service = new PayPalAPIInterfaceServiceService(); UpdateRecurringPaymentsProfileResponseType updateRPProfileResponse = service.UpdateRecurringPaymentsProfile(wrapper); // Check for API return status setKeyResponseObjects(service, updateRPProfileResponse); }
/// <remarks/> public void UpdateRecurringPaymentsProfileAsync(UpdateRecurringPaymentsProfileReq UpdateRecurringPaymentsProfileReq, object userState) { if ((this.UpdateRecurringPaymentsProfileOperationCompleted == null)) { this.UpdateRecurringPaymentsProfileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateRecurringPaymentsProfileOperationCompleted); } this.InvokeAsync("UpdateRecurringPaymentsProfile", new object[] { UpdateRecurringPaymentsProfileReq}, this.UpdateRecurringPaymentsProfileOperationCompleted, userState); }
/// <remarks/> public void UpdateRecurringPaymentsProfileAsync(UpdateRecurringPaymentsProfileReq UpdateRecurringPaymentsProfileReq) { this.UpdateRecurringPaymentsProfileAsync(UpdateRecurringPaymentsProfileReq, null); }
public UpdateRecurringPaymentsProfileResponseType UpdateRecurringPaymentsProfile(UpdateRecurringPaymentsProfileReq UpdateRecurringPaymentsProfileReq) { return(UpdateRecurringPaymentsProfile(UpdateRecurringPaymentsProfileReq, null)); }
/** * */ public UpdateRecurringPaymentsProfileResponseType UpdateRecurringPaymentsProfile(UpdateRecurringPaymentsProfileReq UpdateRecurringPaymentsProfileReq, string apiUsername) { setStandardParams(UpdateRecurringPaymentsProfileReq.UpdateRecurringPaymentsProfileRequest); string resp = call("UpdateRecurringPaymentsProfile", UpdateRecurringPaymentsProfileReq.toXMLString(), apiUsername); return(new UpdateRecurringPaymentsProfileResponseType(resp)); }
/** * AUTO_GENERATED */ public UpdateRecurringPaymentsProfileResponseType UpdateRecurringPaymentsProfile(UpdateRecurringPaymentsProfileReq updateRecurringPaymentsProfileReq, string apiUserName) { setStandardParams(updateRecurringPaymentsProfileReq.UpdateRecurringPaymentsProfileRequest); string response = Call("UpdateRecurringPaymentsProfile", updateRecurringPaymentsProfileReq.ToXMLString(), apiUserName); XmlDocument xmlDocument = new XmlDocument(); xmlDocument.LoadXml(response); XmlNode xmlNode = xmlDocument.SelectSingleNode("*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='UpdateRecurringPaymentsProfileResponse']"); return(new UpdateRecurringPaymentsProfileResponseType(xmlNode)); }