Shipping Integrator V5 - Online Help
Shipping Integrator V5
Questions / Feedback?

ConstraintLocationAttributes Property

This indicates the services you would like to search for at a particular location.

Syntax

 fedexaddress.getConstraintLocationAttributes([callback])
 fedexaddress.setConstraintLocationAttributes( constraintLocationAttributes, [callback])

Default Value

0


Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for the getConstraintLocationAttributes([callback]) method is defined as:

function(err, data){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'data' is the value returned by the method.

The callback for the setConstraintLocationAttributes([callback]) method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

This indicates the services you would like to search for at a particular location.

The following flags are defined (specified in hexadecimal notation). They can be or-ed together to include multiple attributes:

Value Meaning
0x00000001 (AcceptsCash) Whether this location accepts cash
0x00000002 (AlreadyOpen) Whether this location is already open
0x00000004 (CopyAndPrintServices) Whether this location offers Copy and Print services
0x00000008 (DangerousGoodsServices) Whether this location offers dangerous goods services
0x00000010 (DirectMailServices) Whether this location offers Direct Mail services
0x00000020 (ExpressFreightDropoffs) Whether this location offers Express freight dropoff services
0x00000040 (ExpressParcelDropoffs) Whether this location offers Express parcel dropoff services
0x00000080 (FedExFreightDropoffs) Whether this location offers FedEx Freight dropoff services
0x00000100 (GroundDropoffs) Whether this location offers Ground dropoff services
0x00000200 (GroundHomeDeliveryDropoffs) Whether this location offers Ground Home Delivery dropoff services
0x00000400 (LocationIsInAirport) Whether this location is located in an airport
0x00000800 (NotaryServices) Whether this location offers Notary services
0x00001000 (ObservesDayLightSavingTimes) Whether this location observes day light savings time
0x00002000 (OpenTwentyFourHours) Whether this location is open 24 hours
0x00004000 (PackagingSupplies) Whether this location offers packaging supplies
0x00008000 (PackAndShip) Whether this location offers Pack and Ship services
0x00010000 (PassportPhotoServices) Whether this location offers passport photo services
0x00020000 (ReturnServices) Whether this location offers return services
0x00040000 (SaturdayDropoffs) Whether this location offers Saturday dropoff services
0x00080000 (SaturdayExpressHoldAtLocation) Whether this location offers Saturday Express Hold at Location services
0x00100000 (SignsAndBannersService) Whether this location offers Signs and Banners services
0x00200000 (SonyPictureStation) Whether this location has a Sony picture station
0x00400000 (VideoConferencing) Whether this location offers video conferencing services
0x00800000 (WeekdayExpressHoldAtLocation) Whether this location offers Weekday Express Hold at Location services
0x01000000 (WeekdayGroundHoldAtLocation) Whether this location offers Weekday Ground Hold at Location services

Data Type

Integer

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0