InvoiceDocument Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. InvoiceDocument
- com.
Implements
public final class InvoiceDocument
implements JsonSerializable<InvoiceDocument>
The properties of a document.
Constructor Summary
| Constructor | Description |
|---|---|
| InvoiceDocument() |
Creates an instance of Invoice |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
documentNumbers()
Get the document |
| String |
externalUrl()
Get the external |
|
static
Invoice |
fromJson(JsonReader jsonReader)
Reads an instance of Invoice |
|
Invoice |
kind()
Get the kind property: The type of the document. |
| String |
name()
Get the name property: The ID that uniquely identifies an invoice document. |
|
Document |
source()
Get the source property: The source of the document. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
url()
Get the url property: The URL to download the invoice document if the source is internal to Microsoft. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
InvoiceDocument
public InvoiceDocument()
Creates an instance of InvoiceDocument class.
Method Details
documentNumbers
public List<String> documentNumbers()
Get the documentNumbers property: The document numbers for the invoice document.
Returns:
externalUrl
public String externalUrl()
Get the externalUrl property: The URL to download the invoice document if the source is external to Microsoft.Billing.
Returns:
fromJson
public static InvoiceDocument fromJson(JsonReader jsonReader)
Reads an instance of InvoiceDocument from the JsonReader.
Parameters:
Returns:
Throws:
kind
public InvoiceDocumentType kind()
Get the kind property: The type of the document.
Returns:
name
public String name()
Get the name property: The ID that uniquely identifies an invoice document. This ID may be an identifier for an invoice PDF, a credit note, or a tax receipt.
Returns:
source
public DocumentSource source()
Get the source property: The source of the document. ENF for Brazil and DRS for rest of the world.
Returns:
toJson
url
public String url()
Get the url property: The URL to download the invoice document if the source is internal to Microsoft.Billing.
Returns:
validate
public void validate()
Validates the instance.