Class FulfillmentPreview
- java.lang.Object
-
- software.amazon.spapi.models.fulfillment.outbound.v2020_07_01.FulfillmentPreview
-
public class FulfillmentPreview extends java.lang.Object
Information about a fulfillment order preview, including delivery and fee information based on shipping method.
-
-
Constructor Summary
Constructors Constructor Description FulfillmentPreview()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FulfillmentPreview
addFeatureConstraintsItem(FeatureSettings featureConstraintsItem)
boolean
equals(java.lang.Object o)
FulfillmentPreview
estimatedFees(FeeList estimatedFees)
FulfillmentPreview
estimatedShippingWeight(Weight estimatedShippingWeight)
FulfillmentPreview
featureConstraints(java.util.List<FeatureSettings> featureConstraints)
FulfillmentPreview
fulfillmentPreviewShipments(FulfillmentPreviewShipmentList fulfillmentPreviewShipments)
FeeList
getEstimatedFees()
Get estimatedFeesWeight
getEstimatedShippingWeight()
Get estimatedShippingWeightjava.util.List<FeatureSettings>
getFeatureConstraints()
A list of features and their fulfillment policies to apply to the order.FulfillmentPreviewShipmentList
getFulfillmentPreviewShipments()
Get fulfillmentPreviewShipmentsjava.lang.String
getMarketplaceId()
The marketplace the fulfillment order is placed against.StringList
getOrderUnfulfillableReasons()
Get orderUnfulfillableReasonsScheduledDeliveryInfo
getScheduledDeliveryInfo()
Get scheduledDeliveryInfoShippingSpeedCategory
getShippingSpeedCategory()
Get shippingSpeedCategoryUnfulfillablePreviewItemList
getUnfulfillablePreviewItems()
Get unfulfillablePreviewItemsint
hashCode()
FulfillmentPreview
isCODCapable(java.lang.Boolean isCODCapable)
FulfillmentPreview
isFulfillable(java.lang.Boolean isFulfillable)
java.lang.Boolean
isIsCODCapable()
When true, this fulfillment order preview is for COD (Cash On Delivery).java.lang.Boolean
isIsFulfillable()
When true, this fulfillment order preview is fulfillable.FulfillmentPreview
marketplaceId(java.lang.String marketplaceId)
FulfillmentPreview
orderUnfulfillableReasons(StringList orderUnfulfillableReasons)
FulfillmentPreview
scheduledDeliveryInfo(ScheduledDeliveryInfo scheduledDeliveryInfo)
void
setEstimatedFees(FeeList estimatedFees)
void
setEstimatedShippingWeight(Weight estimatedShippingWeight)
void
setFeatureConstraints(java.util.List<FeatureSettings> featureConstraints)
void
setFulfillmentPreviewShipments(FulfillmentPreviewShipmentList fulfillmentPreviewShipments)
void
setIsCODCapable(java.lang.Boolean isCODCapable)
void
setIsFulfillable(java.lang.Boolean isFulfillable)
void
setMarketplaceId(java.lang.String marketplaceId)
void
setOrderUnfulfillableReasons(StringList orderUnfulfillableReasons)
void
setScheduledDeliveryInfo(ScheduledDeliveryInfo scheduledDeliveryInfo)
void
setShippingSpeedCategory(ShippingSpeedCategory shippingSpeedCategory)
void
setUnfulfillablePreviewItems(UnfulfillablePreviewItemList unfulfillablePreviewItems)
FulfillmentPreview
shippingSpeedCategory(ShippingSpeedCategory shippingSpeedCategory)
java.lang.String
toString()
FulfillmentPreview
unfulfillablePreviewItems(UnfulfillablePreviewItemList unfulfillablePreviewItems)
-
-
-
Method Detail
-
shippingSpeedCategory
public FulfillmentPreview shippingSpeedCategory(ShippingSpeedCategory shippingSpeedCategory)
-
getShippingSpeedCategory
public ShippingSpeedCategory getShippingSpeedCategory()
Get shippingSpeedCategory- Returns:
- shippingSpeedCategory
-
setShippingSpeedCategory
public void setShippingSpeedCategory(ShippingSpeedCategory shippingSpeedCategory)
-
scheduledDeliveryInfo
public FulfillmentPreview scheduledDeliveryInfo(ScheduledDeliveryInfo scheduledDeliveryInfo)
-
getScheduledDeliveryInfo
public ScheduledDeliveryInfo getScheduledDeliveryInfo()
Get scheduledDeliveryInfo- Returns:
- scheduledDeliveryInfo
-
setScheduledDeliveryInfo
public void setScheduledDeliveryInfo(ScheduledDeliveryInfo scheduledDeliveryInfo)
-
isFulfillable
public FulfillmentPreview isFulfillable(java.lang.Boolean isFulfillable)
-
isIsFulfillable
public java.lang.Boolean isIsFulfillable()
When true, this fulfillment order preview is fulfillable.- Returns:
- isFulfillable
-
setIsFulfillable
public void setIsFulfillable(java.lang.Boolean isFulfillable)
-
isCODCapable
public FulfillmentPreview isCODCapable(java.lang.Boolean isCODCapable)
-
isIsCODCapable
public java.lang.Boolean isIsCODCapable()
When true, this fulfillment order preview is for COD (Cash On Delivery).- Returns:
- isCODCapable
-
setIsCODCapable
public void setIsCODCapable(java.lang.Boolean isCODCapable)
-
estimatedShippingWeight
public FulfillmentPreview estimatedShippingWeight(Weight estimatedShippingWeight)
-
getEstimatedShippingWeight
public Weight getEstimatedShippingWeight()
Get estimatedShippingWeight- Returns:
- estimatedShippingWeight
-
setEstimatedShippingWeight
public void setEstimatedShippingWeight(Weight estimatedShippingWeight)
-
estimatedFees
public FulfillmentPreview estimatedFees(FeeList estimatedFees)
-
getEstimatedFees
public FeeList getEstimatedFees()
Get estimatedFees- Returns:
- estimatedFees
-
setEstimatedFees
public void setEstimatedFees(FeeList estimatedFees)
-
fulfillmentPreviewShipments
public FulfillmentPreview fulfillmentPreviewShipments(FulfillmentPreviewShipmentList fulfillmentPreviewShipments)
-
getFulfillmentPreviewShipments
public FulfillmentPreviewShipmentList getFulfillmentPreviewShipments()
Get fulfillmentPreviewShipments- Returns:
- fulfillmentPreviewShipments
-
setFulfillmentPreviewShipments
public void setFulfillmentPreviewShipments(FulfillmentPreviewShipmentList fulfillmentPreviewShipments)
-
unfulfillablePreviewItems
public FulfillmentPreview unfulfillablePreviewItems(UnfulfillablePreviewItemList unfulfillablePreviewItems)
-
getUnfulfillablePreviewItems
public UnfulfillablePreviewItemList getUnfulfillablePreviewItems()
Get unfulfillablePreviewItems- Returns:
- unfulfillablePreviewItems
-
setUnfulfillablePreviewItems
public void setUnfulfillablePreviewItems(UnfulfillablePreviewItemList unfulfillablePreviewItems)
-
orderUnfulfillableReasons
public FulfillmentPreview orderUnfulfillableReasons(StringList orderUnfulfillableReasons)
-
getOrderUnfulfillableReasons
public StringList getOrderUnfulfillableReasons()
Get orderUnfulfillableReasons- Returns:
- orderUnfulfillableReasons
-
setOrderUnfulfillableReasons
public void setOrderUnfulfillableReasons(StringList orderUnfulfillableReasons)
-
marketplaceId
public FulfillmentPreview marketplaceId(java.lang.String marketplaceId)
-
getMarketplaceId
public java.lang.String getMarketplaceId()
The marketplace the fulfillment order is placed against.- Returns:
- marketplaceId
-
setMarketplaceId
public void setMarketplaceId(java.lang.String marketplaceId)
-
featureConstraints
public FulfillmentPreview featureConstraints(java.util.List<FeatureSettings> featureConstraints)
-
addFeatureConstraintsItem
public FulfillmentPreview addFeatureConstraintsItem(FeatureSettings featureConstraintsItem)
-
getFeatureConstraints
public java.util.List<FeatureSettings> getFeatureConstraints()
A list of features and their fulfillment policies to apply to the order.- Returns:
- featureConstraints
-
setFeatureConstraints
public void setFeatureConstraints(java.util.List<FeatureSettings> featureConstraints)
-
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
-
-