public interface CustomerController extends WidgetController
| Modifier and Type | Method and Description |
|---|---|
TypedObject |
createNewCustomerAddress(ObjectValueContainer addressContainer,
String addressTypeCode)
Create a new customer address
|
TypedObject |
getCurrentCustomer()
Get the current customer
|
List<TypedObject> |
getCustomerAddresses()
Get the list of addresses for the customer
|
List<TypedObject> |
getCustomerOrders()
Get the customers list of historic orders
|
List<TypedObject> |
getCustomerTickets()
Gets the list of tickets associated with this customer
|
List<TypedObject> |
getTokenisedCreditCards()
Gets the list of tokenised credit cards of this customer
|
void |
removeCustomerAddress(TypedObject address)
Delete a customer address
|
boolean |
setDefaultShipmentAddress(TypedObject address)
Set the customer's default shipment address
|
addCockpitEventAcceptor, dispatchEvent, removeCockpitEventAcceptor, setCockpitEventAcceptorsTypedObject getCurrentCustomer()
List<TypedObject> getCustomerAddresses()
boolean setDefaultShipmentAddress(TypedObject address)
address - The address to set as the default shipment addressvoid removeCustomerAddress(TypedObject address)
address - The address to deleteTypedObject createNewCustomerAddress(ObjectValueContainer addressContainer, String addressTypeCode) throws ValueHandlerException
addressContainer - The value containeraddressTypeCode - The object template type codeValueHandlerException - If the address cannot be createdList<TypedObject> getCustomerOrders()
List<TypedObject> getCustomerTickets()
List<TypedObject> getTokenisedCreditCards()
Copyright © 2017 SAP SE. All Rights Reserved.