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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for MyPaymentSetMethodInfoNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for MyPaymentSetMethodInfoNameActionbuilder(MyPaymentSetMethodInfoNameAction template) create builder for MyPaymentSetMethodInfoNameAction instancecopyDeep()deepCopy(MyPaymentSetMethodInfoNameAction template) factory method to create a deep copy of MyPaymentSetMethodInfoNameAction@Valid LocalizedStringgetName()Value to set.of()factory methodof(MyPaymentSetMethodInfoNameAction template) factory method to create a shallow copy MyPaymentSetMethodInfoNameActionvoidsetName(LocalizedString name) Value to set.static com.fasterxml.jackson.core.type.TypeReference<MyPaymentSetMethodInfoNameAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.me.MyPaymentUpdateAction
getAction, withMyPaymentUpdateActionMethods 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
-
copyDeep
MyPaymentSetMethodInfoNameAction copyDeep()- Specified by:
copyDeepin interfaceMyPaymentUpdateAction
-
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
-