public interface LineItemReturnItemDraft extends ReturnItemDraft
Modifier and Type | Method and Description |
---|---|
String |
getComment() |
CustomFieldsDraft |
getCustom() |
String |
getLineItemId() |
Long |
getQuantity() |
ReturnShipmentState |
getShipmentState() |
static LineItemReturnItemDraft |
of(long quantity,
String lineItemId,
ReturnShipmentState shipmentState) |
static LineItemReturnItemDraft |
of(long quantity,
String lineItemId,
ReturnShipmentState shipmentState,
String comment) |
static LineItemReturnItemDraft |
of(long quantity,
String lineItemId,
ReturnShipmentState shipmentState,
String comment,
CustomFieldsDraft custom) |
Long getQuantity()
getQuantity
in interface ReturnItemDraft
String getLineItemId()
ReturnShipmentState getShipmentState()
getShipmentState
in interface ReturnItemDraft
@Nullable String getComment()
getComment
in interface ReturnItemDraft
@Nullable CustomFieldsDraft getCustom()
getCustom
in interface ReturnItemDraft
static LineItemReturnItemDraft of(long quantity, String lineItemId, ReturnShipmentState shipmentState, @Nullable String comment)
static LineItemReturnItemDraft of(long quantity, String lineItemId, ReturnShipmentState shipmentState, @Nullable String comment, @Nullable CustomFieldsDraft custom)
static LineItemReturnItemDraft of(long quantity, String lineItemId, ReturnShipmentState shipmentState)