Constructor and Description |
---|
ShipRequestRec(String altOrderId,
List<ShipmentRec> shipments)
Create a new ShipRequestRec
|
Modifier and Type | Method and Description |
---|---|
static ShipRequestRec |
fromJson(javax.json.JsonObject json)
Turn jet json into an instance of this
|
String |
getAltOrderId()
Get the custom order id..
|
List<ShipmentRec> |
getShipments()
Get shipments list
|
javax.json.JsonObject |
toJSON()
Turn this into a json object for jet
|
public ShipRequestRec(String altOrderId, List<ShipmentRec> shipments)
altOrderId
- alt order idshipments
- Shipments listpublic static ShipRequestRec fromJson(javax.json.JsonObject json)
json
- jet jsonpublic String getAltOrderId()
public List<ShipmentRec> getShipments()
Copyright © 2017. All rights reserved.