Skip to content

Commit

Permalink
Merge pull request #78 from messagebird/updateBalanceAmountType
Browse files Browse the repository at this point in the history
fixed balance amount field type
  • Loading branch information
denizkilic authored Oct 30, 2019
2 parents 7258e45 + 845872d commit 3f4d41f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/main/java/com/messagebird/objects/Balance.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class Balance implements Serializable{

private String payment;
private String type;
private Integer amount;
private float amount;

public Balance() {
}
Expand Down Expand Up @@ -48,7 +48,7 @@ public String getType() {
* The amount of balance of the payment type. When postpaid is your payment method, the amount will be 0.
* @return
*/
public Integer getAmount() {
public float getAmount() {
return amount;
}
}

0 comments on commit 3f4d41f

Please sign in to comment.