The newCreditCardWithExistingAddress actor-chain is used to create a new credit card payment group with an existing address in an order. Note that the getExistingAddress actor-chain must be run prior to running this call.

Parameter

Description

creditCardType

Identifies the address to delete.

creditCardNumber

Adds the new credit card number.

expirationMonth

Adds the new credit card’s expiration month.

expirationYear

Adds the new credit card’s expiration year.

addressIndex

Identifies the address associated with this new credit card.

Add Credit Card to Existing Address in Order Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
\"addressIndex\": \"0\", \"creditCardType\": \"visa\",\"creditCardNumber\":
\"4111111111111111\",\"expirationMonth\": \"1\",\"expirationYear\": \"2020\" }"
"http://localhost:8280/rest/model/atg/commerce/custsvc/order/
CreateCreditCardActor/newCreditCardWithExistingAddress"

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices