public interface CustomerController extends WidgetController
| Modifier and Type | Method and Description |
|---|---|
TypedObject |
createNewCustomerAddress(ObjectValueContainer addressContainer,
java.lang.String addressTypeCode)
Create a new customer address
|
TypedObject |
getCurrentCustomer()
Get the current customer
|
java.util.List<TypedObject> |
getCustomerAddresses()
Get the list of addresses for the customer
|
java.util.List<TypedObject> |
getCustomerOrders()
Get the customers list of historic orders
|
java.util.List<TypedObject> |
getCustomerTickets()
Gets the list of tickets associated with this customer
|
java.util.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()
java.util.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, java.lang.String addressTypeCode) throws ValueHandlerException
addressContainer - The value containeraddressTypeCode - The object template type codeValueHandlerException - If the address cannot be createdjava.util.List<TypedObject> getCustomerOrders()
java.util.List<TypedObject> getCustomerTickets()
java.util.List<TypedObject> getTokenisedCreditCards()
Copyright © 2018 SAP SE. All Rights Reserved.