ServiceType Property
Identifies the USPS service type (applicable to US domestic shipments) to use in a ship request.
Object Oriented Interface
public function getServiceType(); public function setServiceType($value);
Procedural Interface
inship_uspsship_get($res, 83 ); inship_uspsship_set($res, 83, $value );
Default Value
0
Remarks
This property is required to be provided in a ship request when the GetPackageLabel method is called.
Valid values for USPS are:
stUSPSExpress (70) | |
stUSPSFirstClass (71) | |
stUSPSPriority (72) | |
stUSPSParcelPost (73) | |
stUSPSMedia (75) | |
stUSPSLibrary (76) | |
stUSPSParcelSelect (79) (Endicia and Stamps.com only) | |
stUSPSCriticalMail (80) (Endicia and Stamps.com only) | |
stUSPSStandardMail (81) (Endicia only) |
Please note that the ServiceType stUSPSBoundPrintedMatter (74) is no longer supported by USPS or Endicia.
This property is not available at design time.
Data Type
Integer