ServiceType Property
Identifies the domestic service to use in a ship request.
Syntax
public int getServiceType(); public void setServiceType(int serviceType);
Enumerated values: public final static int stUnspecified = 0; public final static int stFedExPriorityOvernight = 10; public final static int stFedExStandardOvernight = 11; public final static int stFedExFirstOvernight = 12; public final static int stFedEx2Day = 13; public final static int stFedExExpressSaver = 14; public final static int stFedExGround = 15; public final static int stFedExGroundHomeDelivery = 16; public final static int stFedEx1DayFreight = 17; public final static int stFedEx2DayFreight = 18; public final static int stFedEx3DayFreight = 19; public final static int stFedExInternationalPriority = 20; public final static int stFedExInternationalEconomy = 21; public final static int stFedExInternationalFirst = 22; public final static int stFedExInternationalPriorityFreight = 23; public final static int stFedExInternationalEconomyFreight = 24; public final static int stFedExEuropeFirstInternationalPriority = 25; public final static int stFedExSmartPost = 26; public final static int stFedEx2DayAM = 27; public final static int stFedExFirstFreight = 28; public final static int stFedExInternationalGround = 29; public final static int stFedExFreightEconomy = 30; public final static int stFedExFreightPriority = 31; public final static int stUPSFirstClass = 35; public final static int stUPSPriorityMail = 36; public final static int stUPSExpeditedMailInnovations = 37; public final static int stUPSPriorityMailInnovations = 38; public final static int stUPSEconomyMailInnovations = 39; public final static int stUPSNextDayAir = 40; public final static int stUPSExpress = 41; public final static int stUPS2ndDayAir = 42; public final static int stUPSGround = 43; public final static int stUPSWorldwideExpress = 44; public final static int stUPSWorldwideExpedited = 45; public final static int stUPSExpedited = 46; public final static int stUPSStandard = 47; public final static int stUPS3DaySelect = 48; public final static int stUPSNextDayAirSaver = 49; public final static int stUPSSaver = 50; public final static int stUPSNextDayAirEarlyAM = 51; public final static int stUPSExpressEarlyAM = 52; public final static int stUPSWorldwideExpressPlus = 53; public final static int stUPSExpressPlus = 54; public final static int stUPS2ndDayAirAM = 55; public final static int stUPSTodayStandard = 56; public final static int stUPSTodayCourrier = 57; public final static int stUPSTodayInterCity = 58; public final static int stUPSTodayExpress = 59; public final static int stUPSTodayExpressSaver = 60; public final static int stUPSWorldwideExpressFreight = 61; public final static int stUPSSurePostLessThan1LB = 62; public final static int stUPSSurePost1LBOrGreater = 63; public final static int stUPSSurePostBPM = 64; public final static int stUPSSurePostMedia = 65; public final static int stUSPSExpress = 70; public final static int stUSPSFirstClass = 71; public final static int stUSPSPriority = 72; public final static int stUSPSParcelPost = 73; public final static int stUSPSMedia = 75; public final static int stUSPSLibrary = 76; public final static int stUSPSOnline = 77; public final static int stUSPSGlobalExpress = 78; public final static int stUSPSParcelSelect = 79; public final static int stUSPSCriticalMail = 80; public final static int stUSPSStandardMail = 81; public final static int stUSPSExpressMailInternational = 82; public final static int stUSPSFirstClassMailInternational = 83; public final static int stUSPSPriorityMailInternational = 84; public final static int stCanadaRegularParcel = 90; public final static int stCanadaExpeditedParcel = 91; public final static int stCanadaXpresspost = 92; public final static int stCanadaLibrary = 93; public final static int stCanadaPriority = 94; public final static int stCanadaPriorityEnvelopeUSA = 95; public final static int stCanadaPriorityPakUSA = 96; public final static int stCanadaPriorityParcelUSA = 97; public final static int stCanadaXpresspostUSA = 98; public final static int stCanadaExpeditedParcelUSA = 99; public final static int stCanadaSmallPacketAirUSA = 100; public final static int stCanadaTrackedPacketUSA = 101; public final static int stCanadaTrackedPacketLVMUSA = 102; public final static int stCanadaPriorityEnvelopeInternational = 103; public final static int stCanadaPriorityPakInternational = 104; public final static int stCanadaPriorityParcelInternational = 105; public final static int stCanadaXpresspostInternational = 106; public final static int stCanadaSmallPacketAirInternational = 107; public final static int stCanadaSmallPacketLandInternational = 108; public final static int stCanadaParcelAirInternational = 109; public final static int stCanadaParcelLandInternational = 110; public final static int stCanadaTrackedPacketInternational = 111; public final static int stFedExDistanceDeferred = 120; public final static int stFedExNextDayAfternoon = 121; public final static int stFedExNextDayEarlyMorning = 122; public final static int stFedExNextDayEndOfDay = 123; public final static int stFedExNextDayFreight = 124; public final static int stFedExNextDayMidMorning = 125;
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) | PackagingType should be set to Your Packaging. |
stFedExGroundHomeDelivery (16) | available to residential addresses only; PackagingType should be set to Your Packaging. |
stFedEx1DayFreight (17) | PackagingType should be set to Your Packaging. |
stFedEx2DayFreight (18) | PackagingType should be set to Your Packaging. |
stFedEx3DayFreight (19) | PackagingType 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.
Default Value
0