Interface PaymentSetMethodInfoInterfaceAccountAction
- All Superinterfaces:
PaymentUpdateAction
,ResourceUpdateAction<PaymentUpdateAction>
This action generates the PaymentMethodInfoInterfaceAccountSet Message.
Example to create an instance using the builder pattern
PaymentSetMethodInfoInterfaceAccountAction paymentSetMethodInfoInterfaceAccountAction = PaymentSetMethodInfoInterfaceAccountAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentSetMethodInfoInterfaceAccountAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentSetMethodInfoInterfaceAccountActioncreate builder for PaymentSetMethodInfoInterfaceAccountAction instancecopyDeep()
factory method to create a deep copy of PaymentSetMethodInfoInterfaceAccountActionNew account or instance of the payment interface.of()
factory methodof
(PaymentSetMethodInfoInterfaceAccountAction template) factory method to create a shallow copy PaymentSetMethodInfoInterfaceAccountActionvoid
setInterfaceAccount
(String interfaceAccount) New account or instance of the payment interface.static com.fasterxml.jackson.core.type.TypeReference<PaymentSetMethodInfoInterfaceAccountAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPaymentSetMethodInfoInterfaceAccountAction
(Function<PaymentSetMethodInfoInterfaceAccountAction, T> helper) 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_INTERFACE_ACCOUNT
discriminator value for PaymentSetMethodInfoInterfaceAccountAction- 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 PaymentSetMethodInfoInterfaceAccountAction
-
of
static PaymentSetMethodInfoInterfaceAccountAction of(PaymentSetMethodInfoInterfaceAccountAction template) factory method to create a shallow copy PaymentSetMethodInfoInterfaceAccountAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentSetMethodInfoInterfaceAccountAction copyDeep()- Specified by:
copyDeep
in interfacePaymentUpdateAction
-
deepCopy
@Nullable static PaymentSetMethodInfoInterfaceAccountAction deepCopy(@Nullable PaymentSetMethodInfoInterfaceAccountAction template) factory method to create a deep copy of PaymentSetMethodInfoInterfaceAccountAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentSetMethodInfoInterfaceAccountAction- Returns:
- builder
-
builder
static PaymentSetMethodInfoInterfaceAccountActionBuilder builder(PaymentSetMethodInfoInterfaceAccountAction template) create builder for PaymentSetMethodInfoInterfaceAccountAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentSetMethodInfoInterfaceAccountAction
default <T> T withPaymentSetMethodInfoInterfaceAccountAction(Function<PaymentSetMethodInfoInterfaceAccountAction, 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<PaymentSetMethodInfoInterfaceAccountAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-