Package de.hybris.platform.payment.model
Class PaymentTransactionModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.payment.model.PaymentTransactionModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AlipayPaymentTransactionModel,WeChatPayPaymentTransactionModel
public class PaymentTransactionModel extends ItemModel
Generated model class for type PaymentTransaction first defined at extension payment.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_ORDER2PAYMENTTRANSACTIONGenerated relation code constant for relationOrder2PaymentTransactiondefining source attributeorderin extensionpayment.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCODEGenerated constant - Attribute key ofPaymentTransaction.codeattribute defined at extensionpayment.static java.lang.StringCURRENCYGenerated constant - Attribute key ofPaymentTransaction.currencyattribute defined at extensionpayment.static java.lang.StringENTRIESGenerated constant - Attribute key ofPaymentTransaction.entriesattribute defined at extensionpayment.static java.lang.StringINFOGenerated constant - Attribute key ofPaymentTransaction.infoattribute defined at extensionpayment.static java.lang.StringORDERGenerated constant - Attribute key ofPaymentTransaction.orderattribute defined at extensionpayment.static java.lang.StringPAYMENTPROVIDERGenerated constant - Attribute key ofPaymentTransaction.paymentProviderattribute defined at extensionpayment.static java.lang.StringPLANNEDAMOUNTGenerated constant - Attribute key ofPaymentTransaction.plannedAmountattribute defined at extensionpayment.static java.lang.StringREQUESTIDGenerated constant - Attribute key ofPaymentTransaction.requestIdattribute defined at extensionpayment.static java.lang.StringREQUESTTOKENGenerated constant - Attribute key ofPaymentTransaction.requestTokenattribute defined at extensionpayment.static java.lang.StringVERSIONIDGenerated constant - Attribute key ofPaymentTransaction.versionIDattribute defined at extensionpayment.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description PaymentTransactionModel()Generated constructor - Default constructor for generic creation.PaymentTransactionModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextPaymentTransactionModel(java.lang.String _code)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPaymentTransactionModel(java.lang.String _code, ItemModel _owner, java.lang.String _versionID)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()Generated method - Getter of thePaymentTransaction.codeattribute defined at extensionpayment.CurrencyModelgetCurrency()Generated method - Getter of thePaymentTransaction.currencyattribute defined at extensionpayment.java.util.List<PaymentTransactionEntryModel>getEntries()Generated method - Getter of thePaymentTransaction.entriesattribute defined at extensionpayment.PaymentInfoModelgetInfo()Generated method - Getter of thePaymentTransaction.infoattribute defined at extensionpayment.AbstractOrderModelgetOrder()Generated method - Getter of thePaymentTransaction.orderattribute defined at extensionpayment.java.lang.StringgetPaymentProvider()Generated method - Getter of thePaymentTransaction.paymentProviderattribute defined at extensionpayment.java.math.BigDecimalgetPlannedAmount()Generated method - Getter of thePaymentTransaction.plannedAmountattribute defined at extensionpayment.java.lang.StringgetRequestId()Generated method - Getter of thePaymentTransaction.requestIdattribute defined at extensionpayment.java.lang.StringgetRequestToken()Generated method - Getter of thePaymentTransaction.requestTokenattribute defined at extensionpayment.java.lang.StringgetVersionID()Generated method - Getter of thePaymentTransaction.versionIDattribute defined at extensionpayment.voidsetCode(java.lang.String value)Generated method - Setter ofPaymentTransaction.codeattribute defined at extensionpayment.voidsetCurrency(CurrencyModel value)Generated method - Setter ofPaymentTransaction.currencyattribute defined at extensionpayment.voidsetEntries(java.util.List<PaymentTransactionEntryModel> value)Generated method - Setter ofPaymentTransaction.entriesattribute defined at extensionpayment.voidsetInfo(PaymentInfoModel value)Generated method - Setter ofPaymentTransaction.infoattribute defined at extensionpayment.voidsetOrder(AbstractOrderModel value)Generated method - Setter ofPaymentTransaction.orderattribute defined at extensionpayment.voidsetPaymentProvider(java.lang.String value)Generated method - Setter ofPaymentTransaction.paymentProviderattribute defined at extensionpayment.voidsetPlannedAmount(java.math.BigDecimal value)Generated method - Setter ofPaymentTransaction.plannedAmountattribute defined at extensionpayment.voidsetRequestId(java.lang.String value)Generated method - Setter ofPaymentTransaction.requestIdattribute defined at extensionpayment.voidsetRequestToken(java.lang.String value)Generated method - Setter ofPaymentTransaction.requestTokenattribute defined at extensionpayment.voidsetVersionID(java.lang.String value)Generated method - Initial setter ofPaymentTransaction.versionIDattribute defined at extensionpayment.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_ORDER2PAYMENTTRANSACTION
public static final java.lang.String _ORDER2PAYMENTTRANSACTION
Generated relation code constant for relationOrder2PaymentTransactiondefining source attributeorderin extensionpayment.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofPaymentTransaction.codeattribute defined at extensionpayment.- See Also:
- Constant Field Values
-
REQUESTID
public static final java.lang.String REQUESTID
Generated constant - Attribute key ofPaymentTransaction.requestIdattribute defined at extensionpayment.- See Also:
- Constant Field Values
-
REQUESTTOKEN
public static final java.lang.String REQUESTTOKEN
Generated constant - Attribute key ofPaymentTransaction.requestTokenattribute defined at extensionpayment.- See Also:
- Constant Field Values
-
PAYMENTPROVIDER
public static final java.lang.String PAYMENTPROVIDER
Generated constant - Attribute key ofPaymentTransaction.paymentProviderattribute defined at extensionpayment.- See Also:
- Constant Field Values
-
PLANNEDAMOUNT
public static final java.lang.String PLANNEDAMOUNT
Generated constant - Attribute key ofPaymentTransaction.plannedAmountattribute defined at extensionpayment.- See Also:
- Constant Field Values
-
CURRENCY
public static final java.lang.String CURRENCY
Generated constant - Attribute key ofPaymentTransaction.currencyattribute defined at extensionpayment.- See Also:
- Constant Field Values
-
INFO
public static final java.lang.String INFO
Generated constant - Attribute key ofPaymentTransaction.infoattribute defined at extensionpayment.- See Also:
- Constant Field Values
-
VERSIONID
public static final java.lang.String VERSIONID
Generated constant - Attribute key ofPaymentTransaction.versionIDattribute defined at extensionpayment.- See Also:
- Constant Field Values
-
ENTRIES
public static final java.lang.String ENTRIES
Generated constant - Attribute key ofPaymentTransaction.entriesattribute defined at extensionpayment.- See Also:
- Constant Field Values
-
ORDER
public static final java.lang.String ORDER
Generated constant - Attribute key ofPaymentTransaction.orderattribute defined at extensionpayment.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PaymentTransactionModel
public PaymentTransactionModel()
Generated constructor - Default constructor for generic creation.
-
PaymentTransactionModel
public PaymentTransactionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
PaymentTransactionModel
@Deprecated(since="4.1.1", forRemoval=true) public PaymentTransactionModel(java.lang.String _code)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typePaymentTransactionat extensionpayment
-
PaymentTransactionModel
@Deprecated(since="4.1.1", forRemoval=true) public PaymentTransactionModel(java.lang.String _code, ItemModel _owner, java.lang.String _versionID)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typePaymentTransactionat extensionpayment_owner- initial attribute declared by typeItemat extensioncore_versionID- initial attribute declared by typePaymentTransactionat extensionpayment
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of thePaymentTransaction.codeattribute defined at extensionpayment.- Returns:
- the code
-
getCurrency
@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
Generated method - Getter of thePaymentTransaction.currencyattribute defined at extensionpayment.- Returns:
- the currency
-
getEntries
@Accessor(qualifier="entries", type=GETTER) public java.util.List<PaymentTransactionEntryModel> getEntries()
Generated method - Getter of thePaymentTransaction.entriesattribute defined at extensionpayment. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the entries
-
getInfo
@Accessor(qualifier="info", type=GETTER) public PaymentInfoModel getInfo()
Generated method - Getter of thePaymentTransaction.infoattribute defined at extensionpayment.- Returns:
- the info
-
getOrder
@Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()
Generated method - Getter of thePaymentTransaction.orderattribute defined at extensionpayment.- Returns:
- the order
-
getPaymentProvider
@Accessor(qualifier="paymentProvider", type=GETTER) public java.lang.String getPaymentProvider()
Generated method - Getter of thePaymentTransaction.paymentProviderattribute defined at extensionpayment.- Returns:
- the paymentProvider
-
getPlannedAmount
@Accessor(qualifier="plannedAmount", type=GETTER) public java.math.BigDecimal getPlannedAmount()
Generated method - Getter of thePaymentTransaction.plannedAmountattribute defined at extensionpayment.- Returns:
- the plannedAmount
-
getRequestId
@Accessor(qualifier="requestId", type=GETTER) public java.lang.String getRequestId()
Generated method - Getter of thePaymentTransaction.requestIdattribute defined at extensionpayment.- Returns:
- the requestId
-
getRequestToken
@Accessor(qualifier="requestToken", type=GETTER) public java.lang.String getRequestToken()
Generated method - Getter of thePaymentTransaction.requestTokenattribute defined at extensionpayment.- Returns:
- the requestToken
-
getVersionID
@Accessor(qualifier="versionID", type=GETTER) public java.lang.String getVersionID()
Generated method - Getter of thePaymentTransaction.versionIDattribute defined at extensionpayment.- Returns:
- the versionID
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofPaymentTransaction.codeattribute defined at extensionpayment.- Parameters:
value- the code
-
setCurrency
@Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
Generated method - Setter ofPaymentTransaction.currencyattribute defined at extensionpayment.- Parameters:
value- the currency
-
setEntries
@Accessor(qualifier="entries", type=SETTER) public void setEntries(java.util.List<PaymentTransactionEntryModel> value)
Generated method - Setter ofPaymentTransaction.entriesattribute defined at extensionpayment.- Parameters:
value- the entries
-
setInfo
@Accessor(qualifier="info", type=SETTER) public void setInfo(PaymentInfoModel value)
Generated method - Setter ofPaymentTransaction.infoattribute defined at extensionpayment.- Parameters:
value- the info
-
setOrder
@Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
Generated method - Setter ofPaymentTransaction.orderattribute defined at extensionpayment.- Parameters:
value- the order
-
setPaymentProvider
@Accessor(qualifier="paymentProvider", type=SETTER) public void setPaymentProvider(java.lang.String value)
Generated method - Setter ofPaymentTransaction.paymentProviderattribute defined at extensionpayment.- Parameters:
value- the paymentProvider
-
setPlannedAmount
@Accessor(qualifier="plannedAmount", type=SETTER) public void setPlannedAmount(java.math.BigDecimal value)
Generated method - Setter ofPaymentTransaction.plannedAmountattribute defined at extensionpayment.- Parameters:
value- the plannedAmount
-
setRequestId
@Accessor(qualifier="requestId", type=SETTER) public void setRequestId(java.lang.String value)
Generated method - Setter ofPaymentTransaction.requestIdattribute defined at extensionpayment.- Parameters:
value- the requestId
-
setRequestToken
@Accessor(qualifier="requestToken", type=SETTER) public void setRequestToken(java.lang.String value)
Generated method - Setter ofPaymentTransaction.requestTokenattribute defined at extensionpayment.- Parameters:
value- the requestToken
-
setVersionID
@Accessor(qualifier="versionID", type=SETTER) public void setVersionID(java.lang.String value)
Generated method - Initial setter ofPaymentTransaction.versionIDattribute defined at extensionpayment. Can only be used at creation of model - before first save.- Parameters:
value- the versionID
-
-