RebillDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.models.RebillDetails

Implements

public class RebillDetails
implements JsonSerializable<RebillDetails>

The rebill details of an invoice.

Constructor Summary

Constructor Description
RebillDetails()

Creates an instance of RebillDetails class.

Method Summary

Modifier and Type Method and Description
String creditNoteDocumentId()

Get the creditNoteDocumentId property: The ID of credit note.

static RebillDetails fromJson(JsonReader jsonReader)

Reads an instance of RebillDetails from the JsonReader.

String invoiceDocumentId()

Get the invoiceDocumentId property: The ID of invoice.

RebillDetails rebillDetails()

Get the rebillDetails property: The rebill details of an invoice.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

RebillDetails

public RebillDetails()

Creates an instance of RebillDetails class.

Method Details

creditNoteDocumentId

public String creditNoteDocumentId()

Get the creditNoteDocumentId property: The ID of credit note.

Returns:

the creditNoteDocumentId value.

fromJson

public static RebillDetails fromJson(JsonReader jsonReader)

Reads an instance of RebillDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RebillDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RebillDetails.

invoiceDocumentId

public String invoiceDocumentId()

Get the invoiceDocumentId property: The ID of invoice.

Returns:

the invoiceDocumentId value.

rebillDetails

public RebillDetails rebillDetails()

Get the rebillDetails property: The rebill details of an invoice.

Returns:

the rebillDetails value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to