Class Transaction

    • Field Detail

      • type

        @JsonPropertyDescription("The type of the general ledger transaction (e.g. journal entry, encumbrance, budget).")
        private Transaction.Type type
        Type

        The type of the general ledger transaction (e.g. journal entry, encumbrance, budget). (Required)

      • referenceNumber

        @JsonPropertyDescription("A source reference number/document number for the transaction.")
        private String referenceNumber
        Reference Number

        A source reference number/document number for the transaction.

      • transactionNumber

        @JsonPropertyDescription("A sequential number associated with the transaction.")
        private String transactionNumber
        Transaction Number

        A sequential number associated with the transaction.

      • ledgerDate

        @JsonPropertyDescription("The date the transaction is credited/debited to the account in the general ledger (i.e. posting date).")
        private Date ledgerDate
        Ledger Date

        The date the transaction is credited/debited to the account in the general ledger (i.e. posting date). (Required)

      • transactionTypeReferenceDate

        @JsonPropertyDescription("A supplementary date assigned to the transaction based on the transaction type.")
        private Object transactionTypeReferenceDate
        Transaction Type Reference Date

        A supplementary date assigned to the transaction based on the transaction type.

      • externalBatchReference

        @JsonPropertyDescription("An external reference number that identifies the transaction as being included in a specified batch.")
        private String externalBatchReference
        External Batch Reference

        An external reference number that identifies the transaction as being included in a specified batch.

      • reference

        @JsonPropertyDescription("The person or organization associated with the transaction.")
        private Object reference
        Reference

        The person or organization associated with the transaction.

      • transactionDetailLines

        @JsonPropertyDescription("The detailed accounting lines associated with the transaction.")
        private List<TransactionDetailLine> transactionDetailLines
        Transaction Detail Lines

        The detailed accounting lines associated with the transaction. (Required)

    • Constructor Detail

      • Transaction

        public Transaction()
    • Method Detail

      • getType

        public Transaction.Type getType()
        Type

        The type of the general ledger transaction (e.g. journal entry, encumbrance, budget). (Required)

      • setType

        public void setType​(Transaction.Type type)
        Type

        The type of the general ledger transaction (e.g. journal entry, encumbrance, budget). (Required)

      • getReferenceNumber

        public String getReferenceNumber()
        Reference Number

        A source reference number/document number for the transaction.

      • setReferenceNumber

        public void setReferenceNumber​(String referenceNumber)
        Reference Number

        A source reference number/document number for the transaction.

      • withReferenceNumber

        public Transaction withReferenceNumber​(String referenceNumber)
      • getTransactionNumber

        public String getTransactionNumber()
        Transaction Number

        A sequential number associated with the transaction.

      • setTransactionNumber

        public void setTransactionNumber​(String transactionNumber)
        Transaction Number

        A sequential number associated with the transaction.

      • withTransactionNumber

        public Transaction withTransactionNumber​(String transactionNumber)
      • getLedgerDate

        public Date getLedgerDate()
        Ledger Date

        The date the transaction is credited/debited to the account in the general ledger (i.e. posting date). (Required)

      • setLedgerDate

        public void setLedgerDate​(Date ledgerDate)
        Ledger Date

        The date the transaction is credited/debited to the account in the general ledger (i.e. posting date). (Required)

      • getTransactionTypeReferenceDate

        public Object getTransactionTypeReferenceDate()
        Transaction Type Reference Date

        A supplementary date assigned to the transaction based on the transaction type.

      • setTransactionTypeReferenceDate

        public void setTransactionTypeReferenceDate​(Object transactionTypeReferenceDate)
        Transaction Type Reference Date

        A supplementary date assigned to the transaction based on the transaction type.

      • withTransactionTypeReferenceDate

        public Transaction withTransactionTypeReferenceDate​(Object transactionTypeReferenceDate)
      • getExternalBatchReference

        public String getExternalBatchReference()
        External Batch Reference

        An external reference number that identifies the transaction as being included in a specified batch.

      • setExternalBatchReference

        public void setExternalBatchReference​(String externalBatchReference)
        External Batch Reference

        An external reference number that identifies the transaction as being included in a specified batch.

      • withExternalBatchReference

        public Transaction withExternalBatchReference​(String externalBatchReference)
      • getReference

        public Object getReference()
        Reference

        The person or organization associated with the transaction.

      • setReference

        public void setReference​(Object reference)
        Reference

        The person or organization associated with the transaction.

      • getTransactionDetailLines

        public List<TransactionDetailLine> getTransactionDetailLines()
        Transaction Detail Lines

        The detailed accounting lines associated with the transaction. (Required)

      • setTransactionDetailLines

        public void setTransactionDetailLines​(List<TransactionDetailLine> transactionDetailLines)
        Transaction Detail Lines

        The detailed accounting lines associated with the transaction. (Required)

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object