Class AccountingJournalCreateRequestDto


  • public class AccountingJournalCreateRequestDto
    extends java.lang.Object
    • Constructor Detail

      • AccountingJournalCreateRequestDto

        public AccountingJournalCreateRequestDto​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> reference,
                                                 org.openapitools.jackson.nullable.JsonNullable<java.lang.String> memo,
                                                 org.openapitools.jackson.nullable.JsonNullable<? extends CurrencyCode> currencyCode,
                                                 org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> exchangeRate,
                                                 org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> transactionDate,
                                                 org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<CreateJournalLine>> lines)
      • AccountingJournalCreateRequestDto

        public AccountingJournalCreateRequestDto()
    • Method Detail

      • reference

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> reference()
        Reference number for the journal
      • memo

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> memo()
        Memo or description for the journal
      • currencyCode

        public org.openapitools.jackson.nullable.JsonNullable<CurrencyCode> currencyCode()
        Currency code for the journal and all lines
      • exchangeRate

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> exchangeRate()
        Exchange rate to company base currency to apply to all lines
      • transactionDate

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> transactionDate()
        Date of the journal transaction
      • lines

        public org.openapitools.jackson.nullable.JsonNullable<java.util.List<CreateJournalLine>> lines()
        List of journal lines
      • withReference

        public AccountingJournalCreateRequestDto withReference​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> reference)
        Reference number for the journal
      • withMemo

        public AccountingJournalCreateRequestDto withMemo​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> memo)
        Memo or description for the journal
      • withExchangeRate

        public AccountingJournalCreateRequestDto withExchangeRate​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> exchangeRate)
        Exchange rate to company base currency to apply to all lines
      • withTransactionDate

        public AccountingJournalCreateRequestDto withTransactionDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> transactionDate)
        Date of the journal transaction
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object