Interface PaymentSetMethodInfoMethodAction
- All Superinterfaces:
PaymentUpdateAction
,ResourceUpdateAction<PaymentUpdateAction>
PaymentSetMethodInfoMethodAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentSetMethodInfoMethodAction paymentSetMethodInfoMethodAction = PaymentSetMethodInfoMethodAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentSetMethodInfoMethodAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentSetMethodInfoMethodActionbuilder
(PaymentSetMethodInfoMethodAction template) create builder for PaymentSetMethodInfoMethodAction instancedeepCopy
(PaymentSetMethodInfoMethodAction template) factory method to create a deep copy of PaymentSetMethodInfoMethodActionValue to set.of()
factory methodof
(PaymentSetMethodInfoMethodAction template) factory method to create a shallow copy PaymentSetMethodInfoMethodActionvoid
Value to set.static com.fasterxml.jackson.core.type.TypeReference<PaymentSetMethodInfoMethodAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.payment.PaymentUpdateAction
getAction, withPaymentUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_METHOD_INFO_METHOD
discriminator value for PaymentSetMethodInfoMethodAction- See Also:
-
-
Method Details
-
getMethod
String getMethod()Value to set. If empty, any existing value will be removed.
- Returns:
- method
-
setMethod
Value to set. If empty, any existing value will be removed.
- Parameters:
method
- value to be set
-
of
factory method- Returns:
- instance of PaymentSetMethodInfoMethodAction
-
of
factory method to create a shallow copy PaymentSetMethodInfoMethodAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static PaymentSetMethodInfoMethodAction deepCopy(@Nullable PaymentSetMethodInfoMethodAction template) factory method to create a deep copy of PaymentSetMethodInfoMethodAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentSetMethodInfoMethodAction- Returns:
- builder
-
builder
create builder for PaymentSetMethodInfoMethodAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentSetMethodInfoMethodAction
default <T> T withPaymentSetMethodInfoMethodAction(Function<PaymentSetMethodInfoMethodAction, T> helper) 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<PaymentSetMethodInfoMethodAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-