Hey guys,
I have run into an issue using CIM. I call the following function:
AuthorizeUtilities.Service.GetCustomerPaymentProfile(AuthorizeUtilities.MerchantAuthentication, cid, pid)
This returns a CustomerProfileWS.GetCustomerPaymentProfileResponseType object. According to the API, I should be able to say profile.paymentProfile.CreditCard. However, the creditCard attribute of paymentProfile causes compile errors saying that the attribute does not exist.
Am I missing something here?
Solved! Go to Solution.
09-25-2012 03:09 PM
This is in C#, is because item can be either bank account and credti card.
CustomerProfileWS.CreditCardMaskedType _cmt = (CustomerProfileWS.CreditCardMaskedType)profile.paymentProfile.payment.Item;
09-25-2012 04:51 PM
This is in C#, is because item can be either bank account and credti card.
CustomerProfileWS.CreditCardMaskedType _cmt = (CustomerProfileWS.CreditCardMaskedType)profile.paymentProfile.payment.Item;
09-25-2012 04:51 PM