cancel
Showing results for 
Search instead for 
Did you mean: 

CIM Help: GetCustomerPaymentProfileResponseType

Hello Community,

 

This is my first post here so bear with me.  In the Documentation for CIM, the GetCustomerPaymentProfileResponseType has an object within paymentProfile called "creditcard". 

 

In my .net application, I have a web reference to:

 

https://apitest.authorize.net/soap/v1/Service.asmx

 

However, the GetCustomerPaymentProfileResponseType's "paymentProfile" does not have "creditcard" within it:

 

Visual Studio

 

Am I missing something?  I've even updated the web reference to make sure I was using the latest version of it.. but no dice.  Any help would be greatly appreciated

kmauzoul
Member
1 ACCEPTED SOLUTION

Accepted Solutions

Is the "payment", it can be either bank account or credit card. so you need to case it to the right type.

 

View solution in original post

RaynorC1emen7
Expert
3 REPLIES 3

Is the "payment", it can be either bank account or credit card. so you need to case it to the right type.

 

RaynorC1emen7
Expert

Do you have example code for this type conversion?

Neveremind... I think I figured it out:

 

CustomerProfileWS.CreditCardType cct = aresponse.paymentProfile.payment.Item as CustomerProfileWS.CreditCardType;


@RaynorC1emen7 wrote:

Is the "payment", it can be either bank account or credit card. so you need to case it to the right type.