@Gson.TypeAdapters(fieldNamingStrategy=true) @Value.Immutable @Value.Enclosing public interface InvoiceItem extends Reference<InvoiceItem>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
InvoiceItem.Category
The category that is stored in getKind() as a String
|
| Modifier and Type | Method and Description |
|---|---|
Double |
getAmount() |
String |
getDescription()
max length = 65,535
|
Long |
getId() |
String |
getKind() |
Reference<Project> |
getProject() |
Double |
getQuantity() |
Boolean |
getTaxed() |
Boolean |
getTaxed2() |
Double |
getUnitPrice() |
@Nullable Long getId()
getId in interface Reference<InvoiceItem>@Nullable
@SerializedName(value="project_id",
alternate="project")
Reference<Project> getProject()
String getKind()
@Nullable String getDescription()
@Nullable Double getQuantity()
@Nullable Double getUnitPrice()
@Nullable Double getAmount()
@Nullable Boolean getTaxed()
@Nullable Boolean getTaxed2()