public static class ShipmentRec.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ShipmentRec |
build()
Build the ShipmentRec instance
|
ShipmentRec.Builder |
setAltShipmentId(String altShipmentId)
Set Optional merchant supplied shipment ID.
|
ShipmentRec.Builder |
setCarrier(ShippingCarrier carrier)
Set The carrier that will complete final delivery of the shipment.
|
ShipmentRec.Builder |
setExpectedDeliveryDate(IJetDate expectedDeliveryDate)
Set Date/Time that a given shipment is expected to be delivered.
|
ShipmentRec.Builder |
setItems(List<ShipmentItemRec> items)
Set This is an array of shipment items.
|
ShipmentRec.Builder |
setPickupDate(IJetDate pickupDate)
Set Date/Time that the carrier pick up the customer shipment from the
facility where the shipment originated.
|
ShipmentRec.Builder |
setShipFromZip(String shipFromZip)
Set The zip code of the locations from which the customer shipment is
being shipped
|
ShipmentRec.Builder |
setShipmentDate(IJetDate shipmentDate)
Set Date/Time that a given shipment was shipped.
|
ShipmentRec.Builder |
setShipmentId(String shipmentId)
Deprecated.
|
ShipmentRec.Builder |
setShippingMethod(ShippingMethod shippingMethod)
Set Shipping method used for the given shipment.
|
ShipmentRec.Builder |
setTrackingNumber(String trackingNumber)
Set Packaging tracking number that the carrier is using.
|
public ShipmentRec.Builder setShipmentId(String shipmentId)
shipmentId
- the shipmentId to setpublic ShipmentRec.Builder setAltShipmentId(String altShipmentId)
altShipmentId
- the altShipmentId to setpublic ShipmentRec.Builder setTrackingNumber(String trackingNumber)
trackingNumber
- the trackingNumber to setpublic ShipmentRec.Builder setShipmentDate(IJetDate shipmentDate)
shipmentDate
- the shipmentDate to setpublic ShipmentRec.Builder setShippingMethod(ShippingMethod shippingMethod)
shippingMethod
- the shippingMethod to setpublic ShipmentRec.Builder setExpectedDeliveryDate(IJetDate expectedDeliveryDate)
expectedDeliveryDate
- the expectedDeliveryDate to setpublic ShipmentRec.Builder setShipFromZip(String shipFromZip)
shipFromZip
- the shipFromZip to setpublic ShipmentRec.Builder setCarrier(ShippingCarrier carrier)
carrier
- the carrier to setpublic ShipmentRec.Builder setPickupDate(IJetDate pickupDate)
pickupDate
- the pickupDate to setpublic ShipmentRec.Builder setItems(List<ShipmentItemRec> items)
items
- the items to setpublic ShipmentRec build()
Copyright © 2017. All rights reserved.