Package com.astrepid.okapi.tracking
Class OkapiTracking
java.lang.Object
com.astrepid.okapi.tracking.OkapiTracking
Tracking.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLang()getScope()booleanvoidvoidvoidsetReturnCode(Integer returnCode) voidsetReturnMessage(String returnMessage) voidvoidsetShipment(OTShipment shipment)
-
Constructor Details
-
OkapiTracking
public OkapiTracking()
-
-
Method Details
-
getLang
- Returns:
- the lang
-
setLang
- Parameters:
lang- the lang to set
-
getScope
- Returns:
- the scope
-
setScope
- Parameters:
scope- the scope to set
-
getReturnCode
- Returns:
- the returnCode
-
setReturnCode
- Parameters:
returnCode- the returnCode to set
-
getShipment
- Returns:
- the shipment. Null si returnCode != 2XX
-
setShipment
- Parameters:
shipment- the shipment to set
-
getReturnMessage
- Returns:
- the returnMessage. Null si returnCode = 200.
-
setReturnMessage
- Parameters:
returnMessage- the returnMessage to set
-
getIdShip
- Returns:
- the idShip. Null si returnCode = 200.
-
setIdShip
- Parameters:
idShip- the idShip to set
-
isSuccess
public boolean isSuccess()
-