Interface TravelB2BCheckoutFacade
- All Superinterfaces:
de.hybris.platform.b2bacceleratorfacades.api.cart.CheckoutFacade
- All Known Implementing Classes:
DefaultTravelB2BCheckoutFacade
public interface TravelB2BCheckoutFacade
extends de.hybris.platform.b2bacceleratorfacades.api.cart.CheckoutFacade
Exposing B2B checkout API for Travel.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanauthorizePayment(String securityCode) Authorize payment boolean.List<? extends AddressData>getSupportedDeliveryAddresses(boolean visibleAddressesOnly) Get the list of supported delivery addresses.booleansetDeliveryAddress(AddressData address) Set the delivery address on the cart.Methods inherited from interface de.hybris.platform.b2bacceleratorfacades.api.cart.CheckoutFacade
createCartFromOrder, getDaysOfWeekForReplenishmentCheckoutSummary, getPaymentTypes, placeOrder, scheduleOrder, setCostCenterForCart, updateCheckoutCart
-
Method Details
-
authorizePayment
Authorize payment boolean.- Parameters:
securityCode- the security code- Returns:
- the boolean
-
getSupportedDeliveryAddresses
Get the list of supported delivery addresses.- Parameters:
visibleAddressesOnly- include only the visible addresses- Returns:
- the supported delivery addresses
-
setDeliveryAddress
Set the delivery address on the cart.- Parameters:
address- the address, If null the delivery address is removed from the session cart.- Returns:
- true if operation succeeded
-