Class CreateJournalLine


  • public class CreateJournalLine
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      CreateJournalLine()  
      CreateJournalLine​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description, org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> amount, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> taxRateId, org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> taxAmount)  
    • Constructor Detail

      • CreateJournalLine

        public CreateJournalLine​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountId,
                                 org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description,
                                 org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> amount,
                                 org.openapitools.jackson.nullable.JsonNullable<java.lang.String> taxRateId,
                                 org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> taxAmount)
      • CreateJournalLine

        public CreateJournalLine()
    • Method Detail

      • accountId

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

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

        public 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 org.openapitools.jackson.nullable.JsonNullable<java.lang.String> taxRateId()
        ID of the tax rate applied
      • taxAmount

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

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

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

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

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

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

        public CreateJournalLine withAmount​(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
      • withTaxRateId

        public CreateJournalLine withTaxRateId​(java.lang.String taxRateId)
        ID of the tax rate applied
      • withTaxRateId

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

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

        public CreateJournalLine withTaxAmount​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> taxAmount)
        Tax amount of the line in minor units, e.g. 10010 for 100.10 USD
      • 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