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 Type
    Method
    Description
    boolean
    authorizePayment(String securityCode)
    Authorize payment boolean.
    List<? extends AddressData>
    getSupportedDeliveryAddresses(boolean visibleAddressesOnly)
    Get the list of supported delivery addresses.
    boolean
    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

      boolean authorizePayment(String securityCode)
      Authorize payment boolean.
      Parameters:
      securityCode - the security code
      Returns:
      the boolean
    • getSupportedDeliveryAddresses

      List<? extends AddressData> getSupportedDeliveryAddresses(boolean visibleAddressesOnly)
      Get the list of supported delivery addresses.
      Parameters:
      visibleAddressesOnly - include only the visible addresses
      Returns:
      the supported delivery addresses
    • setDeliveryAddress

      boolean setDeliveryAddress(AddressData address)
      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