public class AbstractOrderRaoToOrderConverter extends Object implements Converter<AbstractOrderRAO,Order>
AbstractOrderRAO to Order.| Constructor and Description |
|---|
AbstractOrderRaoToOrderConverter() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertAll, convertAllIgnoreExceptions, getLoggerpublic Order convert(AbstractOrderRAO cartRao) throws ConversionException
Converterconvert in interface Converter<AbstractOrderRAO,Order>cartRao - the source objectConversionException - if an error occursprotected OrderDiscount convertToOrderDiscount(DiscountRAO discountRao, AbstractOrderRAO cartRao)
protected LineItemDiscount convertToLineItemDiscount(DiscountRAO discountRao, AbstractOrderRAO cartRao)
protected OrderCharge convertToShippingOrderCharge(AbstractOrderRAO cartRao)
ShipmentRAO it
will be taken for the shipping charge calculation, otherwise the AbstractOrderRAO.getDeliveryCost() is used.cartRao - the cart to get the shipping order charge fromprotected OrderCharge convertToPaymentOrderCharge(AbstractOrderRAO cartRao)
cartRao - the cart to get the payment order charge frompublic Order convert(AbstractOrderRAO paramSOURCE, Order paramTARGET) throws ConversionException
Converterconvert in interface Converter<AbstractOrderRAO,Order>paramSOURCE - the source objectparamTARGET - the prototype to fillConversionException - if an error occursprotected Converter<AbstractOrderRAO,Currency> getAbstractOrderRaoToCurrencyConverter()
public void setAbstractOrderRaoToCurrencyConverter(Converter<AbstractOrderRAO,Currency> abstractOrderRaoToCurrencyConverter)
protected Converter<OrderEntryRAO,NumberedLineItem> getOrderEntryRaoToNumberedLineItemConverter()
public void setOrderEntryRaoToNumberedLineItemConverter(Converter<OrderEntryRAO,NumberedLineItem> orderEntryRaoToNumberedLineItemConverter)
protected CalculationStrategies getCalculationStrategies()
public void setCalculationStrategies(CalculationStrategies calculationStrategies)
protected OrderUtils getOrderUtils()
public void setOrderUtils(OrderUtils orderUtils)
protected RaoUtils getRaoUtils()
public void setRaoUtils(RaoUtils raoUtils)
Copyright © 2017 SAP SE. All Rights Reserved.