Interface CheckoutPaymentMethodService

All Known Implementing Classes:
DefaultCheckoutPaymentMethodService

public interface CheckoutPaymentMethodService
This service provides information about the configured payment methods and gateways.
Author:
Marie Standeven (mariestandeven)
  • Method Summary

    Modifier and Type
    Method
    Description
    getCheckoutPaymentMethodOptions(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.order.common.domain.CustomerRef customer, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find the available checkout payment method options for the given cart, customer, and context.
  • Method Details

    • getCheckoutPaymentMethodOptions

      List<CheckoutPaymentMethodOption> getCheckoutPaymentMethodOptions(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.order.common.domain.CustomerRef customer, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find the available checkout payment method options for the given cart, customer, and context.
      Parameters:
      cart - the current cart in checkout
      customer - a reference to the current customer in checkout
      contextInfo - context information around sandbox and multitenant state
      Returns:
      a list of payment method options available in the current checkout context