Class DefaultSapRevenueCloudSplitOrderService

java.lang.Object
de.hybris.platform.sap.saprevenuecloudorder.service.impl.DefaultSapRevenueCloudSplitOrderService
All Implemented Interfaces:
SapRevenueCloudSplitOrderService

public class DefaultSapRevenueCloudSplitOrderService extends Object implements SapRevenueCloudSplitOrderService
Default implementation for DefaultSapRevenueCloudSplitOrderService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Implementation for authorization amount split between SAP Subscription Billing and SAP S4HANA systems The split is based on these assumptions
    No tax, promotion and discounts are considered subscription products from SAP Subscription Billing
    All the tax, promotions and discounts added to the cart are related to products replicated from S4HANA The authorization amount for SAP Subscription Billing is the total price of all subscription products from Revenue Cloud The authorization amount for S4HANA is the cart total minus the total authorization amount for SAP Subscription Billing

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultSapRevenueCloudSplitOrderService

      public DefaultSapRevenueCloudSplitOrderService()
  • Method Details

    • getAuthorizationAmountListFromCart

      public Map<String,BigDecimal> getAuthorizationAmountListFromCart(CartModel cart)
      Implementation for authorization amount split between SAP Subscription Billing and SAP S4HANA systems The split is based on these assumptions
      No tax, promotion and discounts are considered subscription products from SAP Subscription Billing
      All the tax, promotions and discounts added to the cart are related to products replicated from S4HANA The authorization amount for SAP Subscription Billing is the total price of all subscription products from Revenue Cloud The authorization amount for S4HANA is the cart total minus the total authorization amount for SAP Subscription Billing
      Specified by:
      getAuthorizationAmountListFromCart in interface SapRevenueCloudSplitOrderService
      Parameters:
      cart - - customer's current cart
      Returns:
      Map<String,BigDecimal> - split authorized amount for system