Modifier and Type | Class and Description |
---|---|
static class |
OrderRec.Builder
OrderRec builder
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static OrderRec |
fromJson(javax.json.JsonObject json)
Turn Jet Json into an OrderRec
|
List<RefundItemRec.Builder> |
generateItemsForRefund() |
AckStatus |
getAckStatus()
Status to let Jet know whether you accept or reject the order.
|
String |
getAltOrderId()
Get Optional Merchant supplied order ID.If an alt_order_id has been
associated with the merchant_order_id via the order accept message
this will be passed as well.
|
PersonRec |
getBuyer()
Information about the buyer
|
String |
getCustomerReferenceOrderId()
Undocumented.
|
OrderExceptionState |
getExceptionState()
Signifies that something unexpected has occurred for this order.
|
String |
getFulfillmentNode()
Get The fulfillment node that the order should be shipped from.
|
String |
getHashEmail()
Get The email hash assigned by Jet to be used as the customer email address
|
int |
getId() |
String |
getMerchantOrderId()
Get Jet's unique ID for a given merchant order.
|
IJetDate |
getOrderAckDate()
The date the order was switched to 'acknowledged' state
|
OrderDetailRec |
getOrderDetail()
Shipping details about the order
|
List<OrderItemRec> |
getOrderItems()
Retrieve the order items list
|
IJetDate |
getOrderPlacedDate()
The date the merchant order was placed.
|
IJetDate |
getOrderReadyDate()
The date the order was switched to 'ready' state
|
OrderTotalRec |
getOrderTotals()
This is an object of order totals.
|
IJetDate |
getOrderTransmissionDate()
The date/time the merchant order was sent to the merchant
|
String |
getReferenceOrderId()
Get Jet's human readable order ID number that may have a small chance of
collision overtime.
|
List<ShipmentRec> |
getShipments()
Get list of shipments to make
|
PersonRec |
getShippingTo()
Information about who the order will be shipped to
|
AddressRec |
getShippingToAddress()
Information about where the order will be shipped to
|
OrderStatus |
getStatus()
Current status of the order
|
int |
hashCode() |
boolean |
hasShipments()
Determines whether Jet broke the order into shipments
(this should always be false for order-only).
|
boolean |
isJetRequestDirectedCancel()
This field indicates that one or more items in the order have been
requested to be cancelled by Jet.com.
|
OrderRec.Builder |
toBuilder() |
javax.json.JsonObject |
toJSON()
Turn this object into Jet json
|
String |
toString() |
public static OrderRec fromJson(javax.json.JsonObject json)
json
- Jet jsonpublic OrderRec.Builder toBuilder()
public int getId()
public String getMerchantOrderId()
public String getReferenceOrderId()
public String getCustomerReferenceOrderId()
public String getFulfillmentNode()
public String getAltOrderId()
public String getHashEmail()
public OrderStatus getStatus()
public OrderExceptionState getExceptionState()
public IJetDate getOrderPlacedDate()
public IJetDate getOrderTransmissionDate()
public boolean isJetRequestDirectedCancel()
public OrderDetailRec getOrderDetail()
public PersonRec getBuyer()
public PersonRec getShippingTo()
public AddressRec getShippingToAddress()
public OrderTotalRec getOrderTotals()
public List<OrderItemRec> getOrderItems()
public boolean hasShipments()
public IJetDate getOrderReadyDate()
public IJetDate getOrderAckDate()
public AckStatus getAckStatus()
public List<ShipmentRec> getShipments()
public javax.json.JsonObject toJSON()
public List<RefundItemRec.Builder> generateItemsForRefund()
Copyright © 2017. All rights reserved.