public final class AvailabilityInfoBuilder extends Base implements Builder<AvailabilityInfo>
Modifier and Type | Method and Description |
---|---|
AvailabilityInfoBuilder |
availableQuantity(Long availableQuantity) |
AvailabilityInfo |
build()
Creates a new instance of T with the values of this builder.
|
Long |
getAvailableQuantity() |
Integer |
getRestockableInDays() |
Boolean |
isOnStock() |
AvailabilityInfoBuilder |
isOnStock(Boolean isOnStock) |
static AvailabilityInfoBuilder |
of() |
AvailabilityInfoBuilder |
restockableInDays(Integer restockableInDays) |
public static AvailabilityInfoBuilder of()
public AvailabilityInfoBuilder isOnStock(@Nullable Boolean isOnStock)
public AvailabilityInfoBuilder restockableInDays(@Nullable Integer restockableInDays)
public AvailabilityInfoBuilder availableQuantity(@Nullable Long availableQuantity)
public AvailabilityInfo build()
Builder
build
in interface Builder<AvailabilityInfo>