Class PaymentTransactionModel

  • All Implemented Interfaces:
    java.io.Serializable

    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

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _ORDER2PAYMENTTRANSACTION
      Generated relation code constant for relation Order2PaymentTransaction defining source attribute order in extension payment.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String CODE
      Generated constant - Attribute key of PaymentTransaction.code attribute defined at extension payment.
      static java.lang.String CURRENCY
      Generated constant - Attribute key of PaymentTransaction.currency attribute defined at extension payment.
      static java.lang.String ENTRIES
      Generated constant - Attribute key of PaymentTransaction.entries attribute defined at extension payment.
      static java.lang.String INFO
      Generated constant - Attribute key of PaymentTransaction.info attribute defined at extension payment.
      static java.lang.String ORDER
      Generated constant - Attribute key of PaymentTransaction.order attribute defined at extension payment.
      static java.lang.String PAYMENTPROVIDER
      Generated constant - Attribute key of PaymentTransaction.paymentProvider attribute defined at extension payment.
      static java.lang.String PLANNEDAMOUNT
      Generated constant - Attribute key of PaymentTransaction.plannedAmount attribute defined at extension payment.
      static java.lang.String REQUESTID
      Generated constant - Attribute key of PaymentTransaction.requestId attribute defined at extension payment.
      static java.lang.String REQUESTTOKEN
      Generated constant - Attribute key of PaymentTransaction.requestToken attribute defined at extension payment.
      static java.lang.String VERSIONID
      Generated constant - Attribute key of PaymentTransaction.versionID attribute defined at extension payment.
      • 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​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      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 parameters
      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 parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      Generated method - Getter of the PaymentTransaction.code attribute defined at extension payment.
      CurrencyModel getCurrency()
      Generated method - Getter of the PaymentTransaction.currency attribute defined at extension payment.
      java.util.List<PaymentTransactionEntryModel> getEntries()
      Generated method - Getter of the PaymentTransaction.entries attribute defined at extension payment.
      PaymentInfoModel getInfo()
      Generated method - Getter of the PaymentTransaction.info attribute defined at extension payment.
      AbstractOrderModel getOrder()
      Generated method - Getter of the PaymentTransaction.order attribute defined at extension payment.
      java.lang.String getPaymentProvider()
      Generated method - Getter of the PaymentTransaction.paymentProvider attribute defined at extension payment.
      java.math.BigDecimal getPlannedAmount()
      Generated method - Getter of the PaymentTransaction.plannedAmount attribute defined at extension payment.
      java.lang.String getRequestId()
      Generated method - Getter of the PaymentTransaction.requestId attribute defined at extension payment.
      java.lang.String getRequestToken()
      Generated method - Getter of the PaymentTransaction.requestToken attribute defined at extension payment.
      java.lang.String getVersionID()
      Generated method - Getter of the PaymentTransaction.versionID attribute defined at extension payment.
      void setCode​(java.lang.String value)
      Generated method - Setter of PaymentTransaction.code attribute defined at extension payment.
      void setCurrency​(CurrencyModel value)
      Generated method - Setter of PaymentTransaction.currency attribute defined at extension payment.
      void setEntries​(java.util.List<PaymentTransactionEntryModel> value)
      Generated method - Setter of PaymentTransaction.entries attribute defined at extension payment.
      void setInfo​(PaymentInfoModel value)
      Generated method - Setter of PaymentTransaction.info attribute defined at extension payment.
      void setOrder​(AbstractOrderModel value)
      Generated method - Setter of PaymentTransaction.order attribute defined at extension payment.
      void setPaymentProvider​(java.lang.String value)
      Generated method - Setter of PaymentTransaction.paymentProvider attribute defined at extension payment.
      void setPlannedAmount​(java.math.BigDecimal value)
      Generated method - Setter of PaymentTransaction.plannedAmount attribute defined at extension payment.
      void setRequestId​(java.lang.String value)
      Generated method - Setter of PaymentTransaction.requestId attribute defined at extension payment.
      void setRequestToken​(java.lang.String value)
      Generated method - Setter of PaymentTransaction.requestToken attribute defined at extension payment.
      void setVersionID​(java.lang.String value)
      Generated method - Initial setter of PaymentTransaction.versionID attribute defined at extension payment.
      • 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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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 relation Order2PaymentTransaction defining source attribute order in extension payment.
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of PaymentTransaction.code attribute defined at extension payment.
        See Also:
        Constant Field Values
      • REQUESTID

        public static final java.lang.String REQUESTID
        Generated constant - Attribute key of PaymentTransaction.requestId attribute defined at extension payment.
        See Also:
        Constant Field Values
      • REQUESTTOKEN

        public static final java.lang.String REQUESTTOKEN
        Generated constant - Attribute key of PaymentTransaction.requestToken attribute defined at extension payment.
        See Also:
        Constant Field Values
      • PAYMENTPROVIDER

        public static final java.lang.String PAYMENTPROVIDER
        Generated constant - Attribute key of PaymentTransaction.paymentProvider attribute defined at extension payment.
        See Also:
        Constant Field Values
      • PLANNEDAMOUNT

        public static final java.lang.String PLANNEDAMOUNT
        Generated constant - Attribute key of PaymentTransaction.plannedAmount attribute defined at extension payment.
        See Also:
        Constant Field Values
      • CURRENCY

        public static final java.lang.String CURRENCY
        Generated constant - Attribute key of PaymentTransaction.currency attribute defined at extension payment.
        See Also:
        Constant Field Values
      • INFO

        public static final java.lang.String INFO
        Generated constant - Attribute key of PaymentTransaction.info attribute defined at extension payment.
        See Also:
        Constant Field Values
      • VERSIONID

        public static final java.lang.String VERSIONID
        Generated constant - Attribute key of PaymentTransaction.versionID attribute defined at extension payment.
        See Also:
        Constant Field Values
      • ENTRIES

        public static final java.lang.String ENTRIES
        Generated constant - Attribute key of PaymentTransaction.entries attribute defined at extension payment.
        See Also:
        Constant Field Values
      • ORDER

        public static final java.lang.String ORDER
        Generated constant - Attribute key of PaymentTransaction.order attribute defined at extension payment.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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(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 parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _code - initial attribute declared by type PaymentTransaction at extension payment
      • 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 parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _code - initial attribute declared by type PaymentTransaction at extension payment
        _owner - initial attribute declared by type Item at extension core
        _versionID - initial attribute declared by type PaymentTransaction at extension payment
    • Method Detail

      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the PaymentTransaction.code attribute defined at extension payment.
        Returns:
        the code
      • getCurrency

        @Accessor(qualifier="currency",
                  type=GETTER)
        public CurrencyModel getCurrency()
        Generated method - Getter of the PaymentTransaction.currency attribute defined at extension payment.
        Returns:
        the currency
      • getEntries

        @Accessor(qualifier="entries",
                  type=GETTER)
        public java.util.List<PaymentTransactionEntryModel> getEntries()
        Generated method - Getter of the PaymentTransaction.entries attribute defined at extension payment. 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 the PaymentTransaction.info attribute defined at extension payment.
        Returns:
        the info
      • getOrder

        @Accessor(qualifier="order",
                  type=GETTER)
        public AbstractOrderModel getOrder()
        Generated method - Getter of the PaymentTransaction.order attribute defined at extension payment.
        Returns:
        the order
      • getPaymentProvider

        @Accessor(qualifier="paymentProvider",
                  type=GETTER)
        public java.lang.String getPaymentProvider()
        Generated method - Getter of the PaymentTransaction.paymentProvider attribute defined at extension payment.
        Returns:
        the paymentProvider
      • getPlannedAmount

        @Accessor(qualifier="plannedAmount",
                  type=GETTER)
        public java.math.BigDecimal getPlannedAmount()
        Generated method - Getter of the PaymentTransaction.plannedAmount attribute defined at extension payment.
        Returns:
        the plannedAmount
      • getRequestId

        @Accessor(qualifier="requestId",
                  type=GETTER)
        public java.lang.String getRequestId()
        Generated method - Getter of the PaymentTransaction.requestId attribute defined at extension payment.
        Returns:
        the requestId
      • getRequestToken

        @Accessor(qualifier="requestToken",
                  type=GETTER)
        public java.lang.String getRequestToken()
        Generated method - Getter of the PaymentTransaction.requestToken attribute defined at extension payment.
        Returns:
        the requestToken
      • getVersionID

        @Accessor(qualifier="versionID",
                  type=GETTER)
        public java.lang.String getVersionID()
        Generated method - Getter of the PaymentTransaction.versionID attribute defined at extension payment.
        Returns:
        the versionID
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Setter of PaymentTransaction.code attribute defined at extension payment.
        Parameters:
        value - the code
      • setCurrency

        @Accessor(qualifier="currency",
                  type=SETTER)
        public void setCurrency​(CurrencyModel value)
        Generated method - Setter of PaymentTransaction.currency attribute defined at extension payment.
        Parameters:
        value - the currency
      • setEntries

        @Accessor(qualifier="entries",
                  type=SETTER)
        public void setEntries​(java.util.List<PaymentTransactionEntryModel> value)
        Generated method - Setter of PaymentTransaction.entries attribute defined at extension payment.
        Parameters:
        value - the entries
      • setInfo

        @Accessor(qualifier="info",
                  type=SETTER)
        public void setInfo​(PaymentInfoModel value)
        Generated method - Setter of PaymentTransaction.info attribute defined at extension payment.
        Parameters:
        value - the info
      • setOrder

        @Accessor(qualifier="order",
                  type=SETTER)
        public void setOrder​(AbstractOrderModel value)
        Generated method - Setter of PaymentTransaction.order attribute defined at extension payment.
        Parameters:
        value - the order
      • setPaymentProvider

        @Accessor(qualifier="paymentProvider",
                  type=SETTER)
        public void setPaymentProvider​(java.lang.String value)
        Generated method - Setter of PaymentTransaction.paymentProvider attribute defined at extension payment.
        Parameters:
        value - the paymentProvider
      • setPlannedAmount

        @Accessor(qualifier="plannedAmount",
                  type=SETTER)
        public void setPlannedAmount​(java.math.BigDecimal value)
        Generated method - Setter of PaymentTransaction.plannedAmount attribute defined at extension payment.
        Parameters:
        value - the plannedAmount
      • setRequestId

        @Accessor(qualifier="requestId",
                  type=SETTER)
        public void setRequestId​(java.lang.String value)
        Generated method - Setter of PaymentTransaction.requestId attribute defined at extension payment.
        Parameters:
        value - the requestId
      • setRequestToken

        @Accessor(qualifier="requestToken",
                  type=SETTER)
        public void setRequestToken​(java.lang.String value)
        Generated method - Setter of PaymentTransaction.requestToken attribute defined at extension payment.
        Parameters:
        value - the requestToken
      • setVersionID

        @Accessor(qualifier="versionID",
                  type=SETTER)
        public void setVersionID​(java.lang.String value)
        Generated method - Initial setter of PaymentTransaction.versionID attribute defined at extension payment. Can only be used at creation of model - before first save.
        Parameters:
        value - the versionID