Package com.commercetools.api.models.me
Interface MyPaymentSetMethodInfoInterfaceAction
- All Superinterfaces:
MyPaymentUpdateAction,ResourceUpdateAction<MyPaymentUpdateAction>
MyPaymentSetMethodInfoInterfaceAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyPaymentSetMethodInfoInterfaceAction myPaymentSetMethodInfoInterfaceAction = MyPaymentSetMethodInfoInterfaceAction.builder()
.interface("{interface}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for MyPaymentSetMethodInfoInterfaceAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for MyPaymentSetMethodInfoInterfaceActionbuilder(MyPaymentSetMethodInfoInterfaceAction template) create builder for MyPaymentSetMethodInfoInterfaceAction instancecopyDeep()factory method to create a deep copy of MyPaymentSetMethodInfoInterfaceAction@NotNull StringValue to set.of()factory methodof(MyPaymentSetMethodInfoInterfaceAction template) factory method to create a shallow copy MyPaymentSetMethodInfoInterfaceActionvoidsetInterface(String _interface) Value to set.static com.fasterxml.jackson.core.type.TypeReference<MyPaymentSetMethodInfoInterfaceAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.me.MyPaymentUpdateAction
getAction, withMyPaymentUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_METHOD_INFO_INTERFACE
discriminator value for MyPaymentSetMethodInfoInterfaceAction- See Also:
-
-
Method Details
-
getInterface
Value to set. Once set, the
paymentInterfaceof thepaymentMethodInfocannot be changed.- Returns:
- interface
-
setInterface
Value to set. Once set, the
paymentInterfaceof thepaymentMethodInfocannot be changed.- Parameters:
_interface- value to be set
-
of
factory method- Returns:
- instance of MyPaymentSetMethodInfoInterfaceAction
-
of
factory method to create a shallow copy MyPaymentSetMethodInfoInterfaceAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
MyPaymentSetMethodInfoInterfaceAction copyDeep()- Specified by:
copyDeepin interfaceMyPaymentUpdateAction
-
deepCopy
@Nullable static MyPaymentSetMethodInfoInterfaceAction deepCopy(@Nullable MyPaymentSetMethodInfoInterfaceAction template) factory method to create a deep copy of MyPaymentSetMethodInfoInterfaceAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyPaymentSetMethodInfoInterfaceAction- Returns:
- builder
-
builder
static MyPaymentSetMethodInfoInterfaceActionBuilder builder(MyPaymentSetMethodInfoInterfaceAction template) create builder for MyPaymentSetMethodInfoInterfaceAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withMyPaymentSetMethodInfoInterfaceAction
default <T> T withMyPaymentSetMethodInfoInterfaceAction(Function<MyPaymentSetMethodInfoInterfaceAction, 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<MyPaymentSetMethodInfoInterfaceAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-