@Generated(value="io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator", comments="Generated from: io.sphere.sdk.orders.CustomLineItemReturnItemDraft") public final class CustomLineItemReturnItemDraftDsl extends Base implements CustomLineItemReturnItemDraft
CustomLineItemReturnItemDraft.clone, finalize, getClass, notify, notifyAll, wait, wait, waitof, of, of@Nullable public String getComment()
getComment in interface CustomLineItemReturnItemDraftgetComment in interface ReturnItemDraft@Nullable public CustomFieldsDraft getCustom()
getCustom in interface CustomLineItemReturnItemDraftgetCustom in interface ReturnItemDraftpublic String getCustomLineItemId()
getCustomLineItemId in interface CustomLineItemReturnItemDraftpublic Long getQuantity()
getQuantity in interface CustomLineItemReturnItemDraftgetQuantity in interface ReturnItemDraftpublic ReturnShipmentState getShipmentState()
getShipmentState in interface CustomLineItemReturnItemDraftgetShipmentState in interface ReturnItemDraftpublic CustomLineItemReturnItemDraftBuilder newBuilder()
public CustomLineItemReturnItemDraftDsl withComment(@Nullable String comment)
public CustomLineItemReturnItemDraftDsl withCustom(@Nullable CustomFieldsDraft custom)
public CustomLineItemReturnItemDraftDsl withCustomLineItemId(String customLineItemId)
public CustomLineItemReturnItemDraftDsl withQuantity(Long quantity)
public CustomLineItemReturnItemDraftDsl withShipmentState(ReturnShipmentState shipmentState)
public static CustomLineItemReturnItemDraftDsl of(Long quantity, String customLineItemId, ReturnShipmentState shipmentState, @Nullable String comment, @Nullable CustomFieldsDraft custom)
quantity - initial value for the CustomLineItemReturnItemDraft.getQuantity() propertycustomLineItemId - initial value for the CustomLineItemReturnItemDraft.getCustomLineItemId() propertyshipmentState - initial value for the CustomLineItemReturnItemDraft.getShipmentState() propertycomment - initial value for the CustomLineItemReturnItemDraft.getComment() propertycustom - initial value for the CustomLineItemReturnItemDraft.getCustom() propertypublic static CustomLineItemReturnItemDraftDsl of(CustomLineItemReturnItemDraft template)
template - the template