RefundTransactionDetails Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. RefundTransactionDetails
- com.
Implements
public class RefundTransactionDetails
implements JsonSerializable<RefundTransactionDetails>
The refund details of a transaction.
Constructor Summary
| Constructor | Description |
|---|---|
| RefundTransactionDetails() |
Creates an instance of Refund |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Refund |
amountRefunded()
Get the amount |
|
Refund |
amountRequested()
Get the amount |
|
static
Refund |
fromJson(JsonReader jsonReader)
Reads an instance of Refund |
| String |
refundOperationId()
Get the refund |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Refund |
withAmountRefunded(RefundTransactionDetailsAmountRefunded amountRefunded)
Set the amount |
|
Refund |
withAmountRequested(RefundTransactionDetailsAmountRequested amountRequested)
Set the amount |
|
Refund |
withRefundOperationId(String refundOperationId)
Set the refund |
Methods inherited from java.lang.Object
Constructor Details
RefundTransactionDetails
public RefundTransactionDetails()
Creates an instance of RefundTransactionDetails class.
Method Details
amountRefunded
public RefundTransactionDetailsAmountRefunded amountRefunded()
Get the amountRefunded property: The amount refunded.
Returns:
amountRequested
public RefundTransactionDetailsAmountRequested amountRequested()
Get the amountRequested property: The amount of refund requested.
Returns:
fromJson
public static RefundTransactionDetails fromJson(JsonReader jsonReader)
Reads an instance of RefundTransactionDetails from the JsonReader.
Parameters:
Returns:
Throws:
refundOperationId
public String refundOperationId()
Get the refundOperationId property: The ID of refund operation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAmountRefunded
public RefundTransactionDetails withAmountRefunded(RefundTransactionDetailsAmountRefunded amountRefunded)
Set the amountRefunded property: The amount refunded.
Parameters:
Returns:
withAmountRequested
public RefundTransactionDetails withAmountRequested(RefundTransactionDetailsAmountRequested amountRequested)
Set the amountRequested property: The amount of refund requested.
Parameters:
Returns:
withRefundOperationId
public RefundTransactionDetails withRefundOperationId(String refundOperationId)
Set the refundOperationId property: The ID of refund operation.
Parameters:
Returns: