InvoicePropertiesRebillDetails Class

public final class InvoicePropertiesRebillDetails
extends RebillDetails

Rebill details for an invoice.

Constructor Summary

Constructor Description
InvoicePropertiesRebillDetails()

Creates an instance of InvoicePropertiesRebillDetails class.

Method Summary

Modifier and Type Method and Description
String creditNoteDocumentId()

Get the creditNoteDocumentId property: The ID of credit note.

static InvoicePropertiesRebillDetails fromJson(JsonReader jsonReader)

Reads an instance of InvoicePropertiesRebillDetails 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 RebillDetails

Methods inherited from java.lang.Object

Constructor Details

InvoicePropertiesRebillDetails

public InvoicePropertiesRebillDetails()

Creates an instance of InvoicePropertiesRebillDetails class.

Method Details

creditNoteDocumentId

public String creditNoteDocumentId()

Get the creditNoteDocumentId property: The ID of credit note.

Overrides:

InvoicePropertiesRebillDetails.creditNoteDocumentId()

Returns:

the creditNoteDocumentId value.

fromJson

public static InvoicePropertiesRebillDetails fromJson(JsonReader jsonReader)

Reads an instance of InvoicePropertiesRebillDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of InvoicePropertiesRebillDetails 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 InvoicePropertiesRebillDetails.

invoiceDocumentId

public String invoiceDocumentId()

Get the invoiceDocumentId property: The ID of invoice.

Overrides:

InvoicePropertiesRebillDetails.invoiceDocumentId()

Returns:

the invoiceDocumentId value.

rebillDetails

public RebillDetails rebillDetails()

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

Overrides:

InvoicePropertiesRebillDetails.rebillDetails()

Returns:

the rebillDetails value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

InvoicePropertiesRebillDetails.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

InvoicePropertiesRebillDetails.validate()

Applies to