Interface PaymentSetMethodInfoMethodAction
- All Superinterfaces:
PaymentUpdateAction,ResourceUpdateAction<PaymentUpdateAction>
This action generates the PaymentMethodInfoMethodSet Message.
Example to create an instance using the builder pattern
PaymentSetMethodInfoMethodAction paymentSetMethodInfoMethodAction = PaymentSetMethodInfoMethodAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for PaymentSetMethodInfoMethodAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentSetMethodInfoMethodActionbuilder(PaymentSetMethodInfoMethodAction template) create builder for PaymentSetMethodInfoMethodAction instancecopyDeep()deepCopy(PaymentSetMethodInfoMethodAction template) factory method to create a deep copy of PaymentSetMethodInfoMethodActionValue to set.of()factory methodof(PaymentSetMethodInfoMethodAction template) factory method to create a shallow copy PaymentSetMethodInfoMethodActionvoidValue to set.static com.fasterxml.jackson.core.type.TypeReference<PaymentSetMethodInfoMethodAction>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_METHOD
discriminator value for PaymentSetMethodInfoMethodAction- 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 PaymentSetMethodInfoMethodAction
-
of
factory method to create a shallow copy PaymentSetMethodInfoMethodAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentSetMethodInfoMethodAction copyDeep()- Specified by:
copyDeepin interfacePaymentUpdateAction
-
deepCopy
@Nullable static PaymentSetMethodInfoMethodAction deepCopy(@Nullable PaymentSetMethodInfoMethodAction template) factory method to create a deep copy of PaymentSetMethodInfoMethodAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentSetMethodInfoMethodAction- Returns:
- builder
-
builder
create builder for PaymentSetMethodInfoMethodAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentSetMethodInfoMethodAction
default <T> T withPaymentSetMethodInfoMethodAction(Function<PaymentSetMethodInfoMethodAction, 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<PaymentSetMethodInfoMethodAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-