Package fedex :: Package services :: Module country_service :: Class FedexValidatePostalRequest
[hide private]
[frames] | no frames]

Class FedexValidatePostalRequest

source code

                   object --+    
                            |    
base_service.FedexBaseService --+
                                |
                               FedexValidatePostalRequest

This class allows you validate an address. https://www.fedex.com/us/developer/WebHelp/ws/2015/html/WebServicesHelp/WSDVG/47_Country_Service.htm

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]
  CarrierCode
ivar: Carrier Code Default to Fedex (FDXE), or can bbe FDXG.
  RoutingCode
ivar: Routing Code Default to FDSD.
  Address
Holds Address WSDL objects.
  ShipDateTime
Holds the ShipDateTime date time objects.
  CheckForMismatch
Holds the CheckForMismatch boolean objects.

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

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.