Package com.commercetools.api.models.me
Interface MyPaymentSetMethodInfoInterfaceAccountAction
- All Superinterfaces:
MyPaymentUpdateAction
,ResourceUpdateAction<MyPaymentUpdateAction>
This action generates the PaymentMethodInfoInterfaceAccountSet Message.
Example to create an instance using the builder pattern
MyPaymentSetMethodInfoInterfaceAccountAction myPaymentSetMethodInfoInterfaceAccountAction = MyPaymentSetMethodInfoInterfaceAccountAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for MyPaymentSetMethodInfoInterfaceAccountAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for MyPaymentSetMethodInfoInterfaceAccountActioncreate builder for MyPaymentSetMethodInfoInterfaceAccountAction instancecopyDeep()
factory method to create a deep copy of MyPaymentSetMethodInfoInterfaceAccountActionNew account or instance of the payment interface.of()
factory methodfactory method to create a shallow copy MyPaymentSetMethodInfoInterfaceAccountActionvoid
setInterfaceAccount
(String interfaceAccount) New account or instance of the payment interface.static com.fasterxml.jackson.core.type.TypeReference<MyPaymentSetMethodInfoInterfaceAccountAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withMyPaymentSetMethodInfoInterfaceAccountAction
(Function<MyPaymentSetMethodInfoInterfaceAccountAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.me.MyPaymentUpdateAction
getAction, withMyPaymentUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_METHOD_INFO_INTERFACE_ACCOUNT
discriminator value for MyPaymentSetMethodInfoInterfaceAccountAction- 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 MyPaymentSetMethodInfoInterfaceAccountAction
-
of
static MyPaymentSetMethodInfoInterfaceAccountAction of(MyPaymentSetMethodInfoInterfaceAccountAction template) factory method to create a shallow copy MyPaymentSetMethodInfoInterfaceAccountAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
MyPaymentSetMethodInfoInterfaceAccountAction copyDeep()- Specified by:
copyDeep
in interfaceMyPaymentUpdateAction
-
deepCopy
@Nullable static MyPaymentSetMethodInfoInterfaceAccountAction deepCopy(@Nullable MyPaymentSetMethodInfoInterfaceAccountAction template) factory method to create a deep copy of MyPaymentSetMethodInfoInterfaceAccountAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyPaymentSetMethodInfoInterfaceAccountAction- Returns:
- builder
-
builder
static MyPaymentSetMethodInfoInterfaceAccountActionBuilder builder(MyPaymentSetMethodInfoInterfaceAccountAction template) create builder for MyPaymentSetMethodInfoInterfaceAccountAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withMyPaymentSetMethodInfoInterfaceAccountAction
default <T> T withMyPaymentSetMethodInfoInterfaceAccountAction(Function<MyPaymentSetMethodInfoInterfaceAccountAction, 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<MyPaymentSetMethodInfoInterfaceAccountAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-