ServiceType Property
Identifies the domestic service to use in a ship request.
Object Oriented Interface
public function getServiceType(); public function setServiceType($value);
Procedural Interface
inship_ezship_get($res, 81 ); inship_ezship_set($res, 81, $value );
Default Value
0
Remarks
This property is required to be provided in a ship request.
Valid values for FedEx are:
stFedExPriorityOvernight (10) | |
stFedExStandardOvernight (11) | |
stFedExFirstOvernight (12) | |
stFedEx2Day (13) | |
stFedExExpressSaver (14) | |
stFedExGround (15) | PackageType should be set to Your Packaging. |
stFedExGroundHomeDelivery (16) | available to residential addresses only; PackageType should be set to Your Packaging. |
stFedEx1DayFreight (17) | PackageType should be set to Your Packaging. |
stFedEx2DayFreight (18) | PackageType should be set to Your Packaging. |
stFedEx3DayFreight (19) | PackageType should be set to Your Packaging. |
stFedEx2DayAM (27) | |
stFedExFirstFreight (28) | |
stFedExFreightEconomy (30) | |
stFedExFreightPriority (31) | |
stFedExDistanceDeferred (120) | |
stFedExNextDayAfternoon (121) | |
stFedExNextDayEarlyMorning (122) | |
stFedExNextDayEndOfDay (123) | |
stFedExNextDayFreight (124) | |
stFedExNextDayMidMorning (125) |
Valid values for UPS are:
stUPSFirstClass(35) | US Domestic Shipments, requires a contract with Mail Innovations, single package shipments only |
stUPSPriorityMail(36) | US Domestic Shipments, requires a contract with Mail Innovations, single package shipments only |
stUPSExpeditedMailInnovations(37) | US Domestic Shipments, requires a contract with Mail Innovations, single package shipments only |
stUPSNextDayAir (40) | US Domestic Shipments |
stUPS2ndDayAir (42) | US Domestic Shipments |
stUPSGround (43) | US Domestic Shipments |
stUPS3DaySelect (48) | US Domestic Shipments |
stUPSNextDayAirSaver (49) | US Domestic Shipments |
stUPSSaver (50) | US Domestic Shipments, only available when shipping to remote parts of Alaska or Hawaii |
stUPSNextDayAirEarlyAM (51) | US Domestic Shipments |
stUPS2ndDayAirAM (55) | US Domestic Shipments |
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