Class OfferProgramConfigurationPromotionsDiscountFunding
- java.lang.Object
-
- software.amazon.spapi.models.replenishment.v2022_11_07.OfferProgramConfigurationPromotionsDiscountFunding
-
public class OfferProgramConfigurationPromotionsDiscountFunding extends java.lang.Object
A promotional percentage discount applied to the offer.
-
-
Constructor Summary
Constructors Constructor Description OfferProgramConfigurationPromotionsDiscountFunding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.math.BigDecimal
getPercentage()
The percentage discount on the offer.int
hashCode()
OfferProgramConfigurationPromotionsDiscountFunding
percentage(java.math.BigDecimal percentage)
void
setPercentage(java.math.BigDecimal percentage)
java.lang.String
toString()
-
-
-
Method Detail
-
percentage
public OfferProgramConfigurationPromotionsDiscountFunding percentage(java.math.BigDecimal percentage)
-
getPercentage
public java.math.BigDecimal getPercentage()
The percentage discount on the offer. minimum: 0 maximum: 100- Returns:
- percentage
-
setPercentage
public void setPercentage(java.math.BigDecimal percentage)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-