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