Constructor and Description |
---|
AckRequestRec(AckStatus ackStatus,
String altOrderId,
List<AckRequestItemRec> items)
Create an instance
|
Modifier and Type | Method and Description |
---|---|
static AckRequestRec |
fromJson(javax.json.JsonObject json)
Turn jet json into an instance of this
|
String |
getAltOrderId()
Retrieve the alternate order id
|
List<AckRequestItemRec> |
getOrderItems()
Get the list of order items
|
AckStatus |
getStatus()
Retrieve the status
|
javax.json.JsonObject |
toJSON()
Turn this into jet json
|
public AckRequestRec(AckStatus ackStatus, String altOrderId, List<AckRequestItemRec> items)
ackStatus
- Status to let Jet know whether you accept or reject
the order.
Must be one of the following values:
rejected - other
rejected - fraud
rejected - item level error
rejected - ship from location not available
rejected - shipping method not supported
rejected - unfulfillable address
acceptedaltOrderId
- Option merchant supplied order ID. Jet will map this
ID to Jet's order_id and you can then use this ID in subsequent messages
related to the order.items
- This is an array of order items. Please see our order item
array table below.public static AckRequestRec fromJson(javax.json.JsonObject json)
json
- jet jsonpublic AckStatus getStatus()
public String getAltOrderId()
public List<AckRequestItemRec> getOrderItems()
Copyright © 2017. All rights reserved.