The setDefaultCreditCard Web service sets the user’s creditCardPropertyName to the given address.

Servlet Name

setDefaultCreditCard

Input Parameters

profileId - The ID of the customer profile to be changed.
creditCard - The new credit card.

Output

The ID of the newly created credit card item.

Web Service Class

atg.commerce.profile.CommerceProfileServices

Nucleus Component

/atg/userprofiling/ProfileServices

Method

setDefaultCreditCard(String pProfileId, BasicCreditCardInfoImpl pCreditCardInfo)

Executes within a session

Yes

WSDL URL

http://hostname:port/commerce/userprofiling/setDefaultCreditCard?WSDL

Endpoint URL

http://hostname:port/commerce/userprofiling/setDefaultCreditCard/setDefaultCreditCard

Security FunctionalName

profileOwnerOperation