You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
processTagRequests are almost exactly the same as shipmentRequests.
Just make sure all the required fields and specs are as required here on page 500
and then this very simple subclass
class FedexProcessTagRequest(FedexProcessShipmentRequest):
def _assemble_and_send_request(self):
"""
Fires off the Fedex request.
@warning: NEVER CALL THIS METHOD DIRECTLY. CALL send_request(),
WHICH RESIDES ON FedexBaseService AND IS INHERITED.
"""
# Fire off the query.
return self.client.service.processTag(
WebAuthenticationDetail=self.WebAuthenticationDetail,
ClientDetail=self.ClientDetail,
TransactionDetail=self.TransactionDetail,
Version=self.VersionId,
RequestedShipment=self.RequestedShipment)
The only difference here is that we call self.client.service.processTag instead of self.client.service.processShipment
Activity
radzhome commentedon Mar 8, 2018
For which service? And do you have an example I can add already built? Also, if you have one by now go ahead and send a PR.
vepkenez commentedon Dec 13, 2018
processTagRequests are almost exactly the same as shipmentRequests.
Just make sure all the required fields and specs are as required here on page 500
and then this very simple subclass
The only difference here is that we call
self.client.service.processTaginstead ofself.client.service.processShipmentradzhome commentedon Apr 2, 2019
You mind sending a PR with some tests included and I'll merge.