Constructor and Description |
---|
OrderDetailRec(ShippingCarrier requestShippingCarrier,
ShippingMethod requestShippingMethod,
ShippingServiceLevel requestServiceLevel,
IJetDate requestShipBy,
IJetDate requestDeliveryBy)
Create a new OrderDetailRec instance
|
Modifier and Type | Method and Description |
---|---|
static OrderDetailRec |
fromJson(javax.json.JsonObject json)
Turn jet json into an instance of this record
|
IJetDate |
getRequestDeliveryBy()
Get Date the customer has been promised delivery
|
ShippingServiceLevel |
getRequestServiceLevel()
Get Service level the customer will receive
|
IJetDate |
getRequestShipBy()
Get Expected date that the shipment will be tendered to
the given carrier
|
ShippingCarrier |
getRequestShippingCarrier()
Get The shipping carrier that is delivering
the shipment
|
ShippingMethod |
getRequestShippingMethod()
Get The shipping method for the given shipment_id
|
javax.json.JsonObject |
toJSON()
Turn this object into jet json
|
String |
toString() |
public OrderDetailRec(ShippingCarrier requestShippingCarrier, ShippingMethod requestShippingMethod, ShippingServiceLevel requestServiceLevel, IJetDate requestShipBy, IJetDate requestDeliveryBy)
requestShippingCarrier
- The shipping carrier that is delivering
the shipmentrequestShippingMethod
- The shipping method for the given shipment_idrequestServiceLevel
- Service level the customer will receiverequestShipBy
- Expected date that the shipment will be tendered to
the given carrierrequestDeliveryBy
- Date the customer has been promised deliverypublic static OrderDetailRec fromJson(javax.json.JsonObject json)
json
- Jet json object from api responsepublic ShippingCarrier getRequestShippingCarrier()
public ShippingMethod getRequestShippingMethod()
public ShippingServiceLevel getRequestServiceLevel()
public IJetDate getRequestShipBy()
public IJetDate getRequestDeliveryBy()
public javax.json.JsonObject toJSON()
Copyright © 2017. All rights reserved.