ShipmentSpecialServices Property
Contains the collection of special services offered by USPS on shipment level.
Syntax
public long getShipmentSpecialServices(); public void setShipmentSpecialServices(long shipmentSpecialServices);
Remarks
To request any of the special services offered by USPS, you must set the ShipmentSpecialServices to a set of flags as listed below (specified in hexadecimal notation). They can be or-ed together to include multiple conditions:
Value | Meaning |
0x0000000000000004L | COD |
0x0000000000008000L | Hold For Pickup |
0x0000000008000000L | Return Shipment |
0x0000000080000000L | Restricted Delivery |
0x0000000100000000L | Return Receipt |
0x0000000200000000L | Certificate Of Mailing |
0x0000000400000000L | Sunday and Holiday Delivery |
0x0000000800000000L | No Weekend |
0x0000001000000000L | Registered Mail |
0x0000002000000000L | Premium Service (Sunday/Holiday) |
0x0000004000000000L | Commercial |
0x0000008000000000L | Delivery Confirmation |
Default Value
0