Interface PaymentMethodInfoMethodSetMessage
- All Superinterfaces:
BaseResource,DomainResource<Message>,Identifiable<Message>,Message,Versioned<Message>
Generated after a successful Set MethodInfo Method update action.
Example to create an instance using the builder pattern
PaymentMethodInfoMethodSetMessage paymentMethodInfoMethodSetMessage = PaymentMethodInfoMethodSetMessage.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 Stringdiscriminator value for PaymentMethodInfoMethodSetMessage -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentMethodInfoMethodSetMessagebuilder(PaymentMethodInfoMethodSetMessage template) create builder for PaymentMethodInfoMethodSetMessage instancecopyDeep()deepCopy(PaymentMethodInfoMethodSetMessage template) factory method to create a deep copy of PaymentMethodInfoMethodSetMessagePayment Method after the Set MethodInfo Method update action.Payment Method before the Set MethodInfo Method update action.of()factory methodof(PaymentMethodInfoMethodSetMessage template) factory method to create a shallow copy PaymentMethodInfoMethodSetMessagevoidPayment Method after the Set MethodInfo Method update action.voidsetOldMethod(String oldMethod) Payment Method before the Set MethodInfo Method update action.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodInfoMethodSetMessage>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResourceMethods inherited from interface com.commercetools.api.models.DomainResource
getMethods 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_METHOD_SET
discriminator value for PaymentMethodInfoMethodSetMessage- See Also:
-
-
Method Details
-
getMethod
String getMethod()Payment Method after the Set MethodInfo Method update action.
- Returns:
- method
-
getOldMethod
String getOldMethod()Payment Method before the Set MethodInfo Method update action.
- Returns:
- oldMethod
-
setMethod
Payment Method after the Set MethodInfo Method update action.
- Parameters:
method- value to be set
-
setOldMethod
Payment Method before the Set MethodInfo Method update action.
- Parameters:
oldMethod- value to be set
-
of
factory method- Returns:
- instance of PaymentMethodInfoMethodSetMessage
-
of
factory method to create a shallow copy PaymentMethodInfoMethodSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentMethodInfoMethodSetMessage copyDeep()- Specified by:
copyDeepin interfaceBaseResource- Specified by:
copyDeepin interfaceMessage
-
deepCopy
@Nullable static PaymentMethodInfoMethodSetMessage deepCopy(@Nullable PaymentMethodInfoMethodSetMessage template) factory method to create a deep copy of PaymentMethodInfoMethodSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodInfoMethodSetMessage- Returns:
- builder
-
builder
create builder for PaymentMethodInfoMethodSetMessage instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodInfoMethodSetMessage
default <T> T withPaymentMethodInfoMethodSetMessage(Function<PaymentMethodInfoMethodSetMessage, 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<PaymentMethodInfoMethodSetMessage> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-