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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<CheckoutPaymentMethodOption>
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 Detail
-
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 checkoutcustomer
- a reference to the current customer in checkoutcontextInfo
- context information around sandbox and multitenant state- Returns:
- a list of payment method options available in the current checkout context
-
-