Interface PaymentSetMethodInfoNameAction
- All Superinterfaces:
PaymentUpdateAction,ResourceUpdateAction<PaymentUpdateAction>
This action generates the PaymentMethodInfoNameSet Message.
Example to create an instance using the builder pattern
PaymentSetMethodInfoNameAction paymentSetMethodInfoNameAction = PaymentSetMethodInfoNameAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for PaymentSetMethodInfoNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentSetMethodInfoNameActionbuilder(PaymentSetMethodInfoNameAction template) create builder for PaymentSetMethodInfoNameAction instancecopyDeep()deepCopy(PaymentSetMethodInfoNameAction template) factory method to create a deep copy of PaymentSetMethodInfoNameAction@Valid LocalizedStringgetName()Value to set.of()factory methodof(PaymentSetMethodInfoNameAction template) factory method to create a shallow copy PaymentSetMethodInfoNameActionvoidsetName(LocalizedString name) Value to set.static com.fasterxml.jackson.core.type.TypeReference<PaymentSetMethodInfoNameAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.payment.PaymentUpdateAction
getAction, withPaymentUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_METHOD_INFO_NAME
discriminator value for PaymentSetMethodInfoNameAction- 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 PaymentSetMethodInfoNameAction
-
of
factory method to create a shallow copy PaymentSetMethodInfoNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentSetMethodInfoNameAction copyDeep()- Specified by:
copyDeepin interfacePaymentUpdateAction
-
deepCopy
@Nullable static PaymentSetMethodInfoNameAction deepCopy(@Nullable PaymentSetMethodInfoNameAction template) factory method to create a deep copy of PaymentSetMethodInfoNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentSetMethodInfoNameAction- Returns:
- builder
-
builder
create builder for PaymentSetMethodInfoNameAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentSetMethodInfoNameAction
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<PaymentSetMethodInfoNameAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-