Class AccountingJournalCreateRequestDto
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.AccountingJournalCreateRequestDto
-
public class AccountingJournalCreateRequestDto extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountingJournalCreateRequestDto.Builder
-
Constructor Summary
Constructors Constructor Description AccountingJournalCreateRequestDto()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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountingJournalCreateRequestDto.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<CurrencyCode>currencyCode()Currency code for the journal and all linesbooleanequals(java.lang.Object o)org.openapitools.jackson.nullable.JsonNullable<java.lang.Double>exchangeRate()Exchange rate to company base currency to apply to all linesinthashCode()org.openapitools.jackson.nullable.JsonNullable<java.util.List<CreateJournalLine>>lines()List of journal linesorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>memo()Memo or description for the journalorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>reference()Reference number for the journaljava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>transactionDate()Date of the journal transactionAccountingJournalCreateRequestDtowithCurrencyCode(CurrencyCode currencyCode)Currency code for the journal and all linesAccountingJournalCreateRequestDtowithCurrencyCode(org.openapitools.jackson.nullable.JsonNullable<? extends CurrencyCode> currencyCode)Currency code for the journal and all linesAccountingJournalCreateRequestDtowithExchangeRate(double exchangeRate)Exchange rate to company base currency to apply to all linesAccountingJournalCreateRequestDtowithExchangeRate(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> exchangeRate)Exchange rate to company base currency to apply to all linesAccountingJournalCreateRequestDtowithLines(java.util.List<CreateJournalLine> lines)List of journal linesAccountingJournalCreateRequestDtowithLines(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<CreateJournalLine>> lines)List of journal linesAccountingJournalCreateRequestDtowithMemo(java.lang.String memo)Memo or description for the journalAccountingJournalCreateRequestDtowithMemo(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> memo)Memo or description for the journalAccountingJournalCreateRequestDtowithReference(java.lang.String reference)Reference number for the journalAccountingJournalCreateRequestDtowithReference(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> reference)Reference number for the journalAccountingJournalCreateRequestDtowithTransactionDate(java.time.OffsetDateTime transactionDate)Date of the journal transactionAccountingJournalCreateRequestDtowithTransactionDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> transactionDate)Date of the journal transaction
-
-
-
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
-
builder
public static AccountingJournalCreateRequestDto.Builder builder()
-
withReference
public AccountingJournalCreateRequestDto withReference(java.lang.String reference)
Reference number for the journal
-
withReference
public AccountingJournalCreateRequestDto withReference(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> reference)
Reference number for the journal
-
withMemo
public AccountingJournalCreateRequestDto withMemo(java.lang.String memo)
Memo or description for the journal
-
withMemo
public AccountingJournalCreateRequestDto withMemo(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> memo)
Memo or description for the journal
-
withCurrencyCode
public AccountingJournalCreateRequestDto withCurrencyCode(CurrencyCode currencyCode)
Currency code for the journal and all lines
-
withCurrencyCode
public AccountingJournalCreateRequestDto withCurrencyCode(org.openapitools.jackson.nullable.JsonNullable<? extends CurrencyCode> currencyCode)
Currency code for the journal and all lines
-
withExchangeRate
public AccountingJournalCreateRequestDto withExchangeRate(double exchangeRate)
Exchange rate to company base currency to apply to all lines
-
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(java.time.OffsetDateTime transactionDate)
Date of the journal transaction
-
withTransactionDate
public AccountingJournalCreateRequestDto withTransactionDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> transactionDate)
Date of the journal transaction
-
withLines
public AccountingJournalCreateRequestDto withLines(java.util.List<CreateJournalLine> lines)
List of journal lines
-
withLines
public AccountingJournalCreateRequestDto withLines(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<CreateJournalLine>> lines)
List of journal lines
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-