Interface PaymentMethodInfoInterfaceAccountSetMessage
- All Superinterfaces:
BaseResource
,DomainResource<Message>
,Identifiable<Message>
,Message
,Versioned<Message>
Generated after a successful Set MethodInfo InterfaceAccount update action on Payments and Set MethodInfo InterfaceAccount update action on My Payments.
Example to create an instance using the builder pattern
PaymentMethodInfoInterfaceAccountSetMessage paymentMethodInfoInterfaceAccountSetMessage = PaymentMethodInfoInterfaceAccountSetMessage.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 PaymentMethodInfoInterfaceAccountSetMessage -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentMethodInfoInterfaceAccountSetMessagecreate builder for PaymentMethodInfoInterfaceAccountSetMessage instancecopyDeep()
factory method to create a deep copy of PaymentMethodInfoInterfaceAccountSetMessageInterface account of the Payment Method after the Set MethodInfo InterfaceAccount update action.Interface account of the Payment Method before the Set MethodInfo InterfaceAccount update action.of()
factory methodfactory method to create a shallow copy PaymentMethodInfoInterfaceAccountSetMessagevoid
setInterfaceAccount
(String interfaceAccount) Interface account of the Payment Method after the Set MethodInfo InterfaceAccount update action.void
setOldInterfaceAccount
(String oldInterfaceAccount) Interface account of the Payment Method before the Set MethodInfo InterfaceAccount update action.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodInfoInterfaceAccountSetMessage>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPaymentMethodInfoInterfaceAccountSetMessage
(Function<PaymentMethodInfoInterfaceAccountSetMessage, 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_INFO_INTERFACE_ACCOUNT_SET
discriminator value for PaymentMethodInfoInterfaceAccountSetMessage- See Also:
-
-
Method Details
-
getInterfaceAccount
String getInterfaceAccount()Interface account of the Payment Method after the Set MethodInfo InterfaceAccount update action.
- Returns:
- interfaceAccount
-
getOldInterfaceAccount
String getOldInterfaceAccount()Interface account of the Payment Method before the Set MethodInfo InterfaceAccount update action.
- Returns:
- oldInterfaceAccount
-
setInterfaceAccount
Interface account of the Payment Method after the Set MethodInfo InterfaceAccount update action.
- Parameters:
interfaceAccount
- value to be set
-
setOldInterfaceAccount
Interface account of the Payment Method before the Set MethodInfo InterfaceAccount update action.
- Parameters:
oldInterfaceAccount
- value to be set
-
of
factory method- Returns:
- instance of PaymentMethodInfoInterfaceAccountSetMessage
-
of
static PaymentMethodInfoInterfaceAccountSetMessage of(PaymentMethodInfoInterfaceAccountSetMessage template) factory method to create a shallow copy PaymentMethodInfoInterfaceAccountSetMessage- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentMethodInfoInterfaceAccountSetMessage copyDeep()- Specified by:
copyDeep
in interfaceBaseResource
- Specified by:
copyDeep
in interfaceMessage
-
deepCopy
@Nullable static PaymentMethodInfoInterfaceAccountSetMessage deepCopy(@Nullable PaymentMethodInfoInterfaceAccountSetMessage template) factory method to create a deep copy of PaymentMethodInfoInterfaceAccountSetMessage- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodInfoInterfaceAccountSetMessage- Returns:
- builder
-
builder
static PaymentMethodInfoInterfaceAccountSetMessageBuilder builder(PaymentMethodInfoInterfaceAccountSetMessage template) create builder for PaymentMethodInfoInterfaceAccountSetMessage instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodInfoInterfaceAccountSetMessage
default <T> T withPaymentMethodInfoInterfaceAccountSetMessage(Function<PaymentMethodInfoInterfaceAccountSetMessage, 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<PaymentMethodInfoInterfaceAccountSetMessage> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-