Interface PaymentMethodSetPaymentInterfaceAction
- All Superinterfaces:
PaymentMethodUpdateAction
This action generates the PaymentMethodPaymentInterfaceSet Message.
Example to create an instance using the builder pattern
PaymentMethodSetPaymentInterfaceAction paymentMethodSetPaymentInterfaceAction = PaymentMethodSetPaymentInterfaceAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentMethodSetPaymentInterfaceAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentMethodSetPaymentInterfaceActioncreate builder for PaymentMethodSetPaymentInterfaceAction instancecopyDeep()
factory method to create a deep copy of PaymentMethodSetPaymentInterfaceActionNew payment service that processes the Payment—for example, a PSP.of()
factory methodof
(PaymentMethodSetPaymentInterfaceAction template) factory method to create a shallow copy PaymentMethodSetPaymentInterfaceActionvoid
setPaymentInterface
(String paymentInterface) New payment service that processes the Payment—for example, a PSP.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodSetPaymentInterfaceAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPaymentMethodSetPaymentInterfaceAction
(Function<PaymentMethodSetPaymentInterfaceAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.payment_method.PaymentMethodUpdateAction
getAction, withPaymentMethodUpdateAction
-
Field Details
-
SET_PAYMENT_INTERFACE
discriminator value for PaymentMethodSetPaymentInterfaceAction- See Also:
-
-
Method Details
-
getPaymentInterface
String getPaymentInterface()New payment service that processes the Payment—for example, a PSP. If empty, any existing value will be removed.
- Returns:
- paymentInterface
-
setPaymentInterface
New payment service that processes the Payment—for example, a PSP. If empty, any existing value will be removed.
- Parameters:
paymentInterface
- value to be set
-
of
factory method- Returns:
- instance of PaymentMethodSetPaymentInterfaceAction
-
of
factory method to create a shallow copy PaymentMethodSetPaymentInterfaceAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentMethodSetPaymentInterfaceAction copyDeep()- Specified by:
copyDeep
in interfacePaymentMethodUpdateAction
-
deepCopy
@Nullable static PaymentMethodSetPaymentInterfaceAction deepCopy(@Nullable PaymentMethodSetPaymentInterfaceAction template) factory method to create a deep copy of PaymentMethodSetPaymentInterfaceAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodSetPaymentInterfaceAction- Returns:
- builder
-
builder
static PaymentMethodSetPaymentInterfaceActionBuilder builder(PaymentMethodSetPaymentInterfaceAction template) create builder for PaymentMethodSetPaymentInterfaceAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodSetPaymentInterfaceAction
default <T> T withPaymentMethodSetPaymentInterfaceAction(Function<PaymentMethodSetPaymentInterfaceAction, 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<PaymentMethodSetPaymentInterfaceAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-