Class AccountingJournalCreateRequestDto.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.AccountingJournalCreateRequestDto.Builder
-
- Enclosing class:
- AccountingJournalCreateRequestDto
public static final class AccountingJournalCreateRequestDto.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountingJournalCreateRequestDtobuild()AccountingJournalCreateRequestDto.BuildercurrencyCode(CurrencyCode currencyCode)Currency code for the journal and all linesAccountingJournalCreateRequestDto.BuildercurrencyCode(org.openapitools.jackson.nullable.JsonNullable<? extends CurrencyCode> currencyCode)Currency code for the journal and all linesAccountingJournalCreateRequestDto.BuilderexchangeRate(double exchangeRate)Exchange rate to company base currency to apply to all linesAccountingJournalCreateRequestDto.BuilderexchangeRate(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> exchangeRate)Exchange rate to company base currency to apply to all linesAccountingJournalCreateRequestDto.Builderlines(java.util.List<CreateJournalLine> lines)List of journal linesAccountingJournalCreateRequestDto.Builderlines(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<CreateJournalLine>> lines)List of journal linesAccountingJournalCreateRequestDto.Buildermemo(java.lang.String memo)Memo or description for the journalAccountingJournalCreateRequestDto.Buildermemo(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> memo)Memo or description for the journalAccountingJournalCreateRequestDto.Builderreference(java.lang.String reference)Reference number for the journalAccountingJournalCreateRequestDto.Builderreference(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> reference)Reference number for the journalAccountingJournalCreateRequestDto.BuildertransactionDate(java.time.OffsetDateTime transactionDate)Date of the journal transactionAccountingJournalCreateRequestDto.BuildertransactionDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> transactionDate)Date of the journal transaction
-
-
-
Method Detail
-
reference
public AccountingJournalCreateRequestDto.Builder reference(java.lang.String reference)
Reference number for the journal
-
reference
public AccountingJournalCreateRequestDto.Builder reference(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> reference)
Reference number for the journal
-
memo
public AccountingJournalCreateRequestDto.Builder memo(java.lang.String memo)
Memo or description for the journal
-
memo
public AccountingJournalCreateRequestDto.Builder memo(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> memo)
Memo or description for the journal
-
currencyCode
public AccountingJournalCreateRequestDto.Builder currencyCode(CurrencyCode currencyCode)
Currency code for the journal and all lines
-
currencyCode
public AccountingJournalCreateRequestDto.Builder currencyCode(org.openapitools.jackson.nullable.JsonNullable<? extends CurrencyCode> currencyCode)
Currency code for the journal and all lines
-
exchangeRate
public AccountingJournalCreateRequestDto.Builder exchangeRate(double exchangeRate)
Exchange rate to company base currency to apply to all lines
-
exchangeRate
public AccountingJournalCreateRequestDto.Builder exchangeRate(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> exchangeRate)
Exchange rate to company base currency to apply to all lines
-
transactionDate
public AccountingJournalCreateRequestDto.Builder transactionDate(java.time.OffsetDateTime transactionDate)
Date of the journal transaction
-
transactionDate
public AccountingJournalCreateRequestDto.Builder transactionDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> transactionDate)
Date of the journal transaction
-
lines
public AccountingJournalCreateRequestDto.Builder lines(java.util.List<CreateJournalLine> lines)
List of journal lines
-
lines
public AccountingJournalCreateRequestDto.Builder lines(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<CreateJournalLine>> lines)
List of journal lines
-
build
public AccountingJournalCreateRequestDto build()
-
-