Interface CommercePaymentEntryModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommercePaymentEntry>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<CommercePaymentEntry>,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.LocalizedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.TypedModel
- All Known Subinterfaces:
CommercePaymentEntry
- All Known Implementing Classes:
CommercePaymentEntryWrapper
@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
The base model interface for the CommercePaymentEntry service. Represents a row in the "CommercePaymentEntry" database table, with each column mapped to a property of this class.
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.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the amount of this commerce payment entry.String[]Returns the callback url of this commerce payment entry.Returns the cancel url of this commerce payment entry.Returns the fully qualified class name of this commerce payment entry.longReturns the class name ID of this commerce payment entry.longReturns the class pk of this commerce payment entry.longReturns the commerce channel ID of this commerce payment entry.longReturns the commerce payment entry ID of this commerce payment entry.longReturns the company ID of this commerce payment entry.Returns the create date of this commerce payment entry.Returns the currency code of this commerce payment entry.Returns the error messages of this commerce payment entry.Returns the external reference code of this commerce payment entry.Returns the language ID of this commerce payment entry.Returns the modified date of this commerce payment entry.longReturns the mvcc version of this commerce payment entry.getNote()Returns the note of this commerce payment entry.Returns the payload of this commerce payment entry.Returns the payment integration key of this commerce payment entry.intReturns the payment integration type of this commerce payment entry.intReturns the payment status of this commerce payment entry.longReturns the primary key of this commerce payment entry.Returns the reason key of this commerce payment entry.Returns the reason name of this commerce payment entry.getReasonName(String languageId) Returns the localized reason name of this commerce payment entry in the language.getReasonName(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.getReasonName(Locale locale) Returns the localized reason name of this commerce payment entry in the language.getReasonName(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.Returns a map of the locales and localized reason names of this commerce payment entry.Returns the redirect url of this commerce payment entry.Returns the transaction code of this commerce payment entry.intgetType()Returns the type of this commerce payment entry.longReturns the user ID of this commerce payment entry.Returns the user name of this commerce payment entry.Returns the user uuid of this commerce payment entry.voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetAmount(BigDecimal amount) Sets the amount of this commerce payment entry.voidsetCallbackURL(String callbackURL) Sets the callback url of this commerce payment entry.voidsetCancelURL(String cancelURL) Sets the cancel url of this commerce payment entry.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this commerce payment entry.voidsetClassPK(long classPK) Sets the class pk of this commerce payment entry.voidsetCommerceChannelId(long commerceChannelId) Sets the commerce channel ID of this commerce payment entry.voidsetCommercePaymentEntryId(long commercePaymentEntryId) Sets the commerce payment entry ID of this commerce payment entry.voidsetCompanyId(long companyId) Sets the company ID of this commerce payment entry.voidsetCreateDate(Date createDate) Sets the create date of this commerce payment entry.voidsetCurrencyCode(String currencyCode) Sets the currency code of this commerce payment entry.voidsetErrorMessages(String errorMessages) Sets the error messages of this commerce payment entry.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this commerce payment entry.voidsetLanguageId(String languageId) Sets the language ID of this commerce payment entry.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce payment entry.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce payment entry.voidSets the note of this commerce payment entry.voidsetPayload(String payload) Sets the payload of this commerce payment entry.voidsetPaymentIntegrationKey(String paymentIntegrationKey) Sets the payment integration key of this commerce payment entry.voidsetPaymentIntegrationType(int paymentIntegrationType) Sets the payment integration type of this commerce payment entry.voidsetPaymentStatus(int paymentStatus) Sets the payment status of this commerce payment entry.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce payment entry.voidsetReasonKey(String reasonKey) Sets the reason key of this commerce payment entry.voidsetReasonName(String reasonName) Sets the reason name of this commerce payment entry.voidsetReasonName(String reasonName, Locale locale) Sets the localized reason name of this commerce payment entry in the language.voidsetReasonName(String reasonName, Locale locale, Locale defaultLocale) Sets the localized reason name of this commerce payment entry in the language, and sets the default locale.voidsetReasonNameCurrentLanguageId(String languageId) voidsetReasonNameMap(Map<Locale, String> reasonNameMap) Sets the localized reason names of this commerce payment entry from the map of locales and localized reason names.voidsetReasonNameMap(Map<Locale, String> reasonNameMap, 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.voidsetRedirectURL(String redirectURL) Sets the redirect url of this commerce payment entry.voidsetTransactionCode(String transactionCode) Sets the transaction code of this commerce payment entry.voidsetType(int type) Sets the type of this commerce payment entry.voidsetUserId(long userId) Sets the user ID of this commerce payment entry.voidsetUserName(String userName) Sets the user name of this commerce payment entry.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce payment entry.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this commerce payment entry.- Returns:
- the primary key of this commerce payment entry
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this commerce payment entry.- Parameters:
primaryKey- the primary key of this commerce payment entry
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this commerce payment entry.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce payment entry
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce payment entry.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this commerce payment entry
-
getExternalReferenceCode
Returns the external reference code of this commerce payment entry.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this commerce payment entry
-
setExternalReferenceCode
Sets the external reference code of this commerce payment entry.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this commerce payment entry
-
getCommercePaymentEntryId
long getCommercePaymentEntryId()Returns the commerce payment entry ID of this commerce payment entry.- Returns:
- the commerce payment entry ID of this commerce payment entry
-
setCommercePaymentEntryId
void setCommercePaymentEntryId(long commercePaymentEntryId) Sets the commerce payment entry ID of this commerce payment entry.- Parameters:
commercePaymentEntryId- the commerce payment entry ID of this commerce payment entry
-
getCompanyId
long getCompanyId()Returns the company ID of this commerce payment entry.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this commerce payment entry
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this commerce payment entry.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this commerce payment entry
-
getUserId
long getUserId()Returns the user ID of this commerce payment entry.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this commerce payment entry
-
setUserId
void setUserId(long userId) Sets the user ID of this commerce payment entry.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this commerce payment entry
-
getUserUuid
String getUserUuid()Returns the user uuid of this commerce payment entry.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this commerce payment entry
-
setUserUuid
Sets the user uuid of this commerce payment entry.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this commerce payment entry
-
getUserName
Returns the user name of this commerce payment entry.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this commerce payment entry
-
setUserName
Sets the user name of this commerce payment entry.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this commerce payment entry
-
getCreateDate
Date getCreateDate()Returns the create date of this commerce payment entry.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the create date of this commerce payment entry
-
setCreateDate
Sets the create date of this commerce payment entry.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
createDate- the create date of this commerce payment entry
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this commerce payment entry.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the modified date of this commerce payment entry
-
setModifiedDate
Sets the modified date of this commerce payment entry.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
modifiedDate- the modified date of this commerce payment entry
-
getClassName
String getClassName()Returns the fully qualified class name of this commerce payment entry.- Specified by:
getClassNamein interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the fully qualified class name of this commerce payment entry
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this commerce payment entry.- Specified by:
getClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the class name ID of this commerce payment entry
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this commerce payment entry.- Specified by:
setClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Parameters:
classNameId- the class name ID of this commerce payment entry
-
getClassPK
long getClassPK()Returns the class pk of this commerce payment entry.- Specified by:
getClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Returns:
- the class pk of this commerce payment entry
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this commerce payment entry.- Specified by:
setClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Parameters:
classPK- the class pk of this commerce payment entry
-
getCommerceChannelId
long getCommerceChannelId()Returns the commerce channel ID of this commerce payment entry.- Returns:
- the commerce channel ID of this commerce payment entry
-
setCommerceChannelId
void setCommerceChannelId(long commerceChannelId) Sets the commerce channel ID of this commerce payment entry.- Parameters:
commerceChannelId- the commerce channel ID of this commerce payment entry
-
getAmount
BigDecimal getAmount()Returns the amount of this commerce payment entry.- Returns:
- the amount of this commerce payment entry
-
setAmount
Sets the amount of this commerce payment entry.- Parameters:
amount- the amount of this commerce payment entry
-
getCallbackURL
Returns the callback url of this commerce payment entry.- Returns:
- the callback url of this commerce payment entry
-
setCallbackURL
Sets the callback url of this commerce payment entry.- Parameters:
callbackURL- the callback url of this commerce payment entry
-
getCancelURL
Returns the cancel url of this commerce payment entry.- Returns:
- the cancel url of this commerce payment entry
-
setCancelURL
Sets the cancel url of this commerce payment entry.- Parameters:
cancelURL- the cancel url of this commerce payment entry
-
getCurrencyCode
Returns the currency code of this commerce payment entry.- Returns:
- the currency code of this commerce payment entry
-
setCurrencyCode
Sets the currency code of this commerce payment entry.- Parameters:
currencyCode- the currency code of this commerce payment entry
-
getErrorMessages
Returns the error messages of this commerce payment entry.- Returns:
- the error messages of this commerce payment entry
-
setErrorMessages
Sets the error messages of this commerce payment entry.- Parameters:
errorMessages- the error messages of this commerce payment entry
-
getLanguageId
Returns the language ID of this commerce payment entry.- Returns:
- the language ID of this commerce payment entry
-
setLanguageId
Sets the language ID of this commerce payment entry.- Parameters:
languageId- the language ID of this commerce payment entry
-
getNote
Returns the note of this commerce payment entry.- Returns:
- the note of this commerce payment entry
-
setNote
Sets the note of this commerce payment entry.- Parameters:
note- the note of this commerce payment entry
-
getPayload
Returns the payload of this commerce payment entry.- Returns:
- the payload of this commerce payment entry
-
setPayload
Sets the payload of this commerce payment entry.- Parameters:
payload- the payload of this commerce payment entry
-
getPaymentIntegrationKey
Returns the payment integration key of this commerce payment entry.- Returns:
- the payment integration key of this commerce payment entry
-
setPaymentIntegrationKey
Sets the payment integration key of this commerce payment entry.- Parameters:
paymentIntegrationKey- the payment integration key of this commerce payment entry
-
getPaymentIntegrationType
int getPaymentIntegrationType()Returns the payment integration type of this commerce payment entry.- Returns:
- the payment integration type of this commerce payment entry
-
setPaymentIntegrationType
void setPaymentIntegrationType(int paymentIntegrationType) Sets the payment integration type of this commerce payment entry.- Parameters:
paymentIntegrationType- the payment integration type of this commerce payment entry
-
getPaymentStatus
int getPaymentStatus()Returns the payment status of this commerce payment entry.- Returns:
- the payment status of this commerce payment entry
-
setPaymentStatus
void setPaymentStatus(int paymentStatus) Sets the payment status of this commerce payment entry.- Parameters:
paymentStatus- the payment status of this commerce payment entry
-
getReasonKey
Returns the reason key of this commerce payment entry.- Returns:
- the reason key of this commerce payment entry
-
setReasonKey
Sets the reason key of this commerce payment entry.- Parameters:
reasonKey- the reason key of this commerce payment entry
-
getReasonName
String getReasonName()Returns the reason name of this commerce payment entry.- Returns:
- the reason name of this commerce payment entry
-
getReasonName
Returns the localized reason name of this commerce payment entry in the language. Uses the default language if no localization exists for the requested language.- Parameters:
locale- the locale of the language- Returns:
- the localized reason name of this commerce payment entry
-
getReasonName
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.- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized reason name of this commerce payment entry. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getReasonName
Returns the localized reason name of this commerce payment entry in the language. Uses the default language if no localization exists for the requested language.- Parameters:
languageId- the ID of the language- Returns:
- the localized reason name of this commerce payment entry
-
getReasonName
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.- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized reason name of this commerce payment entry
-
getReasonNameCurrentLanguageId
-
getReasonNameCurrentValue
-
getReasonNameMap
Returns a map of the locales and localized reason names of this commerce payment entry.- Returns:
- the locales and localized reason names of this commerce payment entry
-
setReasonName
Sets the reason name of this commerce payment entry.- Parameters:
reasonName- the reason name of this commerce payment entry
-
setReasonName
Sets the localized reason name of this commerce payment entry in the language.- Parameters:
reasonName- the localized reason name of this commerce payment entrylocale- the locale of the language
-
setReasonName
Sets the localized reason name of this commerce payment entry in the language, and sets the default locale.- Parameters:
reasonName- the localized reason name of this commerce payment entrylocale- the locale of the languagedefaultLocale- the default locale
-
setReasonNameCurrentLanguageId
-
setReasonNameMap
Sets the localized reason names of this commerce payment entry from the map of locales and localized reason names.- Parameters:
reasonNameMap- the locales and localized reason names of this commerce payment entry
-
setReasonNameMap
Sets the localized reason names of this commerce payment entry from the map of locales and localized reason names, and sets the default locale.- Parameters:
reasonNameMap- the locales and localized reason names of this commerce payment entrydefaultLocale- the default locale
-
getRedirectURL
Returns the redirect url of this commerce payment entry.- Returns:
- the redirect url of this commerce payment entry
-
setRedirectURL
Sets the redirect url of this commerce payment entry.- Parameters:
redirectURL- the redirect url of this commerce payment entry
-
getTransactionCode
Returns the transaction code of this commerce payment entry.- Returns:
- the transaction code of this commerce payment entry
-
setTransactionCode
Sets the transaction code of this commerce payment entry.- Parameters:
transactionCode- the transaction code of this commerce payment entry
-
getType
int getType()Returns the type of this commerce payment entry.- Returns:
- the type of this commerce payment entry
-
setType
void setType(int type) Sets the type of this commerce payment entry.- Parameters:
type- the type of this commerce payment entry
-
getAvailableLanguageIds
String[] getAvailableLanguageIds()- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
CommercePaymentEntry cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommercePaymentEntry>
-
toXmlString
-