Class CreateJournalLine.Builder

  • Enclosing class:
    CreateJournalLine

    public static final class CreateJournalLine.Builder
    extends java.lang.Object
    • Method Detail

      • accountId

        public CreateJournalLine.Builder accountId​(java.lang.String accountId)
        ID of the ledger account this line references
      • accountId

        public CreateJournalLine.Builder accountId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountId)
        ID of the ledger account this line references
      • description

        public CreateJournalLine.Builder description​(java.lang.String description)
        Description of the journal line
      • description

        public CreateJournalLine.Builder description​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)
        Description of the journal line
      • amount

        public CreateJournalLine.Builder amount​(double amount)
        Amount of the journal line in minor units, e.g. 10010 for 100.10 USD. Positive for debit, negative for credit
      • amount

        public CreateJournalLine.Builder amount​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> amount)
        Amount of the journal line in minor units, e.g. 10010 for 100.10 USD. Positive for debit, negative for credit
      • taxRateId

        public CreateJournalLine.Builder taxRateId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> taxRateId)
        ID of the tax rate applied
      • taxAmount

        public CreateJournalLine.Builder taxAmount​(double taxAmount)
        Tax amount of the line in minor units, e.g. 10010 for 100.10 USD
      • taxAmount

        public CreateJournalLine.Builder taxAmount​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> taxAmount)
        Tax amount of the line in minor units, e.g. 10010 for 100.10 USD