Package com.commercetools.api.models.me
Interface MyPaymentSetMethodInfoMethodAction
- All Superinterfaces:
MyPaymentUpdateAction
,ResourceUpdateAction<MyPaymentUpdateAction>
MyPaymentSetMethodInfoMethodAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyPaymentSetMethodInfoMethodAction myPaymentSetMethodInfoMethodAction = MyPaymentSetMethodInfoMethodAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for MyPaymentSetMethodInfoMethodAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for MyPaymentSetMethodInfoMethodActionbuilder
(MyPaymentSetMethodInfoMethodAction template) create builder for MyPaymentSetMethodInfoMethodAction instancedeepCopy
(MyPaymentSetMethodInfoMethodAction template) factory method to create a deep copy of MyPaymentSetMethodInfoMethodActionValue to set.of()
factory methodof
(MyPaymentSetMethodInfoMethodAction template) factory method to create a shallow copy MyPaymentSetMethodInfoMethodActionvoid
Value to set.static com.fasterxml.jackson.core.type.TypeReference<MyPaymentSetMethodInfoMethodAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.me.MyPaymentUpdateAction
getAction, withMyPaymentUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_METHOD_INFO_METHOD
discriminator value for MyPaymentSetMethodInfoMethodAction- 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 MyPaymentSetMethodInfoMethodAction
-
of
factory method to create a shallow copy MyPaymentSetMethodInfoMethodAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static MyPaymentSetMethodInfoMethodAction deepCopy(@Nullable MyPaymentSetMethodInfoMethodAction template) factory method to create a deep copy of MyPaymentSetMethodInfoMethodAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyPaymentSetMethodInfoMethodAction- Returns:
- builder
-
builder
static MyPaymentSetMethodInfoMethodActionBuilder builder(MyPaymentSetMethodInfoMethodAction template) create builder for MyPaymentSetMethodInfoMethodAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withMyPaymentSetMethodInfoMethodAction
default <T> T withMyPaymentSetMethodInfoMethodAction(Function<MyPaymentSetMethodInfoMethodAction, 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<MyPaymentSetMethodInfoMethodAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-