Modifier and Type | Class and Description |
---|---|
static class |
AckRequestItemRec.Status
Merchant defined fulfillable or nonfulfillable skus within the order.
|
Constructor and Description |
---|
AckRequestItemRec(AckRequestItemRec.Status status,
String itemId,
String altItemId,
String merchantSku)
Create a new AckRequestItem instance.
|
Modifier and Type | Method and Description |
---|---|
static AckRequestItemRec |
fromJson(javax.json.JsonObject json)
Create an instance of this from jet json
|
static AckRequestItemRec |
fromOrderItem(OrderItemRec item)
Copy the properties from an OrderItemRec instance to an AckRequestItem
instance to send for the acknowledge command.
|
static AckRequestItemRec |
fromOrderItem(OrderItemRec item,
AckRequestItemRec.Status ackStatus)
Copy the properties from an OrderItemRec instance to an AckRequestItem
instance to send for the acknowledge command.
|
String |
getAltItemId()
Optional seller-supplied ID for an item in an order.
|
String |
getItemId()
Jet's unique identifier for an item in a merchant order.
|
String |
getMerchantSku()
Get the merchant sku
This is only available when this record is created via fromOrderItem() or
if you specify it in the constructor.
|
AckRequestItemRec.Status |
getStatus()
Merchant defined fulfillable or nonfulfillable skus within the order.
|
javax.json.JsonObject |
toJSON()
Turn this object into jet json
|
public AckRequestItemRec(AckRequestItemRec.Status status, String itemId, String altItemId, String merchantSku)
status
- Merchant defined fulfillable or nonfulfillable skus
within the order.itemId
- Jet's unique identifier for an item in a merchant order.altItemId
- Optional seller-supplied ID for an item in an order. If
this value is specified with the Jet's order_item_id, Jet will map the two
IDs and you can then use your own order item ID for subsequent feeds
relating to that order item.merchantSku
- a convenience field for the merchant sku.public static AckRequestItemRec fromJson(javax.json.JsonObject json)
json
- jsonpublic static AckRequestItemRec fromOrderItem(OrderItemRec item, AckRequestItemRec.Status ackStatus)
item
- order itemackStatus
- ack status to sendpublic static AckRequestItemRec fromOrderItem(OrderItemRec item)
item
- order itempublic String getMerchantSku()
public AckRequestItemRec.Status getStatus()
public String getItemId()
public String getAltItemId()
Copyright © 2017. All rights reserved.