Class PreferredDeliveryTime
- java.lang.Object
-
- software.amazon.spapi.models.orders.v0.PreferredDeliveryTime
-
public class PreferredDeliveryTime extends java.lang.Object
The time window when the delivery is preferred.
-
-
Constructor Summary
Constructors Constructor Description PreferredDeliveryTime()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreferredDeliveryTime
addBusinessHoursItem(BusinessHours businessHoursItem)
PreferredDeliveryTime
addExceptionDatesItem(ExceptionDates exceptionDatesItem)
PreferredDeliveryTime
businessHours(java.util.List<BusinessHours> businessHours)
boolean
equals(java.lang.Object o)
PreferredDeliveryTime
exceptionDates(java.util.List<ExceptionDates> exceptionDates)
java.util.List<BusinessHours>
getBusinessHours()
Business hours when the business is open for deliveries.java.util.List<ExceptionDates>
getExceptionDates()
Dates when the business is closed during the next 30 days.int
hashCode()
void
setBusinessHours(java.util.List<BusinessHours> businessHours)
void
setExceptionDates(java.util.List<ExceptionDates> exceptionDates)
java.lang.String
toString()
-
-
-
Method Detail
-
businessHours
public PreferredDeliveryTime businessHours(java.util.List<BusinessHours> businessHours)
-
addBusinessHoursItem
public PreferredDeliveryTime addBusinessHoursItem(BusinessHours businessHoursItem)
-
getBusinessHours
public java.util.List<BusinessHours> getBusinessHours()
Business hours when the business is open for deliveries.- Returns:
- businessHours
-
setBusinessHours
public void setBusinessHours(java.util.List<BusinessHours> businessHours)
-
exceptionDates
public PreferredDeliveryTime exceptionDates(java.util.List<ExceptionDates> exceptionDates)
-
addExceptionDatesItem
public PreferredDeliveryTime addExceptionDatesItem(ExceptionDates exceptionDatesItem)
-
getExceptionDates
public java.util.List<ExceptionDates> getExceptionDates()
Dates when the business is closed during the next 30 days.- Returns:
- exceptionDates
-
setExceptionDates
public void setExceptionDates(java.util.List<ExceptionDates> exceptionDates)
-
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
-
-