Class DefaultSapRevenueCloudSplitOrderService
- java.lang.Object
-
- de.hybris.platform.sap.saprevenuecloudorder.service.impl.DefaultSapRevenueCloudSplitOrderService
-
- All Implemented Interfaces:
SapRevenueCloudSplitOrderService
public class DefaultSapRevenueCloudSplitOrderService extends java.lang.Object implements SapRevenueCloudSplitOrderService
Default implementation forDefaultSapRevenueCloudSplitOrderService
-
-
Constructor Summary
Constructors Constructor Description 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
-
-
-
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:
getAuthorizationAmountListFromCartin interfaceSapRevenueCloudSplitOrderService- Parameters:
cart- - customer's current cart- Returns:
Map- split authorized amount for system
-
-