public class

AmazonFWSInboundBindingStub

extends Stub
implements AmazonFWSInboundPortType
java.lang.Object
   ↳ org.apache.axis.client.Stub
     ↳ com.amazonaws.fba_inbound.doc._2007_05_10.AmazonFWSInboundBindingStub

Summary

[Expand]
Inherited Constants
From interface javax.xml.rpc.Stub
Fields
static OperationDesc[] _operations
private Vector cachedDeserFactories
private Vector cachedSerClasses
private Vector cachedSerFactories
private Vector cachedSerQNames
[Expand]
Inherited Fields
From class org.apache.axis.client.Stub
Public Constructors
AmazonFWSInboundBindingStub()
AmazonFWSInboundBindingStub(URL endpointURL, Service service)
AmazonFWSInboundBindingStub(Service service)
Public Methods
ResponseMetadata deleteInboundShipmentItems(String shipmentId, String[] merchantSKU)
Removes line items from the pre-existing shipment specified by the ShipmentId.
void getFulfillmentIdentifier(MerchantItem[] merchantItem, GetFulfillmentIdentifierResultHolder getFulfillmentIdentifierResult, ResponseMetadataHolder responseMetadata)
Gets the Fulfillment Network SKU (FNSKU) for each supplied Merchant Item, creating it if needed.
void getFulfillmentIdentifierForMSKU(String[] merchantSKU, GetFulfillmentIdentifierForMSKUResultHolder getFulfillmentIdentifierForMSKUResult, ResponseMetadataHolder responseMetadata)
Gets the Fulfillment Network SKU (FNSKU) for each supplied Merchant Item, creating it if needed.
void getFulfillmentItemByFNSKU(String[] fulfillmentNetworkSKU, GetFulfillmentItemByFNSKUResultHolder getFulfillmentItemByFNSKUResult, ResponseMetadataHolder responseMetadata)
Gets fulfillment item data for the provided Fulfillment Network SKUs.
void getFulfillmentItemByMSKU(String[] merchantSKU, GetFulfillmentItemByMSKUResultHolder getFulfillmentItemByMSKUResult, ResponseMetadataHolder responseMetadata)
Gets fulfillment item data for the provided Merchant SKUs.
void getInboundShipmentData(String shipmentId, GetInboundShipmentDataResultHolder getInboundShipmentDataResult, ResponseMetadataHolder responseMetadata)
Gets the merchant's inbound shipment header information for the given ShipmentId.
void getInboundShipmentPreview(Address shipFromAddress, MerchantSKUQuantityItem[] merchantSKUQuantityItem, LabelPrepPreference labelPrepPreference, GetInboundShipmentPreviewResultHolder getInboundShipmentPreviewResult, ResponseMetadataHolder responseMetadata)
Returns the information needed to create a set of shipments for the given collection of items and source address.
void getServiceStatus(GetServiceStatusResultHolder getServiceStatusResult, ResponseMetadataHolder responseMetadata)
Gets a brief status message from the service.
void listAllFulfillmentItems(Boolean includeInactive, Integer maxCount, ListAllFulfillmentItemsResultHolder listAllFulfillmentItemsResult, ResponseMetadataHolder responseMetadata)
Gets the first set of fulfillment items registered to a merchant and returns a NextToken which can be used to iterate through the remaining fulfillment items (via the 'ListAllFulfillmentItemsByNextToken operation).
void listAllFulfillmentItemsByNextToken(String nextToken, ListAllFulfillmentItemsByNextTokenResultHolder listAllFulfillmentItemsByNextTokenResult, ResponseMetadataHolder responseMetadata)
Gets the next set of fulfillment items registered to a merchant and returns a NextToken which can be used to iterate through the remaining fulfillment items.
void listInboundShipmentItems(String shipmentId, Integer maxCount, ListInboundShipmentItemsResultHolder listInboundShipmentItemsResult, ResponseMetadataHolder responseMetadata)
Gets the first set of inbound shipment items for the given ShipmentId.
void listInboundShipmentItemsByNextToken(String nextToken, ListInboundShipmentItemsByNextTokenResultHolder listInboundShipmentItemsByNextTokenResult, ResponseMetadataHolder responseMetadata)
Gets the next set of inbound shipment items and returns the NextToken which can be used to iterate through the remaining inbound shipment items.
void listInboundShipments(ShipmentStatus[] shipmentStatus, Calendar createdBefore, Calendar createdAfter, Integer maxCount, ListInboundShipmentsResultHolder listInboundShipmentsResult, ResponseMetadataHolder responseMetadata)
Get the first set of inbound shipments created by a merchant according to the specified query parameters.
void listInboundShipmentsByNextToken(String nextToken, ListInboundShipmentsByNextTokenResultHolder listInboundShipmentsByNextTokenResult, ResponseMetadataHolder responseMetadata)
Gets the next set of inbound shipments created by a merchant and returns the next NextToken which can be used to iterate through the remaining inbound shipments.
ResponseMetadata putInboundShipment(String shipmentId, String shipmentName, String destinationFulfillmentCenter, Address shipFromAddress, LabelPrepPreference labelPrepPreference, MerchantSKUQuantityItem[] merchantSKUQuantityItem)
Creates or replaces information about a shipment.
ResponseMetadata putInboundShipmentData(String shipmentId, String shipmentName, String destinationFulfillmentCenter, Address shipFromAddress, LabelPrepPreference labelPrepPreference)
Adds or replaces the merchant's inbound shipment header information for the given ShipmentId.
ResponseMetadata putInboundShipmentItems(String shipmentId, MerchantSKUQuantityItem[] merchantSKUQuantityItem)
Adds line items to the pre-existing shipment specified by the ShipmentId.
ResponseMetadata setInboundShipmentStatus(String shipmentId, ShipmentStatus shipmentStatus)
Sets the inbound shipment status to the specified ShipmentStatus.
Protected Methods
Call createCall()
[Expand]
Inherited Methods
From class org.apache.axis.client.Stub
From class java.lang.Object
From interface com.amazonaws.fba_inbound.doc._2007_05_10.AmazonFWSInboundPortType
From interface javax.xml.rpc.Stub

Fields

static OperationDesc[] _operations

private Vector cachedDeserFactories

private Vector cachedSerClasses

private Vector cachedSerFactories

private Vector cachedSerQNames

Public Constructors

public AmazonFWSInboundBindingStub ()

Throws
AxisFault

public AmazonFWSInboundBindingStub (URL endpointURL, Service service)

Parameters
endpointURL
service
Throws
AxisFault

public AmazonFWSInboundBindingStub (Service service)

Parameters
service
Throws
AxisFault

Public Methods

public ResponseMetadata deleteInboundShipmentItems (String shipmentId, String[] merchantSKU)

Removes line items from the pre-existing shipment specified by the ShipmentId. If the MerchantSKU is not currently a part of the shipment, then that particular line item will be ignored and all others will still be processed. Call PutInboundShipment to create the shipment to be worked on. This call will return an exception when attempting to remove line items from a shipment that is in a status of 'Receiving' or later.

Parameters
shipmentId
merchantSKU
Throws
RemoteException

public void getFulfillmentIdentifier (MerchantItem[] merchantItem, GetFulfillmentIdentifierResultHolder getFulfillmentIdentifierResult, ResponseMetadataHolder responseMetadata)

Gets the Fulfillment Network SKU (FNSKU) for each supplied Merchant Item, creating it if needed. This operation is idempotent in that it can be called multiple times without any adverse effects. This operation is necessary to register items for Amazon fulfillment in order to send them to Amazon, but does NOT do the work of marking any offer for this item as Amazon-fulfilled. Providing more than 250 Merchant Items will result in an error. NOTE: Use this operation over GetFulfillmentIdentifierForMSKU if an offer does NOT already exist for the MerchantSKU.

Parameters
merchantItem
getFulfillmentIdentifierResult
responseMetadata
Throws
RemoteException

public void getFulfillmentIdentifierForMSKU (String[] merchantSKU, GetFulfillmentIdentifierForMSKUResultHolder getFulfillmentIdentifierForMSKUResult, ResponseMetadataHolder responseMetadata)

Gets the Fulfillment Network SKU (FNSKU) for each supplied Merchant Item, creating it if needed. This operation is idempotent in that it can be called multiple times without any adverse effects. This operation is necessary to register items for Amazon fulfillment in order to send them to Amazon, but does NOT do the work of marking any offer for this item as Amazon-fulfilled. Providing more than 250 Merchant Items will result in an error. NOTE: Use this operation over GetFulfillmentIdentifier if an offer already exists for the SKU.

Parameters
merchantSKU
getFulfillmentIdentifierForMSKUResult
responseMetadata
Throws
RemoteException

public void getFulfillmentItemByFNSKU (String[] fulfillmentNetworkSKU, GetFulfillmentItemByFNSKUResultHolder getFulfillmentItemByFNSKUResult, ResponseMetadataHolder responseMetadata)

Gets fulfillment item data for the provided Fulfillment Network SKUs. If any of the provided FNSKUs are invalid they will be ignored and only the valid SKUs will be returned. NOTE: Providing more than 2,000 FNSKUs will result in an error.

Parameters
fulfillmentNetworkSKU
getFulfillmentItemByFNSKUResult
responseMetadata
Throws
RemoteException

public void getFulfillmentItemByMSKU (String[] merchantSKU, GetFulfillmentItemByMSKUResultHolder getFulfillmentItemByMSKUResult, ResponseMetadataHolder responseMetadata)

Gets fulfillment item data for the provided Merchant SKUs. If any of the provided MSKUs are invalid (e.g. does not have an assigned Fulfillment Network SKU) they will be ignored and only the valid SKUs will be returned. NOTE: Providing more than 2,000 MSKUs will result in an error.

Parameters
merchantSKU
getFulfillmentItemByMSKUResult
responseMetadata
Throws
RemoteException

public void getInboundShipmentData (String shipmentId, GetInboundShipmentDataResultHolder getInboundShipmentDataResult, ResponseMetadataHolder responseMetadata)

Gets the merchant's inbound shipment header information for the given ShipmentId.

Parameters
shipmentId
getInboundShipmentDataResult
responseMetadata
Throws
RemoteException

public void getInboundShipmentPreview (Address shipFromAddress, MerchantSKUQuantityItem[] merchantSKUQuantityItem, LabelPrepPreference labelPrepPreference, GetInboundShipmentPreviewResultHolder getInboundShipmentPreviewResult, ResponseMetadataHolder responseMetadata)

Returns the information needed to create a set of shipments for the given collection of items and source address. When all the items are not all in the same category (e.g. some sortable, some non-sortable) it may be necessary to create multiple shipments (one for each of the shipment groups returned).

Parameters
shipFromAddress
merchantSKUQuantityItem
labelPrepPreference
getInboundShipmentPreviewResult
responseMetadata
Throws
RemoteException

public void getServiceStatus (GetServiceStatusResultHolder getServiceStatusResult, ResponseMetadataHolder responseMetadata)

Gets a brief status message from the service.

Parameters
getServiceStatusResult
responseMetadata
Throws
RemoteException

public void listAllFulfillmentItems (Boolean includeInactive, Integer maxCount, ListAllFulfillmentItemsResultHolder listAllFulfillmentItemsResult, ResponseMetadataHolder responseMetadata)

Gets the first set of fulfillment items registered to a merchant and returns a NextToken which can be used to iterate through the remaining fulfillment items (via the 'ListAllFulfillmentItemsByNextToken operation). The service will return between 1 and 'MaxCount' number of items. Please check the value of 'HasNext' to determine whether there were some items which were not returned. If 'IncludeInactive' is set to true, it will return both active and inactive mappings (this parameter defaults to false). Inactive mappings can be used to track inventory in Amazon's fulfillment centers although they can't be fulfilled.

Parameters
includeInactive
maxCount
listAllFulfillmentItemsResult
responseMetadata
Throws
RemoteException

public void listAllFulfillmentItemsByNextToken (String nextToken, ListAllFulfillmentItemsByNextTokenResultHolder listAllFulfillmentItemsByNextTokenResult, ResponseMetadataHolder responseMetadata)

Gets the next set of fulfillment items registered to a merchant and returns a NextToken which can be used to iterate through the remaining fulfillment items. The service will return between 1 and 'MaxCount' number of items. Please check the value of 'HasNext' to determine whether there were some items which were not returned.

Parameters
nextToken
listAllFulfillmentItemsByNextTokenResult
responseMetadata
Throws
RemoteException

public void listInboundShipmentItems (String shipmentId, Integer maxCount, ListInboundShipmentItemsResultHolder listInboundShipmentItemsResult, ResponseMetadataHolder responseMetadata)

Gets the first set of inbound shipment items for the given ShipmentId. A NextToken is also returned to further iterate through the merchant's remaining inbound shipment items. The service will return between 1 and 'MaxCount' number of shipment items. Please check the value of 'HasNext' to determine whether there are some items which were not returned. To get the next set of inbound shipment items, you must call ListInboundShipmentItemsByNextToken and pass in the 'NextToken' this call returned.

Parameters
shipmentId
maxCount
listInboundShipmentItemsResult
responseMetadata
Throws
RemoteException

public void listInboundShipmentItemsByNextToken (String nextToken, ListInboundShipmentItemsByNextTokenResultHolder listInboundShipmentItemsByNextTokenResult, ResponseMetadataHolder responseMetadata)

Gets the next set of inbound shipment items and returns the NextToken which can be used to iterate through the remaining inbound shipment items. The service will return between 1 and 'MaxCount' number of shipment items. Please check the value of 'HasNext' to determine whether there are some items which were not returned. You must first call ListInboundShipmentItems to get a 'NextToken'.

Parameters
nextToken
listInboundShipmentItemsByNextTokenResult
responseMetadata
Throws
RemoteException

public void listInboundShipments (ShipmentStatus[] shipmentStatus, Calendar createdBefore, Calendar createdAfter, Integer maxCount, ListInboundShipmentsResultHolder listInboundShipmentsResult, ResponseMetadataHolder responseMetadata)

Get the first set of inbound shipments created by a merchant according to the specified query parameters. A NextToken is also returned to further iterate through the merchant's remaining shipments. The service will return between 1 and 'MaxCount' number of items. Please check the value of 'HasNext' to determine whether there were some items which were not returned. If ShipmentStatus is not set, then all shipments for a merchant will be returned, otherwise only shipments in the specified status will be returned. If CreatedBefore is set, only shipments which were created before the specified date will be returned (if left unspecified, it defaults to "now"). If CreatedAfter is set, only shipments which were created after the specified date will be returned (if left unspecified, it defaults to the epoch). NOTE: The CreatedBefore and CreatedAfter functionality is not currently implemented and defaults to the values mentioned above.

Parameters
shipmentStatus
createdBefore
createdAfter
maxCount
listInboundShipmentsResult
responseMetadata
Throws
RemoteException

public void listInboundShipmentsByNextToken (String nextToken, ListInboundShipmentsByNextTokenResultHolder listInboundShipmentsByNextTokenResult, ResponseMetadataHolder responseMetadata)

Gets the next set of inbound shipments created by a merchant and returns the next NextToken which can be used to iterate through the remaining inbound shipments. The service will return between 1 and 'MaxCount' number of items. Please check the value of 'HasNext' to determine whether there were some items which were not returned.

Parameters
nextToken
listInboundShipmentsByNextTokenResult
responseMetadata
Throws
RemoteException

public ResponseMetadata putInboundShipment (String shipmentId, String shipmentName, String destinationFulfillmentCenter, Address shipFromAddress, LabelPrepPreference labelPrepPreference, MerchantSKUQuantityItem[] merchantSKUQuantityItem)

Creates or replaces information about a shipment. If the shipment already exists, the information about the shipment (and its associated items) will be replaced (for the provided ShipmentId). If the shipment does not exist, one will be created. Note, the merchant should call SetInboundShipmentStatus with a status of 'Shipped' when the shipment is picked up, or set the status to 'Cancelled' if the shipment is abandoned. The intial status of a shipment will be set to 'Working'. Once a shipment's status has been set to 'Shipped', the merchant may make no further changes except to update the status to 'Cancelled'. Any items not received at the time a shipment is 'Cancelled' will be sidelined if they arrive at the fulfillment center. This operation will simply return a requestId upon success, otherwise an explicit error will be returned. NOTE: If you are experiencing time-outs due to too many items in the shipment, calling this operation with a subset of the items should work. You may add more items to the shipment by calling PutInboundShipmentItems.

Parameters
shipmentId
shipmentName
destinationFulfillmentCenter
shipFromAddress
labelPrepPreference
merchantSKUQuantityItem
Throws
RemoteException

public ResponseMetadata putInboundShipmentData (String shipmentId, String shipmentName, String destinationFulfillmentCenter, Address shipFromAddress, LabelPrepPreference labelPrepPreference)

Adds or replaces the merchant's inbound shipment header information for the given ShipmentId.

Parameters
shipmentId
shipmentName
destinationFulfillmentCenter
shipFromAddress
labelPrepPreference
Throws
RemoteException

public ResponseMetadata putInboundShipmentItems (String shipmentId, MerchantSKUQuantityItem[] merchantSKUQuantityItem)

Adds line items to the pre-existing shipment specified by the ShipmentId. If the MerchantSKU is already in the shipment, then that particular line item will be replaced. Call PutInboundShipment to create the shipment to be worked on. This call will return an exception when attempting to add line items to a shipment that is in a status of 'Receiving' or later.

Parameters
shipmentId
merchantSKUQuantityItem
Throws
RemoteException

public ResponseMetadata setInboundShipmentStatus (String shipmentId, ShipmentStatus shipmentStatus)

Sets the inbound shipment status to the specified ShipmentStatus. Valid statuses are 'Shipped' (the shipment has left the merchant) or 'Cancelled'. Once a shipment's status has been set to 'Shipped', the merchant may make no further changes except to update the status to 'Cancelled'. Any items not received at the time a shipment is 'Cancelled' will be put into problem receive at the fulfillment center. This operation will simply return a requestId upon success, otherwise an explicit error will be returned.

Parameters
shipmentId
shipmentStatus
Throws
RemoteException

Protected Methods

protected Call createCall ()

Throws
RemoteException