Package com.commercetools.api.models.me
Interface MyPaymentSetMethodInfoNameAction
- All Superinterfaces:
MyPaymentUpdateAction
,ResourceUpdateAction<MyPaymentUpdateAction>
MyPaymentSetMethodInfoNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyPaymentSetMethodInfoNameAction myPaymentSetMethodInfoNameAction = MyPaymentSetMethodInfoNameAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for MyPaymentSetMethodInfoNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for MyPaymentSetMethodInfoNameActionbuilder
(MyPaymentSetMethodInfoNameAction template) create builder for MyPaymentSetMethodInfoNameAction instancedeepCopy
(MyPaymentSetMethodInfoNameAction template) factory method to create a deep copy of MyPaymentSetMethodInfoNameAction@Valid LocalizedString
getName()
Value to set.of()
factory methodof
(MyPaymentSetMethodInfoNameAction template) factory method to create a shallow copy MyPaymentSetMethodInfoNameActionvoid
setName
(LocalizedString name) Value to set.static com.fasterxml.jackson.core.type.TypeReference<MyPaymentSetMethodInfoNameAction>
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_NAME
discriminator value for MyPaymentSetMethodInfoNameAction- See Also:
-
-
Method Details
-
getName
Value to set. If empty, any existing value will be removed.
- Returns:
- name
-
setName
Value to set. If empty, any existing value will be removed.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of MyPaymentSetMethodInfoNameAction
-
of
factory method to create a shallow copy MyPaymentSetMethodInfoNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static MyPaymentSetMethodInfoNameAction deepCopy(@Nullable MyPaymentSetMethodInfoNameAction template) factory method to create a deep copy of MyPaymentSetMethodInfoNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyPaymentSetMethodInfoNameAction- Returns:
- builder
-
builder
create builder for MyPaymentSetMethodInfoNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withMyPaymentSetMethodInfoNameAction
default <T> T withMyPaymentSetMethodInfoNameAction(Function<MyPaymentSetMethodInfoNameAction, 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<MyPaymentSetMethodInfoNameAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-