Class LineItemStateTransition
java.lang.Object
com.commercetools.graphql.api.types.LineItemStateTransition
- All Implemented Interfaces:
MessagePayload,OrderMessagePayload
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionLineItemStateTransition(String lineItemId, String lineItemKey, OffsetDateTime transitionDate, Long quantity, State fromState, State toState, Reference fromStateRef, Reference toStateRef, String type) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()inthashCode()voidsetFromState(State fromState) voidsetFromStateRef(Reference fromStateRef) voidsetLineItemId(String lineItemId) voidsetLineItemKey(String lineItemKey) voidsetQuantity(Long quantity) voidsetToState(State toState) voidsetToStateRef(Reference toStateRef) voidsetTransitionDate(OffsetDateTime transitionDate) voidtoString()
-
Constructor Details
-
LineItemStateTransition
public LineItemStateTransition() -
LineItemStateTransition
-
-
Method Details
-
getLineItemId
-
setLineItemId
-
getLineItemKey
-
setLineItemKey
-
getTransitionDate
-
setTransitionDate
-
getQuantity
-
setQuantity
-
getFromState
-
setFromState
-
getToState
-
setToState
-
getFromStateRef
-
setFromStateRef
-
getToStateRef
-
setToStateRef
-
getType
- Specified by:
getTypein interfaceMessagePayload- Specified by:
getTypein interfaceOrderMessagePayload
-
setType
- Specified by:
setTypein interfaceMessagePayload- Specified by:
setTypein interfaceOrderMessagePayload
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-