developer:soap-1.1:methods:deletecustomerpaymentmethod

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developer:soap-1.1:methods:deletecustomerpaymentmethod [2009/06/24 13:51]
charlie created
developer:soap-1.1:methods:deletecustomerpaymentmethod [2010/10/21 15:55]
irina
Line 36: Line 36:
 |boolean |Returns confirmation of payment method deletion only if successful. If deletion fails, an exception will be thrown.| ​ |boolean |Returns confirmation of payment method deletion only if successful. If deletion fails, an exception will be thrown.| ​
  
 +==== .NET VB ====
 +<code vb>
 +Dim CustNum As String
 +        CustNum = "​120221"​
 +        Dim PaymentID As String
 +        PaymentID = "​78"​
 +
 +        Dim response As Boolean
 +
 +        response = client.deleteCustomerPaymentMethod(token,​ CustNum, PaymentID)
 +        MsgBox(response)
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string CustNum = "​109100";​
 +            string PaymentID = "​50";​
 +
 +            Boolean response;
 +
 +            try
 +            {
 +                response = client.deleteCustomerPaymentMethod(token,​ CustNum, PaymentID);
 +                MessageBox.Show(string.Concat(response));​
 +            }
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
developer/soap-1.1/methods/deletecustomerpaymentmethod.txt ยท Last modified: 2010/10/21 15:55 by irina

Page Tools