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