public final class TrackingDataBuilder extends Base implements Builder<TrackingData>
Modifier and Type | Method and Description |
---|---|
TrackingData |
build()
Creates a new instance of T with the values of this builder.
|
TrackingDataBuilder |
carrier(String carrier) |
TrackingDataBuilder |
isReturn(boolean isReturn) |
static TrackingDataBuilder |
of() |
static TrackingDataBuilder |
of(TrackingData template) |
TrackingDataBuilder |
provider(String provider) |
TrackingDataBuilder |
providerTransaction(String providerTransaction) |
TrackingDataBuilder |
trackingId(String trackingId) |
public static TrackingDataBuilder of()
public TrackingDataBuilder trackingId(@Nullable String trackingId)
public TrackingDataBuilder carrier(@Nullable String carrier)
public TrackingDataBuilder provider(@Nullable String provider)
public TrackingDataBuilder providerTransaction(@Nullable String providerTransaction)
public TrackingDataBuilder isReturn(boolean isReturn)
public TrackingData build()
Builder
build
in interface Builder<TrackingData>
public static TrackingDataBuilder of(TrackingData template)