Class DefaultSapRevenueCloudSplitOrderService

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.math.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
      • Methods inherited from class java.lang.Object

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

      • DefaultSapRevenueCloudSplitOrderService

        public DefaultSapRevenueCloudSplitOrderService()
    • Method Detail

      • getAuthorizationAmountListFromCart

        public java.util.Map<java.lang.String,​java.math.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 - split authorized amount for system