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:
Serializable
Generated model class for type PaymentTransaction first defined at extension payment.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationOrder2PaymentTransactiondefining source attributeorderin extensionpayment.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofPaymentTransaction.codeattribute defined at extensionpayment.static final StringGenerated constant - Attribute key ofPaymentTransaction.currencyattribute defined at extensionpayment.static final StringGenerated constant - Attribute key ofPaymentTransaction.entriesattribute defined at extensionpayment.static final StringGenerated constant - Attribute key ofPaymentTransaction.infoattribute defined at extensionpayment.static final StringGenerated constant - Attribute key ofPaymentTransaction.orderattribute defined at extensionpayment.static final StringGenerated constant - Attribute key ofPaymentTransaction.paymentProviderattribute defined at extensionpayment.static final StringGenerated constant - Attribute key ofPaymentTransaction.plannedAmountattribute defined at extensionpayment.static final StringGenerated constant - Attribute key ofPaymentTransaction.requestIdattribute defined at extensionpayment.static final StringGenerated constant - Attribute key ofPaymentTransaction.requestTokenattribute defined at extensionpayment.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.PaymentTransactionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextPaymentTransactionModel(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(String _code, ItemModel _owner, 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
Modifier and TypeMethodDescriptiongetCode()Generated method - Getter of thePaymentTransaction.codeattribute defined at extensionpayment.Generated method - Getter of thePaymentTransaction.currencyattribute defined at extensionpayment.Generated method - Getter of thePaymentTransaction.entriesattribute defined at extensionpayment.getInfo()Generated method - Getter of thePaymentTransaction.infoattribute defined at extensionpayment.getOrder()Generated method - Getter of thePaymentTransaction.orderattribute defined at extensionpayment.Generated method - Getter of thePaymentTransaction.paymentProviderattribute defined at extensionpayment.Generated method - Getter of thePaymentTransaction.plannedAmountattribute defined at extensionpayment.Generated method - Getter of thePaymentTransaction.requestIdattribute defined at extensionpayment.Generated method - Getter of thePaymentTransaction.requestTokenattribute defined at extensionpayment.Generated method - Getter of thePaymentTransaction.versionIDattribute defined at extensionpayment.voidGenerated method - Setter ofPaymentTransaction.codeattribute defined at extensionpayment.voidsetCurrency(CurrencyModel value) Generated method - Setter ofPaymentTransaction.currencyattribute defined at extensionpayment.voidGenerated 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(String value) Generated method - Setter ofPaymentTransaction.paymentProviderattribute defined at extensionpayment.voidsetPlannedAmount(BigDecimal value) Generated method - Setter ofPaymentTransaction.plannedAmountattribute defined at extensionpayment.voidsetRequestId(String value) Generated method - Setter ofPaymentTransaction.requestIdattribute defined at extensionpayment.voidsetRequestToken(String value) Generated method - Setter ofPaymentTransaction.requestTokenattribute defined at extensionpayment.voidsetVersionID(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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_ORDER2PAYMENTTRANSACTION
Generated relation code constant for relationOrder2PaymentTransactiondefining source attributeorderin extensionpayment.- See Also:
-
CODE
Generated constant - Attribute key ofPaymentTransaction.codeattribute defined at extensionpayment.- See Also:
-
REQUESTID
Generated constant - Attribute key ofPaymentTransaction.requestIdattribute defined at extensionpayment.- See Also:
-
REQUESTTOKEN
Generated constant - Attribute key ofPaymentTransaction.requestTokenattribute defined at extensionpayment.- See Also:
-
PAYMENTPROVIDER
Generated constant - Attribute key ofPaymentTransaction.paymentProviderattribute defined at extensionpayment.- See Also:
-
PLANNEDAMOUNT
Generated constant - Attribute key ofPaymentTransaction.plannedAmountattribute defined at extensionpayment.- See Also:
-
CURRENCY
Generated constant - Attribute key ofPaymentTransaction.currencyattribute defined at extensionpayment.- See Also:
-
INFO
Generated constant - Attribute key ofPaymentTransaction.infoattribute defined at extensionpayment.- See Also:
-
VERSIONID
Generated constant - Attribute key ofPaymentTransaction.versionIDattribute defined at extensionpayment.- See Also:
-
ENTRIES
Generated constant - Attribute key ofPaymentTransaction.entriesattribute defined at extensionpayment.- See Also:
-
ORDER
Generated constant - Attribute key ofPaymentTransaction.orderattribute defined at extensionpayment.- See Also:
-
-
Constructor Details
-
PaymentTransactionModel
public PaymentTransactionModel()Generated constructor - Default constructor for generic creation. -
PaymentTransactionModel
public PaymentTransactionModel(de.hybris.platform.servicelayer.model.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, 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(String _code, ItemModel _owner, 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 Details
-
getCode
Generated method - Getter of thePaymentTransaction.codeattribute defined at extensionpayment.- Returns:
- the code
-
getCurrency
Generated method - Getter of thePaymentTransaction.currencyattribute defined at extensionpayment.- Returns:
- the currency
-
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
Generated method - Getter of thePaymentTransaction.infoattribute defined at extensionpayment.- Returns:
- the info
-
getOrder
Generated method - Getter of thePaymentTransaction.orderattribute defined at extensionpayment.- Returns:
- the order
-
getPaymentProvider
Generated method - Getter of thePaymentTransaction.paymentProviderattribute defined at extensionpayment.- Returns:
- the paymentProvider
-
getPlannedAmount
Generated method - Getter of thePaymentTransaction.plannedAmountattribute defined at extensionpayment.- Returns:
- the plannedAmount
-
getRequestId
Generated method - Getter of thePaymentTransaction.requestIdattribute defined at extensionpayment.- Returns:
- the requestId
-
getRequestToken
Generated method - Getter of thePaymentTransaction.requestTokenattribute defined at extensionpayment.- Returns:
- the requestToken
-
getVersionID
Generated method - Getter of thePaymentTransaction.versionIDattribute defined at extensionpayment.- Returns:
- the versionID
-
setCode
Generated method - Setter ofPaymentTransaction.codeattribute defined at extensionpayment.- Parameters:
value- the code
-
setCurrency
Generated method - Setter ofPaymentTransaction.currencyattribute defined at extensionpayment.- Parameters:
value- the currency
-
setEntries
@Accessor(qualifier="entries", type=SETTER) public void setEntries(List<PaymentTransactionEntryModel> value) Generated method - Setter ofPaymentTransaction.entriesattribute defined at extensionpayment.- Parameters:
value- the entries
-
setInfo
Generated method - Setter ofPaymentTransaction.infoattribute defined at extensionpayment.- Parameters:
value- the info
-
setOrder
Generated method - Setter ofPaymentTransaction.orderattribute defined at extensionpayment.- Parameters:
value- the order
-
setPaymentProvider
Generated method - Setter ofPaymentTransaction.paymentProviderattribute defined at extensionpayment.- Parameters:
value- the paymentProvider
-
setPlannedAmount
Generated method - Setter ofPaymentTransaction.plannedAmountattribute defined at extensionpayment.- Parameters:
value- the plannedAmount
-
setRequestId
Generated method - Setter ofPaymentTransaction.requestIdattribute defined at extensionpayment.- Parameters:
value- the requestId
-
setRequestToken
Generated method - Setter ofPaymentTransaction.requestTokenattribute defined at extensionpayment.- Parameters:
value- the requestToken
-
setVersionID
Generated method - Initial setter ofPaymentTransaction.versionIDattribute defined at extensionpayment. Can only be used at creation of model - before first save.- Parameters:
value- the versionID
-