The UpdateCreditCardActor is used to edit an existing credit card. The path to this actor is: /atg/commerce/order/purchase/UpdateCreditCardActor.

This actor contains the updateCreditCard actor-chain:

Parameter

Description

nickname

The nickname of the credit card to update.

creditCardType

The type of credit card to update.

creditCardNumber

The credit card number to update.

expirationMonth

The month that the credit card expires.

expirationYear

The year that the credit card expires.

firstName

The first name on the credit card.

middleName

The middle name or initial on the credit card.

lastName

The last name on the credit card.

address1

The first address field on the credit card.

address2

The second address field on the credit card.

city

The city on the credit card.

state

The state on the credit card.

country

The country on the credit card.

postalCode

The postal code on the credit card.

phoneNumber

A phone number associated with the credit card.

Update Credit Card Example
curl -L -v -b customer_cookies.txt -H "Content-Type: application/json" -d "{
"nickname" : \"Visa\", "creditCardType" : "Visa", "creditCardNumber" :
"4111111111111111", "expirationMonth" : "06", "expirationYear" : "2017",
"firstName":\"Joe\", "middleName":\"C\", "lastName":\"Smith\", "address1":\"432
Willow Road\", "address2":\"NA\", "city":\"Broadbrook\", "state":\"MA\",
"country":\"USA\", "postalCode":\"01234\", "phoneNumber":\"6176378687\" }"
"http://localhost:8280/rest/model/atg/commerce/order/purchase/
UpdateCreditCardActor/updateCreditCard"

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