Interface StagedOrderRemovePaymentAction
- All Superinterfaces:
ResourceUpdateAction<StagedOrderUpdateAction>
,StagedOrderUpdateAction
StagedOrderRemovePaymentAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderRemovePaymentAction stagedOrderRemovePaymentAction = StagedOrderRemovePaymentAction.builder()
.payment(paymentBuilder -> paymentBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for StagedOrderRemovePaymentAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StagedOrderRemovePaymentActionbuilder
(StagedOrderRemovePaymentAction template) create builder for StagedOrderRemovePaymentAction instancedeepCopy
(StagedOrderRemovePaymentAction template) factory method to create a deep copy of StagedOrderRemovePaymentAction@NotNull @Valid PaymentResourceIdentifier
Payment to remove from the PaymentInfo.of()
factory methodof
(StagedOrderRemovePaymentAction template) factory method to create a shallow copy StagedOrderRemovePaymentActionvoid
setPayment
(PaymentResourceIdentifier payment) Payment to remove from the PaymentInfo.static com.fasterxml.jackson.core.type.TypeReference<StagedOrderRemovePaymentAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
getAction, withStagedOrderUpdateAction
-
Field Details
-
REMOVE_PAYMENT
discriminator value for StagedOrderRemovePaymentAction- See Also:
-
-
Method Details
-
getPayment
Payment to remove from the PaymentInfo.
- Returns:
- payment
-
setPayment
Payment to remove from the PaymentInfo.
- Parameters:
payment
- value to be set
-
of
factory method- Returns:
- instance of StagedOrderRemovePaymentAction
-
of
factory method to create a shallow copy StagedOrderRemovePaymentAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StagedOrderRemovePaymentAction deepCopy(@Nullable StagedOrderRemovePaymentAction template) factory method to create a deep copy of StagedOrderRemovePaymentAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StagedOrderRemovePaymentAction- Returns:
- builder
-
builder
create builder for StagedOrderRemovePaymentAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStagedOrderRemovePaymentAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<StagedOrderRemovePaymentAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-