Skip to content

Commit 5bd56c7

Browse files
authored
Merge pull request #91 from ppatidar2021/added_missing_property
Added forcedBuyerSelectedTransactionCurrency in invoice model
2 parents 670bf99 + 9484e17 commit 5bd56c7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/main/java/com/bitpay/sdk/model/Invoice/Invoice.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public class Invoice {
6565
private ArrayList<RefundInfo> _refundInfo;
6666
private boolean _extendedNotifications = false;
6767
private String _transactionCurrency;
68+
private String _forcedBuyerSelectedTransactionCurrency;
6869
private BigDecimal _amountPaid;
6970
private BigDecimal _displayAmountPaid;
7071
private Hashtable<String, Hashtable<String, String>> _exchangeRates;
@@ -422,6 +423,16 @@ public void setBuyerSms(String _buyerSms) {
422423

423424
// Response fields
424425
//
426+
427+
@JsonIgnore
428+
public String getForcedBuyerSelectedTransactionCurrency() {
429+
return _forcedBuyerSelectedTransactionCurrency;
430+
}
431+
432+
@JsonProperty("forcedBuyerSelectedTransactionCurrency")
433+
public void setForcedBuyerSelectedTransactionCurrency(String _forcedBuyerSelectedTransactionCurrency) {
434+
this._forcedBuyerSelectedTransactionCurrency = _forcedBuyerSelectedTransactionCurrency;
435+
}
425436

426437
@JsonIgnore
427438
public String getId() {

0 commit comments

Comments
 (0)