public class

FulfillmentPreview

extends Object
implements Serializable
java.lang.Object
   ↳ com.amazonaws.fba_outbound.doc._2007_08_02.FulfillmentPreview

Class Overview

Provides information regarding the fulfillability of an order and a specific shipping speed. This can also provide information regarding the fees associated with fulfilling this order. ShippingSpeedCategory - provides the relative speed for this particular order IsFulfillable - True means Fulfillable, False means Unfulfillable EstimatedShippingWeight - the estimated shipping weight for the shipment described. EstimatedFees - if applicable the estimated fees for this order FulfillmentPreviewShipments - a list of fulfillable shipments UnfulfillableItems - a list of unfulfillable items OrderUnfulfillableReasons - error codes associated at the order level. Tries to explain why the order was unfulfillable. * DeliverySLAUnavailable * InvalidDestinationAddress

Summary

Fields
private Object __equalsCalc
private boolean __hashCodeCalc
private Fee[] estimatedFees
private Weight estimatedShippingWeight
private FulfillmentPreviewShipment[] fulfillmentPreviewShipments
private boolean isFulfillable
private String[] orderUnfulfillableReasons
private String shippingSpeedCategory
private static TypeDesc typeDesc
private UnfulfillablePreviewItem[] unfulfillablePreviewItems
Public Constructors
FulfillmentPreview()
FulfillmentPreview(String shippingSpeedCategory, boolean isFulfillable, Weight estimatedShippingWeight, Fee[] estimatedFees, FulfillmentPreviewShipment[] fulfillmentPreviewShipments, UnfulfillablePreviewItem[] unfulfillablePreviewItems, String[] orderUnfulfillableReasons)
Public Methods
synchronized boolean equals(Object obj)
static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
Get Custom Deserializer
Fee getEstimatedFees(int i)
Fee[] getEstimatedFees()
Gets the estimatedFees value for this FulfillmentPreview.
Weight getEstimatedShippingWeight()
Gets the estimatedShippingWeight value for this FulfillmentPreview.
FulfillmentPreviewShipment[] getFulfillmentPreviewShipments()
Gets the fulfillmentPreviewShipments value for this FulfillmentPreview.
FulfillmentPreviewShipment getFulfillmentPreviewShipments(int i)
String getOrderUnfulfillableReasons(int i)
String[] getOrderUnfulfillableReasons()
Gets the orderUnfulfillableReasons value for this FulfillmentPreview.
static Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Get Custom Serializer
String getShippingSpeedCategory()
Gets the shippingSpeedCategory value for this FulfillmentPreview.
static TypeDesc getTypeDesc()
Return type metadata object
UnfulfillablePreviewItem[] getUnfulfillablePreviewItems()
Gets the unfulfillablePreviewItems value for this FulfillmentPreview.
UnfulfillablePreviewItem getUnfulfillablePreviewItems(int i)
synchronized int hashCode()
boolean isIsFulfillable()
Gets the isFulfillable value for this FulfillmentPreview.
void setEstimatedFees(int i, Fee _value)
void setEstimatedFees(Fee[] estimatedFees)
Sets the estimatedFees value for this FulfillmentPreview.
void setEstimatedShippingWeight(Weight estimatedShippingWeight)
Sets the estimatedShippingWeight value for this FulfillmentPreview.
void setFulfillmentPreviewShipments(FulfillmentPreviewShipment[] fulfillmentPreviewShipments)
Sets the fulfillmentPreviewShipments value for this FulfillmentPreview.
void setFulfillmentPreviewShipments(int i, FulfillmentPreviewShipment _value)
void setIsFulfillable(boolean isFulfillable)
Sets the isFulfillable value for this FulfillmentPreview.
void setOrderUnfulfillableReasons(int i, String _value)
void setOrderUnfulfillableReasons(String[] orderUnfulfillableReasons)
Sets the orderUnfulfillableReasons value for this FulfillmentPreview.
void setShippingSpeedCategory(String shippingSpeedCategory)
Sets the shippingSpeedCategory value for this FulfillmentPreview.
void setUnfulfillablePreviewItems(UnfulfillablePreviewItem[] unfulfillablePreviewItems)
Sets the unfulfillablePreviewItems value for this FulfillmentPreview.
void setUnfulfillablePreviewItems(int i, UnfulfillablePreviewItem _value)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private Object __equalsCalc

private boolean __hashCodeCalc

private Fee[] estimatedFees

private Weight estimatedShippingWeight

private FulfillmentPreviewShipment[] fulfillmentPreviewShipments

private boolean isFulfillable

private String[] orderUnfulfillableReasons

private String shippingSpeedCategory

private static TypeDesc typeDesc

private UnfulfillablePreviewItem[] unfulfillablePreviewItems

Public Constructors

public FulfillmentPreview ()

public FulfillmentPreview (String shippingSpeedCategory, boolean isFulfillable, Weight estimatedShippingWeight, Fee[] estimatedFees, FulfillmentPreviewShipment[] fulfillmentPreviewShipments, UnfulfillablePreviewItem[] unfulfillablePreviewItems, String[] orderUnfulfillableReasons)

Parameters
shippingSpeedCategory
isFulfillable
estimatedShippingWeight
estimatedFees
fulfillmentPreviewShipments
unfulfillablePreviewItems
orderUnfulfillableReasons

Public Methods

public synchronized boolean equals (Object obj)

Parameters
obj

public static Deserializer getDeserializer (String mechType, Class _javaType, QName _xmlType)

Get Custom Deserializer

Parameters
mechType
_javaType
_xmlType

public Fee getEstimatedFees (int i)

Parameters
i

public Fee[] getEstimatedFees ()

Gets the estimatedFees value for this FulfillmentPreview.

Returns
  • estimatedFees

public Weight getEstimatedShippingWeight ()

Gets the estimatedShippingWeight value for this FulfillmentPreview.

Returns
  • estimatedShippingWeight

public FulfillmentPreviewShipment[] getFulfillmentPreviewShipments ()

Gets the fulfillmentPreviewShipments value for this FulfillmentPreview.

Returns
  • fulfillmentPreviewShipments

public FulfillmentPreviewShipment getFulfillmentPreviewShipments (int i)

Parameters
i

public String getOrderUnfulfillableReasons (int i)

Parameters
i

public String[] getOrderUnfulfillableReasons ()

Gets the orderUnfulfillableReasons value for this FulfillmentPreview.

Returns
  • orderUnfulfillableReasons

public static Serializer getSerializer (String mechType, Class _javaType, QName _xmlType)

Get Custom Serializer

Parameters
mechType
_javaType
_xmlType

public String getShippingSpeedCategory ()

Gets the shippingSpeedCategory value for this FulfillmentPreview.

Returns
  • shippingSpeedCategory

public static TypeDesc getTypeDesc ()

Return type metadata object

public UnfulfillablePreviewItem[] getUnfulfillablePreviewItems ()

Gets the unfulfillablePreviewItems value for this FulfillmentPreview.

Returns
  • unfulfillablePreviewItems

public UnfulfillablePreviewItem getUnfulfillablePreviewItems (int i)

Parameters
i

public synchronized int hashCode ()

public boolean isIsFulfillable ()

Gets the isFulfillable value for this FulfillmentPreview.

Returns
  • isFulfillable

public void setEstimatedFees (int i, Fee _value)

Parameters
i
_value

public void setEstimatedFees (Fee[] estimatedFees)

Sets the estimatedFees value for this FulfillmentPreview.

Parameters
estimatedFees

public void setEstimatedShippingWeight (Weight estimatedShippingWeight)

Sets the estimatedShippingWeight value for this FulfillmentPreview.

Parameters
estimatedShippingWeight

public void setFulfillmentPreviewShipments (FulfillmentPreviewShipment[] fulfillmentPreviewShipments)

Sets the fulfillmentPreviewShipments value for this FulfillmentPreview.

Parameters
fulfillmentPreviewShipments

public void setFulfillmentPreviewShipments (int i, FulfillmentPreviewShipment _value)

Parameters
i
_value

public void setIsFulfillable (boolean isFulfillable)

Sets the isFulfillable value for this FulfillmentPreview.

Parameters
isFulfillable

public void setOrderUnfulfillableReasons (int i, String _value)

Parameters
i
_value

public void setOrderUnfulfillableReasons (String[] orderUnfulfillableReasons)

Sets the orderUnfulfillableReasons value for this FulfillmentPreview.

Parameters
orderUnfulfillableReasons

public void setShippingSpeedCategory (String shippingSpeedCategory)

Sets the shippingSpeedCategory value for this FulfillmentPreview.

Parameters
shippingSpeedCategory

public void setUnfulfillablePreviewItems (UnfulfillablePreviewItem[] unfulfillablePreviewItems)

Sets the unfulfillablePreviewItems value for this FulfillmentPreview.

Parameters
unfulfillablePreviewItems

public void setUnfulfillablePreviewItems (int i, UnfulfillablePreviewItem _value)

Parameters
i
_value