Class SubstitutionPreferences
- java.lang.Object
-
- software.amazon.spapi.models.orders.v0.SubstitutionPreferences
-
public class SubstitutionPreferences extends java.lang.Object
Substitution preferences for an order item.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubstitutionPreferences.SubstitutionTypeEnum
The type of substitution that these preferences represent.
-
Constructor Summary
Constructors Constructor Description SubstitutionPreferences()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
SubstitutionOptionList
getSubstitutionOptions()
Get substitutionOptionsSubstitutionPreferences.SubstitutionTypeEnum
getSubstitutionType()
The type of substitution that these preferences represent.int
hashCode()
void
setSubstitutionOptions(SubstitutionOptionList substitutionOptions)
void
setSubstitutionType(SubstitutionPreferences.SubstitutionTypeEnum substitutionType)
SubstitutionPreferences
substitutionOptions(SubstitutionOptionList substitutionOptions)
SubstitutionPreferences
substitutionType(SubstitutionPreferences.SubstitutionTypeEnum substitutionType)
java.lang.String
toString()
-
-
-
Method Detail
-
substitutionType
public SubstitutionPreferences substitutionType(SubstitutionPreferences.SubstitutionTypeEnum substitutionType)
-
getSubstitutionType
public SubstitutionPreferences.SubstitutionTypeEnum getSubstitutionType()
The type of substitution that these preferences represent.- Returns:
- substitutionType
-
setSubstitutionType
public void setSubstitutionType(SubstitutionPreferences.SubstitutionTypeEnum substitutionType)
-
substitutionOptions
public SubstitutionPreferences substitutionOptions(SubstitutionOptionList substitutionOptions)
-
getSubstitutionOptions
public SubstitutionOptionList getSubstitutionOptions()
Get substitutionOptions- Returns:
- substitutionOptions
-
setSubstitutionOptions
public void setSubstitutionOptions(SubstitutionOptionList substitutionOptions)
-
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
-
-