Interface PaymentMethodSetKeyAction
- All Superinterfaces:
PaymentMethodUpdateAction
This action generates the PaymentMethodKeySet Message.
Example to create an instance using the builder pattern
PaymentMethodSetKeyAction paymentMethodSetKeyAction = PaymentMethodSetKeyAction.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentMethodSetKeyActionbuilder(PaymentMethodSetKeyAction template) create builder for PaymentMethodSetKeyAction instancecopyDeep()static PaymentMethodSetKeyActiondeepCopy(PaymentMethodSetKeyAction template) factory method to create a deep copy of PaymentMethodSetKeyActiongetKey()Value to set.static PaymentMethodSetKeyActionof()factory methodstatic PaymentMethodSetKeyActionof(PaymentMethodSetKeyAction template) factory method to create a shallow copy PaymentMethodSetKeyActionvoidValue to set.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodSetKeyAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.payment_method.PaymentMethodUpdateAction
getAction, withPaymentMethodUpdateAction
-
Field Details
-
SET_KEY
discriminator value for PaymentMethodSetKeyAction- See Also:
-
-
Method Details
-
getKey
String getKey()Value to set. If empty, any existing value will be removed.
- Returns:
- key
-
setKey
Value to set. If empty, any existing value will be removed.
- Parameters:
key- value to be set
-
of
factory method- Returns:
- instance of PaymentMethodSetKeyAction
-
of
factory method to create a shallow copy PaymentMethodSetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentMethodSetKeyAction copyDeep()- Specified by:
copyDeepin interfacePaymentMethodUpdateAction
-
deepCopy
factory method to create a deep copy of PaymentMethodSetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodSetKeyAction- Returns:
- builder
-
builder
create builder for PaymentMethodSetKeyAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodSetKeyAction
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-