public static class ShippingExceptionRec.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ShippingExceptionRec |
build() |
ShippingExceptionRec.Builder |
setOverrideType(ShipOverrideType overrideType)
The type of shipping override, "Additional charge" or "Override charge"
(Override Charge could be used to lower shipping)
|
ShippingExceptionRec.Builder |
setServiceLevel(ShippingServiceLevel serviceLevel)
Generic descriptions of shipment delivery times
|
ShippingExceptionRec.Builder |
setShippingChargeAmount(Money shippingChargeAmount)
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
|
ShippingExceptionRec.Builder |
setShippingExceptionType(ShipExceptionType shippingExceptionType)
Indicates if you want the product to be shipped exclusively (only with)
or restrictively (not including) via the shipping level of shipping
method provided
|
ShippingExceptionRec.Builder |
setShippingMethod(ShippingMethod shippingMethod)
A specific shipping method e.g.
|
public ShippingExceptionRec.Builder setServiceLevel(ShippingServiceLevel serviceLevel)
serviceLevel
- the serviceLevel to setpublic ShippingExceptionRec.Builder setShippingMethod(ShippingMethod shippingMethod)
shippingMethod
- the shippingMethod to setpublic ShippingExceptionRec.Builder setOverrideType(ShipOverrideType overrideType)
overrideType
- the overrideType to setpublic ShippingExceptionRec.Builder setShippingChargeAmount(Money shippingChargeAmount)
shippingChargeAmount
- the shippingChargeAmount to setpublic ShippingExceptionRec.Builder setShippingExceptionType(ShipExceptionType shippingExceptionType)
shippingExceptionType
- the shippingExceptionType to setpublic ShippingExceptionRec build()
Copyright © 2017. All rights reserved.