Class CustomerOrderForDeliveryBase
java.lang.Object
com.sap.retail.sapppspricing.swagger.businessobject.dto.CustomerOrderForDeliveryBase
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2022-09-26T19:16:22.658615400+05:30[Asia/Calcutta]")
public class CustomerOrderForDeliveryBase
extends Object
A flavor of a line item whereby customers purchase an unavailable item. The store places a special order on behalf of this purchase, and the item is to be delivered as soon as available. The customer may, or may not pay for the item at the time of the order placement.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumReserved for future use.static enumReserved for future use. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnyItem(Object anyItem) addFrequentShopperPointsModifierItem(FrequentShopperPointsModifierType frequentShopperPointsModifierItem) addItemIDItem(ItemID itemIDItem) addItemLinkItem(ItemLink itemLinkItem) addLineItemAttributeItem(LineItemAttributeType lineItemAttributeItem) addMerchandiseHierarchyItem(MerchandiseHierarchyCommonData merchandiseHierarchyItem) addPromotionManualTriggerItem(PromotionManualTriggerType promotionManualTriggerItem) addPromotionPriceDerivationRuleReferenceItem(PromotionPriceDerivationRuleReferenceType promotionPriceDerivationRuleReferenceItem) addQuantityItem(QuantityCommonData quantityItem) addRetailPriceModifierItem(RetailPriceModifierDomainSpecific retailPriceModifierItem) discountTypeCode(String discountTypeCode) booleanextendedAmount(ExtendedAmountType extendedAmount) extendedDiscountAmount(AmountCommonData extendedDiscountAmount) fixedPriceFlag(Boolean fixedPriceFlag) frequentShopperPointsEligibilityFlag(Boolean frequentShopperPointsEligibilityFlag) frequentShopperPointsModifier(List<FrequentShopperPointsModifierType> frequentShopperPointsModifier) getAny()This is currently not supported.Reserved for future use.Get extendedAmountGet extendedDiscountAmountThe list of modifiers for loyalty points determined by applied price rules.Although this is an array, only 1 entry is supported.Reserved for future use.Reserved for future use.Attribute Value pairs on line item level.For information purposes only.Reserved for future use.Manual triggers created by the client in order to make the transaction eligible for promotions that contain eligibilities of type manual trigger.The list of promotions for which the corresponding line item contributed as an eligibility.The quantity of this line item.Get regularSalesUnitPriceThe list of modifiers of the sales price triggered by applied price derivation rules.inthashCode()If set to true, the price calculation uses the provided value of RegularSalesUnitPrice as regular price and does not perform a price lookup for this line item.Set this flag to true if the corresponding line item is eligible for receiving loyalty points.Specifies whether this line item may be discounted or not.Set this flag to true, if the specified quantity has a different dimension than \"piece\", for example, if fractional quantities are possible.Determines if the price calculation should consider the line item as a trigger.Reserved for future use.lineItemAttribute(List<LineItemAttributeType> lineItemAttribute) merchandiseHierarchy(List<MerchandiseHierarchyCommonData> merchandiseHierarchy) nonDiscountableFlag(Boolean nonDiscountableFlag) nonPieceGoodFlag(Boolean nonPieceGoodFlag) notConsideredByPriceEngineFlag(Boolean notConsideredByPriceEngineFlag) priceTypeCode(CustomerOrderForDeliveryBase.PriceTypeCodeEnum priceTypeCode) promotionManualTrigger(List<PromotionManualTriggerType> promotionManualTrigger) promotionPriceDerivationRuleReference(List<PromotionPriceDerivationRuleReferenceType> promotionPriceDerivationRuleReference) quantity(List<QuantityCommonData> quantity) regularSalesUnitPrice(UnitPriceCommonData regularSalesUnitPrice) retailPriceModifier(List<RetailPriceModifierDomainSpecific> retailPriceModifier) voidvoidsetDiscountTypeCode(String discountTypeCode) voidsetExtendedAmount(ExtendedAmountType extendedAmount) voidsetExtendedDiscountAmount(AmountCommonData extendedDiscountAmount) voidsetFixedPriceFlag(Boolean fixedPriceFlag) voidsetFrequentShopperPointsEligibilityFlag(Boolean frequentShopperPointsEligibilityFlag) voidsetFrequentShopperPointsModifier(List<FrequentShopperPointsModifierType> frequentShopperPointsModifier) voidvoidsetItemLink(List<ItemLink> itemLink) voidvoidsetLineItemAttribute(List<LineItemAttributeType> lineItemAttribute) voidsetMerchandiseHierarchy(List<MerchandiseHierarchyCommonData> merchandiseHierarchy) voidsetNonDiscountableFlag(Boolean nonDiscountableFlag) voidsetNonPieceGoodFlag(Boolean nonPieceGoodFlag) voidsetNotConsideredByPriceEngineFlag(Boolean notConsideredByPriceEngineFlag) voidsetPriceTypeCode(CustomerOrderForDeliveryBase.PriceTypeCodeEnum priceTypeCode) voidsetPromotionManualTrigger(List<PromotionManualTriggerType> promotionManualTrigger) voidsetPromotionPriceDerivationRuleReference(List<PromotionPriceDerivationRuleReferenceType> promotionPriceDerivationRuleReference) voidsetQuantity(List<QuantityCommonData> quantity) voidsetRegularSalesUnitPrice(UnitPriceCommonData regularSalesUnitPrice) voidsetRetailPriceModifier(List<RetailPriceModifierDomainSpecific> retailPriceModifier) voidsetTaxIncludedInPriceFlag(Boolean taxIncludedInPriceFlag) taxIncludedInPriceFlag(Boolean taxIncludedInPriceFlag) toString()
-
Constructor Details
-
CustomerOrderForDeliveryBase
public CustomerOrderForDeliveryBase()
-
-
Method Details
-
any
-
addAnyItem
-
getAny
This is currently not supported.- Returns:
- any
-
setAny
-
itemID
-
addItemIDItem
-
getItemID
Although this is an array, only 1 entry is supported.- Returns:
- itemID
-
setItemID
-
merchandiseHierarchy
public CustomerOrderForDeliveryBase merchandiseHierarchy(List<MerchandiseHierarchyCommonData> merchandiseHierarchy) -
addMerchandiseHierarchyItem
public CustomerOrderForDeliveryBase addMerchandiseHierarchyItem(MerchandiseHierarchyCommonData merchandiseHierarchyItem) -
getMerchandiseHierarchy
For information purposes only. The relevant list of hierarchy nodes is expected on the level of LineItemDomainSpecific.- Returns:
- merchandiseHierarchy
-
setMerchandiseHierarchy
-
regularSalesUnitPrice
public CustomerOrderForDeliveryBase regularSalesUnitPrice(UnitPriceCommonData regularSalesUnitPrice) -
getRegularSalesUnitPrice
Get regularSalesUnitPrice- Returns:
- regularSalesUnitPrice
-
setRegularSalesUnitPrice
-
extendedAmount
-
getExtendedAmount
Get extendedAmount- Returns:
- extendedAmount
-
setExtendedAmount
-
extendedDiscountAmount
-
getExtendedDiscountAmount
Get extendedDiscountAmount- Returns:
- extendedDiscountAmount
-
setExtendedDiscountAmount
-
quantity
-
addQuantityItem
-
getQuantity
The quantity of this line item. Although this is an array, only 1 entry is allowed.- Returns:
- quantity
-
setQuantity
-
retailPriceModifier
public CustomerOrderForDeliveryBase retailPriceModifier(List<RetailPriceModifierDomainSpecific> retailPriceModifier) -
addRetailPriceModifierItem
public CustomerOrderForDeliveryBase addRetailPriceModifierItem(RetailPriceModifierDomainSpecific retailPriceModifierItem) -
getRetailPriceModifier
The list of modifiers of the sales price triggered by applied price derivation rules.- Returns:
- retailPriceModifier
-
setRetailPriceModifier
-
itemLink
-
addItemLinkItem
-
getItemLink
Reserved for future use.- Returns:
- itemLink
-
setItemLink
-
itemType
-
getItemType
Reserved for future use.- Returns:
- itemType
-
setItemType
-
nonDiscountableFlag
-
isNonDiscountableFlag
Specifies whether this line item may be discounted or not. If set to true, the line item may still be used as an eligibility for promotions. However, such an item does not contribute to fulfill the amount or quantity threshold that is needed for a promotion to become effective.- Returns:
- nonDiscountableFlag
-
setNonDiscountableFlag
-
fixedPriceFlag
-
isFixedPriceFlag
If set to true, the price calculation uses the provided value of RegularSalesUnitPrice as regular price and does not perform a price lookup for this line item.- Returns:
- fixedPriceFlag
-
setFixedPriceFlag
-
taxIncludedInPriceFlag
-
isTaxIncludedInPriceFlag
Reserved for future use.- Returns:
- taxIncludedInPriceFlag
-
setTaxIncludedInPriceFlag
-
nonPieceGoodFlag
-
isNonPieceGoodFlag
Set this flag to true, if the specified quantity has a different dimension than \"piece\", for example, if fractional quantities are possible.- Returns:
- nonPieceGoodFlag
-
setNonPieceGoodFlag
-
frequentShopperPointsEligibilityFlag
public CustomerOrderForDeliveryBase frequentShopperPointsEligibilityFlag(Boolean frequentShopperPointsEligibilityFlag) -
isFrequentShopperPointsEligibilityFlag
Set this flag to true if the corresponding line item is eligible for receiving loyalty points.- Returns:
- frequentShopperPointsEligibilityFlag
-
setFrequentShopperPointsEligibilityFlag
-
discountTypeCode
-
getDiscountTypeCode
Reserved for future use.- Returns:
- discountTypeCode
-
setDiscountTypeCode
-
priceTypeCode
public CustomerOrderForDeliveryBase priceTypeCode(CustomerOrderForDeliveryBase.PriceTypeCodeEnum priceTypeCode) -
getPriceTypeCode
Reserved for future use. Value 00 corresponds to \"regular price\".- Returns:
- priceTypeCode
-
setPriceTypeCode
-
notConsideredByPriceEngineFlag
public CustomerOrderForDeliveryBase notConsideredByPriceEngineFlag(Boolean notConsideredByPriceEngineFlag) -
isNotConsideredByPriceEngineFlag
Determines if the price calculation should consider the line item as a trigger. This information is needed if another process (e.g. a return regarding to an existing transaction) applies rules for the line item that should not be applied. Assuming that the line item is discountable in general, the line item does not trigger a line-item-releated price derivation rule, get discount or get bonus points, if you set this flag to true. However, it can do so for a transaction-related price derivation rule.- Returns:
- notConsideredByPriceEngineFlag
-
setNotConsideredByPriceEngineFlag
-
frequentShopperPointsModifier
public CustomerOrderForDeliveryBase frequentShopperPointsModifier(List<FrequentShopperPointsModifierType> frequentShopperPointsModifier) -
addFrequentShopperPointsModifierItem
public CustomerOrderForDeliveryBase addFrequentShopperPointsModifierItem(FrequentShopperPointsModifierType frequentShopperPointsModifierItem) -
getFrequentShopperPointsModifier
The list of modifiers for loyalty points determined by applied price rules.- Returns:
- frequentShopperPointsModifier
-
setFrequentShopperPointsModifier
public void setFrequentShopperPointsModifier(List<FrequentShopperPointsModifierType> frequentShopperPointsModifier) -
promotionPriceDerivationRuleReference
public CustomerOrderForDeliveryBase promotionPriceDerivationRuleReference(List<PromotionPriceDerivationRuleReferenceType> promotionPriceDerivationRuleReference) -
addPromotionPriceDerivationRuleReferenceItem
public CustomerOrderForDeliveryBase addPromotionPriceDerivationRuleReferenceItem(PromotionPriceDerivationRuleReferenceType promotionPriceDerivationRuleReferenceItem) -
getPromotionPriceDerivationRuleReference
The list of promotions for which the corresponding line item contributed as an eligibility.- Returns:
- promotionPriceDerivationRuleReference
-
setPromotionPriceDerivationRuleReference
public void setPromotionPriceDerivationRuleReference(List<PromotionPriceDerivationRuleReferenceType> promotionPriceDerivationRuleReference) -
promotionManualTrigger
public CustomerOrderForDeliveryBase promotionManualTrigger(List<PromotionManualTriggerType> promotionManualTrigger) -
addPromotionManualTriggerItem
public CustomerOrderForDeliveryBase addPromotionManualTriggerItem(PromotionManualTriggerType promotionManualTriggerItem) -
getPromotionManualTrigger
Manual triggers created by the client in order to make the transaction eligible for promotions that contain eligibilities of type manual trigger.- Returns:
- promotionManualTrigger
-
setPromotionManualTrigger
-
lineItemAttribute
public CustomerOrderForDeliveryBase lineItemAttribute(List<LineItemAttributeType> lineItemAttribute) -
addLineItemAttributeItem
public CustomerOrderForDeliveryBase addLineItemAttributeItem(LineItemAttributeType lineItemAttributeItem) -
getLineItemAttribute
Attribute Value pairs on line item level. This information is taken for checking eligibilities on item level.- Returns:
- lineItemAttribute
-
setLineItemAttribute
-
equals
-
hashCode
public int hashCode() -
toString
-