InvoicePropertiesRefundDetails Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. RefundDetailsSummary - com.
azure. resourcemanager. billing. models. InvoicePropertiesRefundDetails
- com.
- com.
public final class InvoicePropertiesRefundDetails
extends RefundDetailsSummary
The details of a refund request.
Constructor Summary
| Constructor | Description |
|---|---|
| InvoicePropertiesRefundDetails() |
Creates an instance of Invoice |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
approvedOn()
Get the approved |
|
Offset |
completedOn()
Get the completed |
|
static
Invoice |
fromJson(JsonReader jsonReader)
Reads an instance of Invoice |
| String |
rebillInvoiceId()
Get the rebill |
| String |
refundOperationId()
Get the refund |
|
Refund |
refundReason()
Get the refund |
|
Refund |
refundStatus()
Get the refund |
|
Offset |
requestedOn()
Get the requested |
|
Json |
toJson(JsonWriter jsonWriter) |
| Integer |
transactionCount()
Get the transaction |
| void |
validate()
Validates the instance. |
|
Invoice |
withAmountRefunded(RefundDetailsSummaryAmountRefunded amountRefunded)
Set the amount |
|
Invoice |
withAmountRequested(RefundDetailsSummaryAmountRequested amountRequested)
Set the amount |
Methods inherited from RefundDetailsSummary
Methods inherited from java.lang.Object
Constructor Details
InvoicePropertiesRefundDetails
public InvoicePropertiesRefundDetails()
Creates an instance of InvoicePropertiesRefundDetails class.
Method Details
approvedOn
public OffsetDateTime approvedOn()
Get the approvedOn property: Date when the refund was approved.
Overrides:
InvoicePropertiesRefundDetails.approvedOn()Returns:
completedOn
public OffsetDateTime completedOn()
Get the completedOn property: Date when the refund was completed.
Overrides:
InvoicePropertiesRefundDetails.completedOn()Returns:
fromJson
public static InvoicePropertiesRefundDetails fromJson(JsonReader jsonReader)
Reads an instance of InvoicePropertiesRefundDetails from the JsonReader.
Parameters:
Returns:
Throws:
rebillInvoiceId
public String rebillInvoiceId()
Get the rebillInvoiceId property: The invoice ID of the rebill invoice for a refund.
Overrides:
InvoicePropertiesRefundDetails.rebillInvoiceId()Returns:
refundOperationId
public String refundOperationId()
Get the refundOperationId property: The ID of refund operation.
Overrides:
InvoicePropertiesRefundDetails.refundOperationId()Returns:
refundReason
public RefundReasonCode refundReason()
Get the refundReason property: The reason for refund.
Overrides:
InvoicePropertiesRefundDetails.refundReason()Returns:
refundStatus
public RefundStatus refundStatus()
Get the refundStatus property: The status of refund request.
Overrides:
InvoicePropertiesRefundDetails.refundStatus()Returns:
requestedOn
public OffsetDateTime requestedOn()
Get the requestedOn property: Date when the refund was requested.
Overrides:
InvoicePropertiesRefundDetails.requestedOn()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
InvoicePropertiesRefundDetails.toJson(JsonWriter jsonWriter)Parameters:
Throws:
transactionCount
public Integer transactionCount()
Get the transactionCount property: The number of transactions refunded.
Overrides:
InvoicePropertiesRefundDetails.transactionCount()Returns:
validate
public void validate()
Validates the instance.
Overrides:
InvoicePropertiesRefundDetails.validate()withAmountRefunded
public InvoicePropertiesRefundDetails withAmountRefunded(RefundDetailsSummaryAmountRefunded amountRefunded)
Set the amountRefunded property: The amount refunded.
Overrides:
InvoicePropertiesRefundDetails.withAmountRefunded(RefundDetailsSummaryAmountRefunded amountRefunded)Parameters:
withAmountRequested
public InvoicePropertiesRefundDetails withAmountRequested(RefundDetailsSummaryAmountRequested amountRequested)
Set the amountRequested property: The amount of refund requested.
Overrides:
InvoicePropertiesRefundDetails.withAmountRequested(RefundDetailsSummaryAmountRequested amountRequested)Parameters: