Class DeliveryPreferences
- java.lang.Object
-
- software.amazon.spapi.models.orders.v0.DeliveryPreferences
-
public class DeliveryPreferences extends java.lang.Object
Contains all of the delivery instructions provided by the customer for the shipping address.
-
-
Constructor Summary
Constructors Constructor Description DeliveryPreferences()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeliveryPreferences
addOtherAttributesItem(OtherDeliveryAttributes otherAttributesItem)
DeliveryPreferences
addressInstructions(java.lang.String addressInstructions)
DeliveryPreferences
dropOffLocation(java.lang.String dropOffLocation)
boolean
equals(java.lang.Object o)
java.lang.String
getAddressInstructions()
Building instructions, nearby landmark or navigation instructions.java.lang.String
getDropOffLocation()
Drop-off location selected by the customer.java.util.List<OtherDeliveryAttributes>
getOtherAttributes()
Enumerated list of miscellaneous delivery attributes associated with the shipping address.PreferredDeliveryTime
getPreferredDeliveryTime()
Get preferredDeliveryTimeint
hashCode()
DeliveryPreferences
otherAttributes(java.util.List<OtherDeliveryAttributes> otherAttributes)
DeliveryPreferences
preferredDeliveryTime(PreferredDeliveryTime preferredDeliveryTime)
void
setAddressInstructions(java.lang.String addressInstructions)
void
setDropOffLocation(java.lang.String dropOffLocation)
void
setOtherAttributes(java.util.List<OtherDeliveryAttributes> otherAttributes)
void
setPreferredDeliveryTime(PreferredDeliveryTime preferredDeliveryTime)
java.lang.String
toString()
-
-
-
Method Detail
-
dropOffLocation
public DeliveryPreferences dropOffLocation(java.lang.String dropOffLocation)
-
getDropOffLocation
public java.lang.String getDropOffLocation()
Drop-off location selected by the customer.- Returns:
- dropOffLocation
-
setDropOffLocation
public void setDropOffLocation(java.lang.String dropOffLocation)
-
preferredDeliveryTime
public DeliveryPreferences preferredDeliveryTime(PreferredDeliveryTime preferredDeliveryTime)
-
getPreferredDeliveryTime
public PreferredDeliveryTime getPreferredDeliveryTime()
Get preferredDeliveryTime- Returns:
- preferredDeliveryTime
-
setPreferredDeliveryTime
public void setPreferredDeliveryTime(PreferredDeliveryTime preferredDeliveryTime)
-
otherAttributes
public DeliveryPreferences otherAttributes(java.util.List<OtherDeliveryAttributes> otherAttributes)
-
addOtherAttributesItem
public DeliveryPreferences addOtherAttributesItem(OtherDeliveryAttributes otherAttributesItem)
-
getOtherAttributes
public java.util.List<OtherDeliveryAttributes> getOtherAttributes()
Enumerated list of miscellaneous delivery attributes associated with the shipping address.- Returns:
- otherAttributes
-
setOtherAttributes
public void setOtherAttributes(java.util.List<OtherDeliveryAttributes> otherAttributes)
-
addressInstructions
public DeliveryPreferences addressInstructions(java.lang.String addressInstructions)
-
getAddressInstructions
public java.lang.String getAddressInstructions()
Building instructions, nearby landmark or navigation instructions.- Returns:
- addressInstructions
-
setAddressInstructions
public void setAddressInstructions(java.lang.String addressInstructions)
-
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
-
-