@Generated(value="io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator", comments="Generated from: io.sphere.sdk.orders.ReturnInfoDraft") public final class ReturnInfoDraftDsl extends Base implements ReturnInfoDraft
ReturnInfoDraft
.Modifier and Type | Method and Description |
---|---|
List<ReturnItemDraft> |
getItems() |
ZonedDateTime |
getReturnDate() |
String |
getReturnTrackingId() |
ReturnInfoDraftBuilder |
newBuilder()
Creates a new builder with the values of this object.
|
static ReturnInfoDraftDsl |
of()
Creates a new object initialized with the given values.
|
static ReturnInfoDraftDsl |
of(ReturnInfoDraft template)
Creates a new object initialized with the fields of the template parameter.
|
ReturnInfoDraftDsl |
withItems(List<ReturnItemDraft> items) |
ReturnInfoDraftDsl |
withReturnDate(ZonedDateTime returnDate) |
ReturnInfoDraftDsl |
withReturnTrackingId(String returnTrackingId) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
of
public List<ReturnItemDraft> getItems()
getItems
in interface ReturnInfoDraft
@Nullable public ZonedDateTime getReturnDate()
getReturnDate
in interface ReturnInfoDraft
@Nullable public String getReturnTrackingId()
getReturnTrackingId
in interface ReturnInfoDraft
public ReturnInfoDraftBuilder newBuilder()
public ReturnInfoDraftDsl withItems(List<ReturnItemDraft> items)
public ReturnInfoDraftDsl withReturnDate(@Nullable ZonedDateTime returnDate)
public ReturnInfoDraftDsl withReturnTrackingId(@Nullable String returnTrackingId)
public static ReturnInfoDraftDsl of()
public static ReturnInfoDraftDsl of(ReturnInfoDraft template)
template
- the template