Class FrequentShopperPointsModifierType
java.lang.Object
com.sap.retail.sapppspricing.swagger.businessobject.dto.FrequentShopperPointsModifierType
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2022-09-26T19:16:22.658615400+05:30[Asia/Calcutta]")
public class FrequentShopperPointsModifierType
extends Object
Information about changes to loyalty points triggered by applied price rules.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType code of the loyalty reward -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnyItem(Object anyItem) addPointsAwardedItem(PointsAwarded pointsAwardedItem) appliedQuantity(BigDecimal appliedQuantity) computationBaseAmount(AmountCommonData computationBaseAmount) booleanexternalSystemOriginatorFlag(Boolean externalSystemOriginatorFlag) getAny()This is currently not supported.The line item quantity contributing to this modifier.Get computationBaseAmountLink to the LoyaltyReward line item that forced the creation of this FrequentShopperPointsPriceModifier in order to keep the share of the prorated transaction-related points for the current line item.The sequence number for the trigger to be assigned to a single LoyaltyReward.The number of points awarded by the line item.Get pointsAwardedAmountGet priceDerivationRuleIdentifies the promotion that triggered the loyalty reward.Identifies this loyalty points modifier in the current line item.Type code of the loyalty rewardinthashCode()Determines if this LoyaltyReward was created by an external system.manualTriggerSequenceNumber(Integer manualTriggerSequenceNumber) pointsAwarded(List<PointsAwarded> pointsAwarded) pointsAwardedAmount(AmountCommonData pointsAwardedAmount) priceDerivationRule(PriceDerivationRuleBase priceDerivationRule) promotionID(String promotionID) sequenceNumber(Integer sequenceNumber) voidvoidsetAppliedQuantity(BigDecimal appliedQuantity) voidsetComputationBaseAmount(AmountCommonData computationBaseAmount) voidsetExternalSystemOriginatorFlag(Boolean externalSystemOriginatorFlag) voidsetItemLink(Integer itemLink) voidsetManualTriggerSequenceNumber(Integer manualTriggerSequenceNumber) voidsetPointsAwarded(List<PointsAwarded> pointsAwarded) voidsetPointsAwardedAmount(AmountCommonData pointsAwardedAmount) voidsetPriceDerivationRule(PriceDerivationRuleBase priceDerivationRule) voidsetPromotionID(String promotionID) voidsetSequenceNumber(Integer sequenceNumber) voidtoString()
-
Constructor Details
-
FrequentShopperPointsModifierType
public FrequentShopperPointsModifierType()
-
-
Method Details
-
promotionID
-
getPromotionID
Identifies the promotion that triggered the loyalty reward. Decimal representation of a 64 bit integer value.- Returns:
- promotionID
-
setPromotionID
-
pointsAwarded
-
addPointsAwardedItem
-
getPointsAwarded
The number of points awarded by the line item.- Returns:
- pointsAwarded
-
setPointsAwarded
-
manualTriggerSequenceNumber
public FrequentShopperPointsModifierType manualTriggerSequenceNumber(Integer manualTriggerSequenceNumber) -
getManualTriggerSequenceNumber
The sequence number for the trigger to be assigned to a single LoyaltyReward. It references the ManualTriggerSequenceNumber of PromotionManualTriggerType that triggered this reward. minimum: 0 maximum: 32767- Returns:
- manualTriggerSequenceNumber
-
setManualTriggerSequenceNumber
-
pointsAwardedAmount
-
getPointsAwardedAmount
Get pointsAwardedAmount- Returns:
- pointsAwardedAmount
-
setPointsAwardedAmount
-
computationBaseAmount
public FrequentShopperPointsModifierType computationBaseAmount(AmountCommonData computationBaseAmount) -
getComputationBaseAmount
Get computationBaseAmount- Returns:
- computationBaseAmount
-
setComputationBaseAmount
-
externalSystemOriginatorFlag
public FrequentShopperPointsModifierType externalSystemOriginatorFlag(Boolean externalSystemOriginatorFlag) -
isExternalSystemOriginatorFlag
Determines if this LoyaltyReward was created by an external system. If yes, it must not be changed, but its own modifications with higher sequence may be applied.- Returns:
- externalSystemOriginatorFlag
-
setExternalSystemOriginatorFlag
-
priceDerivationRule
public FrequentShopperPointsModifierType priceDerivationRule(PriceDerivationRuleBase priceDerivationRule) -
getPriceDerivationRule
Get priceDerivationRule- Returns:
- priceDerivationRule
-
setPriceDerivationRule
-
any
-
addAnyItem
-
getAny
This is currently not supported.- Returns:
- any
-
setAny
-
typeCode
public FrequentShopperPointsModifierType typeCode(FrequentShopperPointsModifierType.TypeCodeEnum typeCode) -
getTypeCode
Type code of the loyalty reward- Returns:
- typeCode
-
setTypeCode
-
sequenceNumber
-
getSequenceNumber
Identifies this loyalty points modifier in the current line item. minimum: 0 maximum: 32767- Returns:
- sequenceNumber
-
setSequenceNumber
-
appliedQuantity
-
getAppliedQuantity
The line item quantity contributing to this modifier. minimum: 0- Returns:
- appliedQuantity
-
setAppliedQuantity
-
itemLink
-
getItemLink
Link to the LoyaltyReward line item that forced the creation of this FrequentShopperPointsPriceModifier in order to keep the share of the prorated transaction-related points for the current line item. It is not used in the context of modifying points for a dedicated line item. minimum: 0 maximum: 32767- Returns:
- itemLink
-
setItemLink
-
equals
-
hashCode
public int hashCode() -
toString
-