Package fedex :: Package services :: Module location_service :: Class FedexSearchLocationRequest
[hide private]
[frames] | no frames]

Class FedexSearchLocationRequest

source code

                   object --+    
                            |    
base_service.FedexBaseService --+
                                |
                               FedexSearchLocationRequest

This class allows you to figure out a FedEx location closest to a specified location criteria, based on location type. The response includes location details like operating times, directions and a map link and more.

Instance Methods [hide private]
 
__init__(self, config_obj, *args, **kwargs)
This constructor should only be called by children of the class.
source code
 
_prepare_wsdl_objects(self)
Create the data structure and get it ready for the WSDL request.
source code
 
_assemble_and_send_request(self)
Fires off the Fedex request.
source code

Inherited from base_service.FedexBaseService: create_wsdl_object_of_type, send_request

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
  Address
Holds the Address WSDL object.
  PhoneNumber
Holds the PhoneNumber string object.
  MultipleMatchesAction
Holds the MultipleMatchesActionType WSDL object.
  Constraints
Holds a list of SearchLocationConstraints WSDL objects.
  LocationsSearchCriterion
Holds the LocationsSearchCriteriaType WSDL object.
  SortDetail
Holds the LocationSortDetail WSDL object.

Inherited from base_service.FedexBaseService: ClientDetail, TransactionDetail, VersionId, WebAuthenticationDetail, config_obj, logger, response

Inherited from base_service.FedexBaseService (private): _version_info

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, config_obj, *args, **kwargs)
(Constructor)

source code 

This constructor should only be called by children of the class. As is such, only the optional keyword arguments caught by **kwargs will be documented.

Parameters:
  • config_obj (FedexConfig) - A valid FedexConfig object.
Overrides: object.__init__

_prepare_wsdl_objects(self)

source code 

Create the data structure and get it ready for the WSDL request.

Overrides: base_service.FedexBaseService._prepare_wsdl_objects

_assemble_and_send_request(self)

source code 

Fires off the Fedex request.

Overrides: base_service.FedexBaseService._assemble_and_send_request

Warning: NEVER CALL THIS METHOD DIRECTLY. CALL send_request(), WHICH RESIDES ON FedexBaseService AND IS INHERITED.