Home | Trees | Indices | Help |
---|
|
object --+ | FedexBaseService
This class is the master class for all Fedex request objects. It gets all of the common SOAP objects created via suds and populates them with values from a FedexConfig object, along with keyword arguments via __init__.
Note: This object should never be used directly, use one of the included sub-classes.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
logger Python logger instance with name 'fedex'. |
|||
config_obj The FedexConfig object to pull auth info from. |
|||
VersionId Holds details on the version numbers of the WSDL. |
|||
WebAuthenticationDetail WSDL object that holds authentication info. |
|||
ClientDetail WSDL object that holds client account details. |
|||
response The response from Fedex. |
|||
TransactionDetail Holds customer-specified transaction IDs. |
|||
_version_info #ivar: Set in each service class. |
|
|||
Inherited from |
|
This constructor should only be called by children of the class. As is
such, only the optional keyword arguments caught by
|
Sets up the WebAuthenticationDetail node. This is required for all requests. |
This method should be over-ridden on each sub-class. It instantiates any of the required WSDL objects so the user can just print their __str__() methods and see what they need to fill in. |
Override this in each service module to check for errors that are specific to that module. For example, invalid tracking numbers in a Tracking request. |
Creates and returns a WSDL object of the specified type. :param type_name: specifies the object's type name from WSDL. |
This method should be over-ridden on each sub-class. It assembles all required objects into the specific request object and calls send_request. Objects that are not set will be pruned before sending via GeneralSudsPlugin marshalled function. |
Sends the assembled request on the child object.
|
Override this in a service module to check for errors that are specific to that module. For example, changing state/province based on postal code in a Rate Service request. |
|
responseThe response from Fedex. You will want to pick what you want out here here. This object does have a __str__() method, you'll want to print or log it to see what possible values you can pull. |
_version_info#ivar: Set in each service class. Holds version info for the VersionId SOAP object. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Jan 29 14:18:05 2016 | http://epydoc.sourceforge.net |