Interface PaymentMethodInterfaceAccountSetMessage
- All Superinterfaces:
BaseResource
,DomainResource<Message>
,Identifiable<Message>
,Message
,Versioned<Message>
Generated after a successful Set InterfaceAccount update action.
Example to create an instance using the builder pattern
PaymentMethodInterfaceAccountSetMessage paymentMethodInterfaceAccountSetMessage = PaymentMethodInterfaceAccountSetMessage.builder()
.id("{id}")
.version(0.3)
.createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.sequenceNumber(0.3)
.resource(resourceBuilder -> resourceBuilder)
.resourceVersion(0.3)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentMethodInterfaceAccountSetMessage -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentMethodInterfaceAccountSetMessagecreate builder for PaymentMethodInterfaceAccountSetMessage instancecopyDeep()
factory method to create a deep copy of PaymentMethodInterfaceAccountSetMessageInterface account of the Payment Method after the Set InterfaceAccount update action.Interface account of the Payment Method before the Set InterfaceAccount update action.of()
factory methodof
(PaymentMethodInterfaceAccountSetMessage template) factory method to create a shallow copy PaymentMethodInterfaceAccountSetMessagevoid
setInterfaceAccount
(String interfaceAccount) Interface account of the Payment Method after the Set InterfaceAccount update action.void
setOldInterfaceAccount
(String oldInterfaceAccount) Interface account of the Payment Method before the Set InterfaceAccount update action.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodInterfaceAccountSetMessage>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPaymentMethodInterfaceAccountSetMessage
(Function<PaymentMethodInterfaceAccountSetMessage, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResource
Methods inherited from interface com.commercetools.api.models.DomainResource
get
Methods inherited from interface com.commercetools.api.models.message.Message
getCreatedAt, getCreatedBy, getId, getLastModifiedAt, getLastModifiedBy, getResource, getResourceUserProvidedIdentifiers, getResourceVersion, getSequenceNumber, getType, getVersion, setCreatedAt, setCreatedBy, setId, setLastModifiedAt, setLastModifiedBy, setResource, setResourceUserProvidedIdentifiers, setResourceVersion, setSequenceNumber, setVersion, withMessage
-
Field Details
-
PAYMENT_METHOD_INTERFACE_ACCOUNT_SET
discriminator value for PaymentMethodInterfaceAccountSetMessage- See Also:
-
-
Method Details
-
getInterfaceAccount
String getInterfaceAccount()Interface account of the Payment Method after the Set InterfaceAccount update action.
- Returns:
- interfaceAccount
-
getOldInterfaceAccount
String getOldInterfaceAccount()Interface account of the Payment Method before the Set InterfaceAccount update action.
- Returns:
- oldInterfaceAccount
-
setInterfaceAccount
Interface account of the Payment Method after the Set InterfaceAccount update action.
- Parameters:
interfaceAccount
- value to be set
-
setOldInterfaceAccount
Interface account of the Payment Method before the Set InterfaceAccount update action.
- Parameters:
oldInterfaceAccount
- value to be set
-
of
factory method- Returns:
- instance of PaymentMethodInterfaceAccountSetMessage
-
of
factory method to create a shallow copy PaymentMethodInterfaceAccountSetMessage- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentMethodInterfaceAccountSetMessage copyDeep()- Specified by:
copyDeep
in interfaceBaseResource
- Specified by:
copyDeep
in interfaceMessage
-
deepCopy
@Nullable static PaymentMethodInterfaceAccountSetMessage deepCopy(@Nullable PaymentMethodInterfaceAccountSetMessage template) factory method to create a deep copy of PaymentMethodInterfaceAccountSetMessage- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodInterfaceAccountSetMessage- Returns:
- builder
-
builder
static PaymentMethodInterfaceAccountSetMessageBuilder builder(PaymentMethodInterfaceAccountSetMessage template) create builder for PaymentMethodInterfaceAccountSetMessage instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodInterfaceAccountSetMessage
default <T> T withPaymentMethodInterfaceAccountSetMessage(Function<PaymentMethodInterfaceAccountSetMessage, 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<PaymentMethodInterfaceAccountSetMessage> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-