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 -
Method Summary
Modifier and TypeMethodDescriptionImplementation 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
-
Constructor Details
-
DefaultSapRevenueCloudSplitOrderService
public DefaultSapRevenueCloudSplitOrderService()
-
-
Method Details
-
getAuthorizationAmountListFromCart
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<String,- split authorized amount for systemBigDecimal>
-