Class PaymentTransactionModel

    • 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      PaymentTransactionModel()
      Generated constructor - Default constructor for generic creation.
      PaymentTransactionModel​(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
    • 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​(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
      • 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
      • 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
      • 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