Interface B2BMerchantCheckService

  • All Known Implementing Classes:
    DefaultB2BMerchantCheckService

    public interface B2BMerchantCheckService
    The Interface B2BMerchantCheckService. A service for evaluating different strategies or rules determined by the merchant against orders for a customer. Different strategies may include things such as credit limits.
    Spring Bean ID:
    b2bMerchantCheckService
    • Method Detail

      • evaluateMerchantChecks

        java.util.Set<B2BMerchantCheckResultModel> evaluateMerchantChecks​(AbstractOrderModel order,
                                                                          B2BCustomerModel customer)
        Evaluates the order for a customer to determine the merchant checks such as credit limits, order thresholds, budget limits.
        Parameters:
        order - the order being evaluated
        customer - the customer of the order
        Returns:
        results of the evaluations against the order