Modifier and Type | Class and Description |
---|---|
static class |
ShippingExceptionRec.Builder |
Modifier | Constructor and Description |
---|---|
protected |
ShippingExceptionRec(ShippingExceptionRec.Builder b)
Builder constructor
|
|
ShippingExceptionRec(ShippingServiceLevel serviceLevel,
ShippingMethod shippingMethod,
ShipOverrideType overrideType,
Money shippingChargeAmount,
ShipExceptionType shippingExceptionType)
Create a new ShippingException instance
|
Modifier and Type | Method and Description |
---|---|
ShippingExceptionRec |
createCopy() |
boolean |
equals(Object obj) |
static ShippingExceptionRec |
fromJSON(javax.json.JsonObject o) |
ShipOverrideType |
getOverrideType()
The type of shipping override, "Additional charge" or "Override charge"
(Override Charge could be used to lower shipping)
|
ShippingServiceLevel |
getServiceLevel()
Generic descriptions of shipment delivery times
|
Money |
getShippingChargeAmount()
The amount added to your default shipping charge when
"OverrideType"= "Additional charge" and the total amount charged
when "OverrideType" = "Override charge"
Logic
This field is required if override_type is populated
|
ShipExceptionType |
getShippingExceptionType()
Indicates if you want the product to be shipped exclusively (only with)
or restrictively (not including) via the shipping level of shipping
method provided
|
ShippingMethod |
getShippingMethod()
A specific shipping method e.g.
|
int |
hashCode() |
ShippingExceptionRec.Builder |
toBuilder()
Turn this into a builder
|
javax.json.JsonObject |
toJSON()
Retrieve the JSON object for this
|
public ShippingExceptionRec(ShippingServiceLevel serviceLevel, ShippingMethod shippingMethod, ShipOverrideType overrideType, Money shippingChargeAmount, ShipExceptionType shippingExceptionType)
serviceLevel
- Service levelshippingMethod
- Shipping MethodoverrideType
- Shipping Override TypeshippingChargeAmount
- Shipping chargeshippingExceptionType
- Exception Typeprotected ShippingExceptionRec(ShippingExceptionRec.Builder b)
b
- public ShippingExceptionRec.Builder toBuilder()
public ShippingExceptionRec createCopy()
public ShippingServiceLevel getServiceLevel()
public ShippingMethod getShippingMethod()
public ShipOverrideType getOverrideType()
public Money getShippingChargeAmount()
public ShipExceptionType getShippingExceptionType()
public static ShippingExceptionRec fromJSON(javax.json.JsonObject o)
Copyright © 2017. All rights reserved.