Interface PaymentSetInterfaceIdAction
- All Superinterfaces:
PaymentUpdateAction,ResourceUpdateAction<PaymentUpdateAction>
This action generates the PaymentInterfaceIdSet Message.
Example to create an instance using the builder pattern
PaymentSetInterfaceIdAction paymentSetInterfaceIdAction = PaymentSetInterfaceIdAction.builder()
.interfaceId("{interfaceId}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for PaymentSetInterfaceIdAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentSetInterfaceIdActionbuilder(PaymentSetInterfaceIdAction template) create builder for PaymentSetInterfaceIdAction instancecopyDeep()static PaymentSetInterfaceIdActiondeepCopy(PaymentSetInterfaceIdAction template) factory method to create a deep copy of PaymentSetInterfaceIdAction@NotNull StringValue to set.static PaymentSetInterfaceIdActionof()factory methodstatic PaymentSetInterfaceIdActionof(PaymentSetInterfaceIdAction template) factory method to create a shallow copy PaymentSetInterfaceIdActionvoidsetInterfaceId(String interfaceId) Value to set.static com.fasterxml.jackson.core.type.TypeReference<PaymentSetInterfaceIdAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.payment.PaymentUpdateAction
getAction, withPaymentUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_INTERFACE_ID
discriminator value for PaymentSetInterfaceIdAction- See Also:
-
-
Method Details
-
getInterfaceId
Value to set. The combination of
interfaceIdandpaymentInterfaceof a PaymentMethodInfo must be unique.The value cannot be modified after it is set.
- Returns:
- interfaceId
-
setInterfaceId
Value to set. The combination of
interfaceIdandpaymentInterfaceof a PaymentMethodInfo must be unique.The value cannot be modified after it is set.
- Parameters:
interfaceId- value to be set
-
of
factory method- Returns:
- instance of PaymentSetInterfaceIdAction
-
of
factory method to create a shallow copy PaymentSetInterfaceIdAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentSetInterfaceIdAction copyDeep()- Specified by:
copyDeepin interfacePaymentUpdateAction
-
deepCopy
@Nullable static PaymentSetInterfaceIdAction deepCopy(@Nullable PaymentSetInterfaceIdAction template) factory method to create a deep copy of PaymentSetInterfaceIdAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentSetInterfaceIdAction- Returns:
- builder
-
builder
create builder for PaymentSetInterfaceIdAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentSetInterfaceIdAction
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-