Interface PaymentSetMethodInfoNameAction
- All Superinterfaces:
PaymentUpdateAction
,ResourceUpdateAction<PaymentUpdateAction>
PaymentSetMethodInfoNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentSetMethodInfoNameAction paymentSetMethodInfoNameAction = PaymentSetMethodInfoNameAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentSetMethodInfoNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentSetMethodInfoNameActionbuilder
(PaymentSetMethodInfoNameAction template) create builder for PaymentSetMethodInfoNameAction instancedeepCopy
(PaymentSetMethodInfoNameAction template) factory method to create a deep copy of PaymentSetMethodInfoNameAction@Valid LocalizedString
getName()
Value to set.of()
factory methodof
(PaymentSetMethodInfoNameAction template) factory method to create a shallow copy PaymentSetMethodInfoNameActionvoid
setName
(LocalizedString name) Value to set.static com.fasterxml.jackson.core.type.TypeReference<PaymentSetMethodInfoNameAction>
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_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
-
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
-