Class TrackingDataImpl
java.lang.Object
com.commercetools.history.models.common.TrackingDataImpl
- All Implemented Interfaces:
TrackingData,io.vrap.rmf.base.client.ModelBase
public class TrackingDataImpl
extends Object
implements TrackingData, io.vrap.rmf.base.client.ModelBase
TrackingData
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe carrier that delivers the parcel.Flag to distinguish if the parcel is on the way to the customer (false) or on the way back (true).The ID to track one parcel.inthashCode()voidsetCarrier(String carrier) The carrier that delivers the parcel.voidsetIsReturn(Boolean isReturn) Flag to distinguish if the parcel is on the way to the customer (false) or on the way back (true).voidsetProvider(String provider) set providervoidsetProviderTransaction(String providerTransaction) set providerTransactionvoidsetTrackingId(String trackingId) The ID to track one parcel.toString()Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.history.models.common.TrackingData
withTrackingData
-
Constructor Details
-
TrackingDataImpl
public TrackingDataImpl()create empty instance
-
-
Method Details
-
getTrackingId
The ID to track one parcel.
- Specified by:
getTrackingIdin interfaceTrackingData- Returns:
- trackingId
-
getCarrier
The carrier that delivers the parcel.
- Specified by:
getCarrierin interfaceTrackingData- Returns:
- carrier
-
getProvider
- Specified by:
getProviderin interfaceTrackingData- Returns:
- provider
-
getProviderTransaction
- Specified by:
getProviderTransactionin interfaceTrackingData- Returns:
- providerTransaction
-
getIsReturn
Flag to distinguish if the parcel is on the way to the customer (false) or on the way back (true).
- Specified by:
getIsReturnin interfaceTrackingData- Returns:
- isReturn
-
setTrackingId
Description copied from interface:TrackingDataThe ID to track one parcel.
- Specified by:
setTrackingIdin interfaceTrackingData- Parameters:
trackingId- value to be set
-
setCarrier
Description copied from interface:TrackingDataThe carrier that delivers the parcel.
- Specified by:
setCarrierin interfaceTrackingData- Parameters:
carrier- value to be set
-
setProvider
Description copied from interface:TrackingDataset provider- Specified by:
setProviderin interfaceTrackingData- Parameters:
provider- value to be set
-
setProviderTransaction
Description copied from interface:TrackingDataset providerTransaction- Specified by:
setProviderTransactionin interfaceTrackingData- Parameters:
providerTransaction- value to be set
-
setIsReturn
Description copied from interface:TrackingDataFlag to distinguish if the parcel is on the way to the customer (false) or on the way back (true).
- Specified by:
setIsReturnin interfaceTrackingData- Parameters:
isReturn- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-