ArmBillingModelFactory.InvoiceDocument Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of InvoiceDocument.
public static Azure.ResourceManager.Billing.Models.InvoiceDocument InvoiceDocument (System.Collections.Generic.IEnumerable<string> documentNumbers = default, Uri externalUri = default, Azure.ResourceManager.Billing.Models.InvoiceDocumentType? kind = default, string name = default, Uri uri = default, Azure.ResourceManager.Billing.Models.BillingDocumentSource? source = default);
static member InvoiceDocument : seq<string> * Uri * Nullable<Azure.ResourceManager.Billing.Models.InvoiceDocumentType> * string * Uri * Nullable<Azure.ResourceManager.Billing.Models.BillingDocumentSource> -> Azure.ResourceManager.Billing.Models.InvoiceDocument
Public Shared Function InvoiceDocument (Optional documentNumbers As IEnumerable(Of String) = Nothing, Optional externalUri As Uri = Nothing, Optional kind As Nullable(Of InvoiceDocumentType) = Nothing, Optional name As String = Nothing, Optional uri As Uri = Nothing, Optional source As Nullable(Of BillingDocumentSource) = Nothing) As InvoiceDocument
Parameters
- documentNumbers
- IEnumerable<String>
The document numbers for the invoice document.
- externalUri
- Uri
The URL to download the invoice document if the source is external to Microsoft.Billing.
- kind
- Nullable<InvoiceDocumentType>
The type of the document.
- name
- String
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.
- uri
- Uri
The URL to download the invoice document if the source is internal to Microsoft.Billing.
- source
- Nullable<BillingDocumentSource>
The source of the document. ENF for Brazil and DRS for rest of the world.
Returns
A new InvoiceDocument instance for mocking.