@ProviderType public interface CommercePaymentEntryModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommercePaymentEntry>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.commerce.payment.model.impl.CommercePaymentEntryModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.payment.model.impl.CommercePaymentEntryImpl
.
CommercePaymentEntry
Modifier and Type | Method and Description |
---|---|
CommercePaymentEntry |
cloneWithOriginalValues() |
java.math.BigDecimal |
getAmount()
Returns the amount of this commerce payment entry.
|
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.String |
getCallbackURL()
Returns the callback url of this commerce payment entry.
|
java.lang.String |
getCancelURL()
Returns the cancel url of this commerce payment entry.
|
java.lang.String |
getClassName()
Returns the fully qualified class name of this commerce payment entry.
|
long |
getClassNameId()
Returns the class name ID of this commerce payment entry.
|
long |
getClassPK()
Returns the class pk of this commerce payment entry.
|
long |
getCommerceChannelId()
Returns the commerce channel ID of this commerce payment entry.
|
long |
getCommercePaymentEntryId()
Returns the commerce payment entry ID of this commerce payment entry.
|
long |
getCompanyId()
Returns the company ID of this commerce payment entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce payment entry.
|
java.lang.String |
getCurrencyCode()
Returns the currency code of this commerce payment entry.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getErrorMessages()
Returns the error messages of this commerce payment entry.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce payment entry.
|
java.lang.String |
getLanguageId()
Returns the language ID of this commerce payment entry.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce payment entry.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce payment entry.
|
java.lang.String |
getNote()
Returns the note of this commerce payment entry.
|
java.lang.String |
getPayload()
Returns the payload of this commerce payment entry.
|
java.lang.String |
getPaymentIntegrationKey()
Returns the payment integration key of this commerce payment entry.
|
int |
getPaymentIntegrationType()
Returns the payment integration type of this commerce payment entry.
|
int |
getPaymentStatus()
Returns the payment status of this commerce payment entry.
|
long |
getPrimaryKey()
Returns the primary key of this commerce payment entry.
|
java.lang.String |
getReasonKey()
Returns the reason key of this commerce payment entry.
|
java.lang.String |
getReasonName()
Returns the reason name of this commerce payment entry.
|
java.lang.String |
getReasonName(java.util.Locale locale)
Returns the localized reason name of this commerce payment entry in the language.
|
java.lang.String |
getReasonName(java.util.Locale locale,
boolean useDefault)
Returns the localized reason name of this commerce payment entry in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getReasonName(java.lang.String languageId)
Returns the localized reason name of this commerce payment entry in the language.
|
java.lang.String |
getReasonName(java.lang.String languageId,
boolean useDefault)
Returns the localized reason name of this commerce payment entry in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getReasonNameCurrentLanguageId() |
java.lang.String |
getReasonNameCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getReasonNameMap()
Returns a map of the locales and localized reason names of this commerce payment entry.
|
java.lang.String |
getRedirectURL()
Returns the redirect url of this commerce payment entry.
|
java.lang.String |
getTransactionCode()
Returns the transaction code of this commerce payment entry.
|
int |
getType()
Returns the type of this commerce payment entry.
|
long |
getUserId()
Returns the user ID of this commerce payment entry.
|
java.lang.String |
getUserName()
Returns the user name of this commerce payment entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce payment entry.
|
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setAmount(java.math.BigDecimal amount)
Sets the amount of this commerce payment entry.
|
void |
setCallbackURL(java.lang.String callbackURL)
Sets the callback url of this commerce payment entry.
|
void |
setCancelURL(java.lang.String cancelURL)
Sets the cancel url of this commerce payment entry.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this commerce payment entry.
|
void |
setClassPK(long classPK)
Sets the class pk of this commerce payment entry.
|
void |
setCommerceChannelId(long commerceChannelId)
Sets the commerce channel ID of this commerce payment entry.
|
void |
setCommercePaymentEntryId(long commercePaymentEntryId)
Sets the commerce payment entry ID of this commerce payment entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce payment entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce payment entry.
|
void |
setCurrencyCode(java.lang.String currencyCode)
Sets the currency code of this commerce payment entry.
|
void |
setErrorMessages(java.lang.String errorMessages)
Sets the error messages of this commerce payment entry.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this commerce payment entry.
|
void |
setLanguageId(java.lang.String languageId)
Sets the language ID of this commerce payment entry.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce payment entry.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce payment entry.
|
void |
setNote(java.lang.String note)
Sets the note of this commerce payment entry.
|
void |
setPayload(java.lang.String payload)
Sets the payload of this commerce payment entry.
|
void |
setPaymentIntegrationKey(java.lang.String paymentIntegrationKey)
Sets the payment integration key of this commerce payment entry.
|
void |
setPaymentIntegrationType(int paymentIntegrationType)
Sets the payment integration type of this commerce payment entry.
|
void |
setPaymentStatus(int paymentStatus)
Sets the payment status of this commerce payment entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce payment entry.
|
void |
setReasonKey(java.lang.String reasonKey)
Sets the reason key of this commerce payment entry.
|
void |
setReasonName(java.lang.String reasonName)
Sets the reason name of this commerce payment entry.
|
void |
setReasonName(java.lang.String reasonName,
java.util.Locale locale)
Sets the localized reason name of this commerce payment entry in the language.
|
void |
setReasonName(java.lang.String reasonName,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized reason name of this commerce payment entry in the language, and sets the default locale.
|
void |
setReasonNameCurrentLanguageId(java.lang.String languageId) |
void |
setReasonNameMap(java.util.Map<java.util.Locale,java.lang.String> reasonNameMap)
Sets the localized reason names of this commerce payment entry from the map of locales and localized reason names.
|
void |
setReasonNameMap(java.util.Map<java.util.Locale,java.lang.String> reasonNameMap,
java.util.Locale defaultLocale)
Sets the localized reason names of this commerce payment entry from the map of locales and localized reason names, and sets the default locale.
|
void |
setRedirectURL(java.lang.String redirectURL)
Sets the redirect url of this commerce payment entry.
|
void |
setTransactionCode(java.lang.String transactionCode)
Sets the transaction code of this commerce payment entry.
|
void |
setType(int type)
Sets the type of this commerce payment entry.
|
void |
setUserId(long userId)
Sets the user ID of this commerce payment entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce payment entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce payment entry.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this commerce payment entrylong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce payment entry@AutoEscape java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
externalReferenceCode
- the external reference code of this commerce payment entrylong getCommercePaymentEntryId()
void setCommercePaymentEntryId(long commercePaymentEntryId)
commercePaymentEntryId
- the commerce payment entry ID of this commerce payment entrylong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this commerce payment entrylong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce payment entryjava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce payment entry@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce payment entryjava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this commerce payment entryjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this commerce payment entryjava.lang.String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
void setClassName(java.lang.String className)
long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this commerce payment entrylong getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this commerce payment entrylong getCommerceChannelId()
void setCommerceChannelId(long commerceChannelId)
commerceChannelId
- the commerce channel ID of this commerce payment entryjava.math.BigDecimal getAmount()
void setAmount(java.math.BigDecimal amount)
amount
- the amount of this commerce payment entry@AutoEscape java.lang.String getCallbackURL()
void setCallbackURL(java.lang.String callbackURL)
callbackURL
- the callback url of this commerce payment entry@AutoEscape java.lang.String getCancelURL()
void setCancelURL(java.lang.String cancelURL)
cancelURL
- the cancel url of this commerce payment entry@AutoEscape java.lang.String getCurrencyCode()
void setCurrencyCode(java.lang.String currencyCode)
currencyCode
- the currency code of this commerce payment entry@AutoEscape java.lang.String getErrorMessages()
void setErrorMessages(java.lang.String errorMessages)
errorMessages
- the error messages of this commerce payment entry@AutoEscape java.lang.String getLanguageId()
void setLanguageId(java.lang.String languageId)
languageId
- the language ID of this commerce payment entry@AutoEscape java.lang.String getNote()
void setNote(java.lang.String note)
note
- the note of this commerce payment entry@AutoEscape java.lang.String getPayload()
void setPayload(java.lang.String payload)
payload
- the payload of this commerce payment entry@AutoEscape java.lang.String getPaymentIntegrationKey()
void setPaymentIntegrationKey(java.lang.String paymentIntegrationKey)
paymentIntegrationKey
- the payment integration key of this commerce payment entryint getPaymentIntegrationType()
void setPaymentIntegrationType(int paymentIntegrationType)
paymentIntegrationType
- the payment integration type of this commerce payment entryint getPaymentStatus()
void setPaymentStatus(int paymentStatus)
paymentStatus
- the payment status of this commerce payment entry@AutoEscape java.lang.String getReasonKey()
void setReasonKey(java.lang.String reasonKey)
reasonKey
- the reason key of this commerce payment entryjava.lang.String getReasonName()
@AutoEscape java.lang.String getReasonName(java.util.Locale locale)
locale
- the locale of the language@AutoEscape java.lang.String getReasonName(java.util.Locale locale, boolean useDefault)
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.@AutoEscape java.lang.String getReasonName(java.lang.String languageId)
languageId
- the ID of the language@AutoEscape java.lang.String getReasonName(java.lang.String languageId, boolean useDefault)
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getReasonNameCurrentLanguageId()
@AutoEscape java.lang.String getReasonNameCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getReasonNameMap()
void setReasonName(java.lang.String reasonName)
reasonName
- the reason name of this commerce payment entryvoid setReasonName(java.lang.String reasonName, java.util.Locale locale)
reasonName
- the localized reason name of this commerce payment entrylocale
- the locale of the languagevoid setReasonName(java.lang.String reasonName, java.util.Locale locale, java.util.Locale defaultLocale)
reasonName
- the localized reason name of this commerce payment entrylocale
- the locale of the languagedefaultLocale
- the default localevoid setReasonNameCurrentLanguageId(java.lang.String languageId)
void setReasonNameMap(java.util.Map<java.util.Locale,java.lang.String> reasonNameMap)
reasonNameMap
- the locales and localized reason names of this commerce payment entryvoid setReasonNameMap(java.util.Map<java.util.Locale,java.lang.String> reasonNameMap, java.util.Locale defaultLocale)
reasonNameMap
- the locales and localized reason names of this commerce payment entrydefaultLocale
- the default locale@AutoEscape java.lang.String getRedirectURL()
void setRedirectURL(java.lang.String redirectURL)
redirectURL
- the redirect url of this commerce payment entry@AutoEscape java.lang.String getTransactionCode()
void setTransactionCode(java.lang.String transactionCode)
transactionCode
- the transaction code of this commerce payment entryint getType()
void setType(int type)
type
- the type of this commerce payment entryjava.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
CommercePaymentEntry cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentEntry>
default java.lang.String toXmlString()