Interface PaymentSetMethodInfoInterfaceAction
- All Superinterfaces:
PaymentUpdateAction
,ResourceUpdateAction<PaymentUpdateAction>
PaymentSetMethodInfoInterfaceAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentSetMethodInfoInterfaceAction paymentSetMethodInfoInterfaceAction = PaymentSetMethodInfoInterfaceAction.builder()
.interface("{interface}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentSetMethodInfoInterfaceAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentSetMethodInfoInterfaceActionbuilder
(PaymentSetMethodInfoInterfaceAction template) create builder for PaymentSetMethodInfoInterfaceAction instancedeepCopy
(PaymentSetMethodInfoInterfaceAction template) factory method to create a deep copy of PaymentSetMethodInfoInterfaceAction@NotNull String
Value to set.of()
factory methodof
(PaymentSetMethodInfoInterfaceAction template) factory method to create a shallow copy PaymentSetMethodInfoInterfaceActionvoid
setInterface
(String _interface) Value to set.static com.fasterxml.jackson.core.type.TypeReference<PaymentSetMethodInfoInterfaceAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
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
discriminator value for PaymentSetMethodInfoInterfaceAction- See Also:
-
-
Method Details
-
getInterface
Value to set. Once set, the
paymentInterface
of thepaymentMethodInfo
cannot be changed.- Returns:
- interface
-
setInterface
Value to set. Once set, the
paymentInterface
of thepaymentMethodInfo
cannot be changed.- Parameters:
_interface
- value to be set
-
of
factory method- Returns:
- instance of PaymentSetMethodInfoInterfaceAction
-
of
factory method to create a shallow copy PaymentSetMethodInfoInterfaceAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static PaymentSetMethodInfoInterfaceAction deepCopy(@Nullable PaymentSetMethodInfoInterfaceAction template) factory method to create a deep copy of PaymentSetMethodInfoInterfaceAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentSetMethodInfoInterfaceAction- Returns:
- builder
-
builder
static PaymentSetMethodInfoInterfaceActionBuilder builder(PaymentSetMethodInfoInterfaceAction template) create builder for PaymentSetMethodInfoInterfaceAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentSetMethodInfoInterfaceAction
default <T> T withPaymentSetMethodInfoInterfaceAction(Function<PaymentSetMethodInfoInterfaceAction, 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<PaymentSetMethodInfoInterfaceAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-