Skip to content

Commit 3f4d41f

Browse files
authored
Merge pull request #78 from messagebird/updateBalanceAmountType
fixed balance amount field type
2 parents 7258e45 + 845872d commit 3f4d41f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/src/main/java/com/messagebird/objects/Balance.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class Balance implements Serializable{
1414

1515
private String payment;
1616
private String type;
17-
private Integer amount;
17+
private float amount;
1818

1919
public Balance() {
2020
}
@@ -48,7 +48,7 @@ public String getType() {
4848
* The amount of balance of the payment type. When postpaid is your payment method, the amount will be 0.
4949
* @return
5050
*/
51-
public Integer getAmount() {
51+
public float getAmount() {
5252
return amount;
5353
}
5454
}

0 commit comments

Comments
 (0)