Skip to content

Commit

Permalink
mark fee_details as optional for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
JiahuiWho committed Apr 2, 2024
1 parent 0717989 commit 6afba34
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ data class DepositTransaction(
@SerialName("amount_out") override val amountOut: String,
@SerialName("amount_fee_asset") override val amountFeeAsset: String? = null,
@SerialName("amount_fee") override val amountFee: String? = null,
@SerialName("fee_details") override val feeDetails: FeeDetails,
@SerialName("fee_details") override val feeDetails: FeeDetails? = null,
@SerialName("started_at") override val startedAt: Instant,
@SerialName("completed_at") override val completedAt: Instant? = null,
@SerialName("stellar_transaction_id") override val stellarTransactionId: String? = null,
Expand All @@ -81,7 +81,7 @@ data class WithdrawalTransaction(
@SerialName("amount_out") override val amountOut: String,
@SerialName("amount_fee_asset") override val amountFeeAsset: String? = null,
@SerialName("amount_fee") override val amountFee: String? = null,
@SerialName("fee_details") override val feeDetails: FeeDetails,
@SerialName("fee_details") override val feeDetails: FeeDetails? = null,
@SerialName("started_at") override val startedAt: Instant,
@SerialName("completed_at") override val completedAt: Instant? = null,
@SerialName("stellar_transaction_id") override val stellarTransactionId: String? = null,
Expand Down Expand Up @@ -133,7 +133,7 @@ data class ErrorTransaction(
@SerialName("amount_out") val amountOut: String? = null,
@SerialName("amount_fee_asset") val amountFeeAsset: String? = null,
@SerialName("amount_fee") val amountFee: String? = null,
@SerialName("fee_details") val feeDetails: FeeDetails,
@SerialName("fee_details") val feeDetails: FeeDetails? = null,
@SerialName("completed_at") val completedAt: String? = null,
@SerialName("stellar_transaction_id") val stellarTransactionId: String? = null,
@SerialName("external_transaction_id") val externalTransactionId: String? = null,
Expand Down

0 comments on commit 6afba34

Please sign in to comment.