Namespace: ctAC
Assembly: ctAC (in ctAC.dll)

Syntax

Visual Basic (Declaration)
<SoapHeaderAttribute("myCTACHeader", Direction := SoapHeaderDirection.In), _
 WebMethodAttribute(Description := "Update customer credit card. This will save the credit card information back into the customer record for future use.", MessageName := "updateCustomerCard")>

Public Function updateCustomerCard( _ 
   ByVal custID As String,  _ 
   ByVal cardNumber As String,  _ 
   ByVal cardHolderName As String,  _ 
   ByVal cardExpDate As Date,  _ 
   ByVal cardType As String _ 
) As String
C#
[SoapHeaderAttribute("myCTACHeader", Direction = SoapHeaderDirection.In)]
[WebMethodAttribute(Description = "Update customer credit card. This will save the credit card information back into the customer record for future use.", MessageName = "updateCustomerCard")]
public string updateCustomerCard(
   string custID,
   string cardNumber,
   string cardHolderName,
   DateTime cardExpDate,
   string cardType
)
C++
[SoapHeaderAttribute(L"myCTACHeader", Direction = SoapHeaderDirection::In)]
[WebMethodAttribute(Description = L"Update customer credit card. This will save the credit card information back into the customer record for future use.", MessageName = L"updateCustomerCard")]
public:
 String updateCustomerCard(
   String custID,
   String cardNumber,
   String cardHolderName,
   DateTime cardExpDate,
   String cardType
) sealed 
J#
/** @attribute SoapHeaderAttribute("myCTACHeader", Direction = SoapHeaderDirection.In) */
/** @attribute WebMethodAttribute(Description = "Update customer credit card. This will save the credit card information back into the customer record for future use.", MessageName = "updateCustomerCard") */
public string updateCustomerCard(
   string custID,
   string cardNumber,
   string cardHolderName,
   DateTime cardExpDate,
   string cardType
)
JScript
public 

   SoapHeaderAttribute("myCTACHeader", Direction = SoapHeaderDirection.In)
   WebMethodAttribute(Description = "Update customer credit card. This will save the credit card information back into the customer record for future use.", MessageName = "updateCustomerCard")
function updateCustomerCard(
   custID : String,
   cardNumber : String,
   cardHolderName : String,
   cardExpDate : DateTime,
   cardType : String
) : String

See Also