@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, wait
of, of, of
@Nullable public String getComment()
getComment
in interface CustomLineItemReturnItemDraft
getComment
in interface ReturnItemDraft
@Nullable public CustomFieldsDraft getCustom()
getCustom
in interface CustomLineItemReturnItemDraft
getCustom
in interface ReturnItemDraft
public String getCustomLineItemId()
getCustomLineItemId
in interface CustomLineItemReturnItemDraft
public Long getQuantity()
getQuantity
in interface CustomLineItemReturnItemDraft
getQuantity
in interface ReturnItemDraft
public ReturnShipmentState getShipmentState()
getShipmentState
in interface CustomLineItemReturnItemDraft
getShipmentState
in interface ReturnItemDraft
public 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