@Generated(value="io.sphere.sdk.annotations.processors.generators.UpdateActionGenerator", comments="Generated from: io.sphere.sdk.orders.Parcel") public final class SetParcelTrackingData extends UpdateActionImpl<Order>
trackingData
property of a Order
.Parcel.getTrackingData()
Modifier and Type | Method and Description |
---|---|
String |
getParcelId() |
TrackingData |
getTrackingData() |
static SetParcelTrackingData |
of(String parcelId,
TrackingData trackingData)
Creates a new object initialized with the given values.
|
SetParcelTrackingData |
withTrackingData(TrackingData trackingData)
Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object.
|
getAction
public String getParcelId()
@Nullable public TrackingData getTrackingData()
public static SetParcelTrackingData of(String parcelId, @Nullable TrackingData trackingData)
parcelId
- initial value for the propertytrackingData
- initial value for the propertypublic SetParcelTrackingData withTrackingData(TrackingData trackingData)