Interface PaymentMethodSetInterfaceAccountAction
- All Superinterfaces:
PaymentMethodUpdateAction
This action generates the PaymentMethodInterfaceAccountSet Message.
Example to create an instance using the builder pattern
PaymentMethodSetInterfaceAccountAction paymentMethodSetInterfaceAccountAction = PaymentMethodSetInterfaceAccountAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for PaymentMethodSetInterfaceAccountAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentMethodSetInterfaceAccountActioncreate builder for PaymentMethodSetInterfaceAccountAction instancecopyDeep()factory method to create a deep copy of PaymentMethodSetInterfaceAccountActionNew account or instance of the payment interface.of()factory methodof(PaymentMethodSetInterfaceAccountAction template) factory method to create a shallow copy PaymentMethodSetInterfaceAccountActionvoidsetInterfaceAccount(String interfaceAccount) New account or instance of the payment interface.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodSetInterfaceAccountAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithPaymentMethodSetInterfaceAccountAction(Function<PaymentMethodSetInterfaceAccountAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.payment_method.PaymentMethodUpdateAction
getAction, withPaymentMethodUpdateAction
-
Field Details
-
SET_INTERFACE_ACCOUNT
discriminator value for PaymentMethodSetInterfaceAccountAction- See Also:
-
-
Method Details
-
getInterfaceAccount
String getInterfaceAccount()New account or instance of the payment interface. If empty, any existing value will be removed.
- Returns:
- interfaceAccount
-
setInterfaceAccount
New account or instance of the payment interface. If empty, any existing value will be removed.
- Parameters:
interfaceAccount- value to be set
-
of
factory method- Returns:
- instance of PaymentMethodSetInterfaceAccountAction
-
of
factory method to create a shallow copy PaymentMethodSetInterfaceAccountAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentMethodSetInterfaceAccountAction copyDeep()- Specified by:
copyDeepin interfacePaymentMethodUpdateAction
-
deepCopy
@Nullable static PaymentMethodSetInterfaceAccountAction deepCopy(@Nullable PaymentMethodSetInterfaceAccountAction template) factory method to create a deep copy of PaymentMethodSetInterfaceAccountAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodSetInterfaceAccountAction- Returns:
- builder
-
builder
static PaymentMethodSetInterfaceAccountActionBuilder builder(PaymentMethodSetInterfaceAccountAction template) create builder for PaymentMethodSetInterfaceAccountAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodSetInterfaceAccountAction
default <T> T withPaymentMethodSetInterfaceAccountAction(Function<PaymentMethodSetInterfaceAccountAction, 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<PaymentMethodSetInterfaceAccountAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-