Interface Shipment.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Shipment
@ApiService("SoftLayer_Account_Shipment") public static interface Shipment.Service extends Service
SoftLayer's shipment service allows the user to access information pertaining to a shipment from the user to SoftLayer or from SoftLayer to the user.
- See Also:
- SoftLayer_Account_Shipment
-
Method Summary
Modifier and Type Method Description Shipment.ServiceAsync
asAsync()
Get an async version of this serviceBoolean
editObject(Shipment templateObject)
Edit the properties of a shipment record by passing in a modified instance of a SoftLayer_Account_Shipment object.Account
getAccount()
The account to which the shipment belongs.List<Courier>
getAllCouriers()
Retrieve a list of available shipping couriers.List<Courier>
getAllCouriersByType(String courierTypeKeyName)
Retrieve a list of available shipping couriers.List<Status>
getAllShipmentStatuses()
Retrieve a a list of shipment statuses.List<Type>
getAllShipmentTypes()
Retrieve a a list of shipment types.Courier
getCourier()
The courier handling the shipment.Employee
getCreateEmployee()
The employee who created the shipment.Customer
getCreateUser()
The customer user who created the shipment.Currency
getCurrency()
Address
getDestinationAddress()
The address at which the shipment is received.Data
getMasterTrackingData()
The one master tracking data for the shipment.Employee
getModifyEmployee()
The employee who last modified the shipment.Customer
getModifyUser()
The customer user who last modified the shipment.Shipment
getObject()
Address
getOriginationAddress()
The address from which the shipment is sent.List<Item>
getShipmentItems()
The items in the shipment.Status
getStatus()
The status of the shipment.List<Data>
getTrackingData()
All tracking data for the shipment and packages.Type
getType()
The type of shipment (e.g.Address
getViaAddress()
The address at which the shipment is received.void
setMask(Shipment.Mask mask)
Shipment.Mask
withMask()
Use the existing mask on this service or create it if not presentShipment.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
Shipment.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Shipment.Mask withNewMask()Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Shipment.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
editObject
Edit the properties of a shipment record by passing in a modified instance of a SoftLayer_Account_Shipment object.- See Also:
- SoftLayer_Account_Shipment::editObject
-
getAllCouriers
Retrieve a list of available shipping couriers. -
getAllCouriersByType
Retrieve a list of available shipping couriers. -
getAllShipmentStatuses
Retrieve a a list of shipment statuses. -
getAllShipmentTypes
Retrieve a a list of shipment types. -
getObject
- See Also:
- SoftLayer_Account_Shipment::getObject
-
getAccount
The account to which the shipment belongs.- See Also:
- SoftLayer_Account_Shipment::getAccount
-
getCourier
The courier handling the shipment.- See Also:
- SoftLayer_Account_Shipment::getCourier
-
getCreateEmployee
The employee who created the shipment. -
getCreateUser
The customer user who created the shipment. -
getCurrency
- See Also:
- SoftLayer_Account_Shipment::getCurrency
-
getDestinationAddress
The address at which the shipment is received. -
getMasterTrackingData
The one master tracking data for the shipment. -
getModifyEmployee
The employee who last modified the shipment. -
getModifyUser
The customer user who last modified the shipment. -
getOriginationAddress
The address from which the shipment is sent. -
getShipmentItems
The items in the shipment. -
getStatus
The status of the shipment.- See Also:
- SoftLayer_Account_Shipment::getStatus
-
getTrackingData
All tracking data for the shipment and packages. -
getType
The type of shipment (e.g. for Data Transfer Service or Colocation Service).- See Also:
- SoftLayer_Account_Shipment::getType
-
getViaAddress
The address at which the shipment is received.
-