public class ReturnsExceptionRec extends Object
Constructor and Description |
---|
ReturnsExceptionRec(int timeToReturn,
List<String> returnLocationIds,
List<ShippingMethod> returnShippingMethods)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
static ReturnsExceptionRec |
fromJSON(javax.json.JsonObject json)
Create one of deeze instances from some jet json.
|
List<String> |
getReturnLocationIds()
The ID of the returns node that was created on partner.jet.com under fulfillment settings.
|
List<ShippingMethod> |
getShippingMethods()
A specific shipping method.
|
int |
getTimeToReturn()
The number of days after purchase a customer can return the item.
|
public ReturnsExceptionRec(int timeToReturn, List<String> returnLocationIds, List<ShippingMethod> returnShippingMethods)
timeToReturn
- Time to returnreturnLocationIds
- IdsreturnShippingMethods
- Methodspublic static ReturnsExceptionRec fromJSON(javax.json.JsonObject json)
json
- Jet jsonpublic int getTimeToReturn()
public List<String> getReturnLocationIds()
public List<ShippingMethod> getShippingMethods()
Copyright © 2017. All rights reserved.