Class Preference
- java.lang.Object
-
- software.amazon.spapi.models.replenishment.v2022_11_07.Preference
-
public class Preference extends java.lang.Object
Offer preferences that you can include in the result filter criteria.
-
-
Constructor Summary
Constructors Constructor Description Preference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Preference
addAutoEnrollmentItem(AutoEnrollmentPreference autoEnrollmentItem)
Preference
autoEnrollment(java.util.List<AutoEnrollmentPreference> autoEnrollment)
boolean
equals(java.lang.Object o)
java.util.List<AutoEnrollmentPreference>
getAutoEnrollment()
Filters the results to only include offers with the auto-enrollment preference specified.int
hashCode()
void
setAutoEnrollment(java.util.List<AutoEnrollmentPreference> autoEnrollment)
java.lang.String
toString()
-
-
-
Method Detail
-
autoEnrollment
public Preference autoEnrollment(java.util.List<AutoEnrollmentPreference> autoEnrollment)
-
addAutoEnrollmentItem
public Preference addAutoEnrollmentItem(AutoEnrollmentPreference autoEnrollmentItem)
-
getAutoEnrollment
public java.util.List<AutoEnrollmentPreference> getAutoEnrollment()
Filters the results to only include offers with the auto-enrollment preference specified.- Returns:
- autoEnrollment
-
setAutoEnrollment
public void setAutoEnrollment(java.util.List<AutoEnrollmentPreference> autoEnrollment)
-
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
-
-