Skip to content

Commit

Permalink
fix: fix pixTransactionRefund
Browse files Browse the repository at this point in the history
  • Loading branch information
aripiprazole committed Aug 29, 2023
1 parent 2d90e9a commit 118f4a9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repositories {
}
dependencies {
implementation('com.openpix:sdk-java:0.0.10')
implementation('com.openpix:sdk-java:0.0.11')
}
```

Expand All @@ -51,7 +51,7 @@ repositories {
}
dependencies {
implementation('com.openpix:sdk-java:0.0.10')
implementation('com.openpix:sdk-java:0.0.11')
}
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
}

group = "com.openpix"
version = "0.0.10"
version = "0.0.11"

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/Refund.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public enum class RefundStatus {
}

@Serializable
public data class RefundResponse(public val refund: Refund)
public data class RefundResponse(public val pixTransactionRefund: Refund)

@Serializable
public data class RefundListResponse(
Expand Down
4 changes: 2 additions & 2 deletions src/test/kotlin/RefundTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class RefundTests {
client.getRefund("dummy")
}

assertThat(response).isEqualTo(RefundResponse(refund = refund))
assertThat(response).isEqualTo(RefundResponse(pixTransactionRefund = refund))
}
}

Expand Down Expand Up @@ -97,7 +97,7 @@ class RefundTests {
}
}

assertThat(response).isEqualTo(RefundResponse(refund = refund))
assertThat(response).isEqualTo(RefundResponse(pixTransactionRefund = refund))
}
}

Expand Down

0 comments on commit 118f4a9

Please sign in to comment.