Class CreateJournalLine.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.CreateJournalLine.Builder
-
- Enclosing class:
- CreateJournalLine
public static final class CreateJournalLine.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateJournalLine.BuilderaccountId(java.lang.String accountId)ID of the ledger account this line referencesCreateJournalLine.BuilderaccountId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountId)ID of the ledger account this line referencesCreateJournalLine.Builderamount(double amount)Amount of the journal line in minor units, e.g.CreateJournalLine.Builderamount(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> amount)Amount of the journal line in minor units, e.g.CreateJournalLinebuild()CreateJournalLine.Builderdescription(java.lang.String description)Description of the journal lineCreateJournalLine.Builderdescription(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)Description of the journal lineCreateJournalLine.BuildertaxAmount(double taxAmount)Tax amount of the line in minor units, e.g.CreateJournalLine.BuildertaxAmount(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> taxAmount)Tax amount of the line in minor units, e.g.CreateJournalLine.BuildertaxRateId(java.lang.String taxRateId)ID of the tax rate appliedCreateJournalLine.BuildertaxRateId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> taxRateId)ID of the tax rate applied
-
-
-
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(java.lang.String taxRateId)
ID of the tax rate applied
-
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
-
build
public CreateJournalLine build()
-
-