Interface OrderChangePaymentStateAction
- All Superinterfaces:
OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
- All Known Implementing Classes:
OrderChangePaymentStateActionImpl
OrderChangePaymentStateAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderChangePaymentStateAction orderChangePaymentStateAction = OrderChangePaymentStateAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for OrderChangePaymentStateAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderChangePaymentStateActionbuilder
(OrderChangePaymentStateAction template) create builder for OrderChangePaymentStateAction instancedeepCopy
(OrderChangePaymentStateAction template) factory method to create a deep copy of OrderChangePaymentStateActionof()
factory methodof
(OrderChangePaymentStateAction template) factory method to create a shallow copy OrderChangePaymentStateActionvoid
setPaymentState
(PaymentState paymentState) set paymentStatestatic com.fasterxml.jackson.core.type.TypeReference<OrderChangePaymentStateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
getAction, withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_PAYMENT_STATE
discriminator value for OrderChangePaymentStateAction- See Also:
-
-
Method Details
-
getPaymentState
- Returns:
- paymentState
-
setPaymentState
set paymentState- Parameters:
paymentState
- value to be set
-
of
factory method- Returns:
- instance of OrderChangePaymentStateAction
-
of
factory method to create a shallow copy OrderChangePaymentStateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static OrderChangePaymentStateAction deepCopy(@Nullable OrderChangePaymentStateAction template) factory method to create a deep copy of OrderChangePaymentStateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderChangePaymentStateAction- Returns:
- builder
-
builder
create builder for OrderChangePaymentStateAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderChangePaymentStateAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-