Interface PaymentSetInterfaceIdAction
- All Superinterfaces:
PaymentUpdateAction
,ResourceUpdateAction<PaymentUpdateAction>
PaymentSetInterfaceIdAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentSetInterfaceIdAction paymentSetInterfaceIdAction = PaymentSetInterfaceIdAction.builder()
.interfaceId("{interfaceId}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentSetInterfaceIdAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentSetInterfaceIdActionbuilder
(PaymentSetInterfaceIdAction template) create builder for PaymentSetInterfaceIdAction instancestatic PaymentSetInterfaceIdAction
deepCopy
(PaymentSetInterfaceIdAction template) factory method to create a deep copy of PaymentSetInterfaceIdAction@NotNull String
Value to set.static PaymentSetInterfaceIdAction
of()
factory methodstatic PaymentSetInterfaceIdAction
of
(PaymentSetInterfaceIdAction template) factory method to create a shallow copy PaymentSetInterfaceIdActionvoid
setInterfaceId
(String interfaceId) Value to set.static com.fasterxml.jackson.core.type.TypeReference<PaymentSetInterfaceIdAction>
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_INTERFACE_ID
discriminator value for PaymentSetInterfaceIdAction- See Also:
-
-
Method Details
-
getInterfaceId
Value to set. Once set, the
interfaceId
cannot be changed.- Returns:
- interfaceId
-
setInterfaceId
Value to set. Once set, the
interfaceId
cannot be changed.- 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
-
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
-