Interface B2BCommerceCartService

All Superinterfaces:
CommerceCartService
All Known Implementing Classes:
DefaultB2BCommerceCartService

public interface B2BCommerceCartService extends CommerceCartService
Interface to handle specific B2B Commerce cart services.
  • Method Details

    • calculateCartForPaymentTypeChange

      void calculateCartForPaymentTypeChange(CartModel cartModel)
      Forcefully re-calulcate the order total after applying the promotions for payment type
      Parameters:
      cartModel - the cart whose total has to be re-calculated
    • createInvoicePaymentInfo

      InvoicePaymentInfoModel createInvoicePaymentInfo(CartModel cartModel)
      Creates an invoice payment info.
      Parameters:
      cartModel - the cart whose payment info is applied to
      Returns:
      the invoice payment info created