diff --git a/src/main/java/com/bitpay/sdk/model/invoice/BuyerFields.java b/src/main/java/com/bitpay/sdk/model/invoice/BuyerFields.java
index 0c1ec12b..fa36bd2d 100644
--- a/src/main/java/com/bitpay/sdk/model/invoice/BuyerFields.java
+++ b/src/main/java/com/bitpay/sdk/model/invoice/BuyerFields.java
@@ -8,6 +8,8 @@
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
/**
+ * Buyer Fields.
+ *
* @see Invoice Webhook
*/
@JsonIgnoreProperties(ignoreUnknown = true)
diff --git a/src/main/java/com/bitpay/sdk/model/invoice/InvoiceWebhook.java b/src/main/java/com/bitpay/sdk/model/invoice/InvoiceWebhook.java
index 93866ba7..79938bf1 100644
--- a/src/main/java/com/bitpay/sdk/model/invoice/InvoiceWebhook.java
+++ b/src/main/java/com/bitpay/sdk/model/invoice/InvoiceWebhook.java
@@ -11,6 +11,8 @@
import java.util.Hashtable;
/**
+ * Invoice Webhook.
+ *
* @see Invoice Webhook
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@@ -106,7 +108,7 @@ public void setExceptionStatus(String exceptionStatus) {
}
public BuyerFields getBuyerFields() {
- return buyerFields;
+ return this.buyerFields;
}
public void setBuyerFields(BuyerFields buyerFields) {
@@ -114,7 +116,7 @@ public void setBuyerFields(BuyerFields buyerFields) {
}
public Hashtable getPaymentSubtotals() {
- return paymentSubtotals;
+ return this.paymentSubtotals;
}
public void setPaymentSubtotals(Hashtable paymentSubtotals) {
diff --git a/src/main/java/com/bitpay/sdk/model/invoice/MinerFees.java b/src/main/java/com/bitpay/sdk/model/invoice/MinerFees.java
index 43fda933..88b1d28b 100644
--- a/src/main/java/com/bitpay/sdk/model/invoice/MinerFees.java
+++ b/src/main/java/com/bitpay/sdk/model/invoice/MinerFees.java
@@ -288,7 +288,7 @@ public void setWbtc(MinerFeesItem wbtc) {
*/
@JsonIgnore
public MinerFeesItem getMatic() {
- return matic;
+ return this.matic;
}
/**
@@ -308,7 +308,7 @@ public void setMatic(MinerFeesItem matic) {
*/
@JsonIgnore
public MinerFeesItem getUsdcM() {
- return usdcM;
+ return this.usdcM;
}
/**
diff --git a/src/main/java/com/bitpay/sdk/model/invoice/SupportedTransactionCurrencies.java b/src/main/java/com/bitpay/sdk/model/invoice/SupportedTransactionCurrencies.java
index 8437d0de..b91594f3 100644
--- a/src/main/java/com/bitpay/sdk/model/invoice/SupportedTransactionCurrencies.java
+++ b/src/main/java/com/bitpay/sdk/model/invoice/SupportedTransactionCurrencies.java
@@ -450,7 +450,7 @@ public void setWbtcM(SupportedTransactionCurrency wbtcM) {
*/
@JsonIgnore
public SupportedTransactionCurrency getShibM() {
- return shibM;
+ return this.shibM;
}
/**
diff --git a/src/main/java/com/bitpay/sdk/model/payout/PayoutWebhook.java b/src/main/java/com/bitpay/sdk/model/payout/PayoutWebhook.java
index 6363da91..7ac07c91 100644
--- a/src/main/java/com/bitpay/sdk/model/payout/PayoutWebhook.java
+++ b/src/main/java/com/bitpay/sdk/model/payout/PayoutWebhook.java
@@ -5,6 +5,7 @@
package com.bitpay.sdk.model.payout;
+import com.fasterxml.jackson.annotation.JsonSetter;
import java.math.BigDecimal;
import java.time.ZonedDateTime;
import java.util.Hashtable;
@@ -27,7 +28,7 @@ class PayoutWebhook {
protected String email;
protected String reference;
protected String label;
- protected String notificationURL;
+ protected String notificationUrl;
protected String notificationEmail;
protected ZonedDateTime effectiveDate;
protected ZonedDateTime requestDate;
@@ -115,16 +116,17 @@ public void setLabel(String label) {
this.label = label;
}
- public String getNotificationURL() {
- return this.notificationURL;
+ public String getNotificationUrl() {
+ return this.notificationUrl;
}
- public void setNotificationURL(String notificationURL) {
- this.notificationURL = notificationURL;
+ @JsonSetter("notificationURL")
+ public void setNotificationUrl(String notificationUrl) {
+ this.notificationUrl = notificationUrl;
}
public String getNotificationEmail() {
- return notificationEmail;
+ return this.notificationEmail;
}
public void setNotificationEmail(String notificationEmail) {
@@ -132,7 +134,7 @@ public void setNotificationEmail(String notificationEmail) {
}
public ZonedDateTime getEffectiveDate() {
- return effectiveDate;
+ return this.effectiveDate;
}
public void setEffectiveDate(ZonedDateTime effectiveDate) {
@@ -140,7 +142,7 @@ public void setEffectiveDate(ZonedDateTime effectiveDate) {
}
public ZonedDateTime getRequestDate() {
- return requestDate;
+ return this.requestDate;
}
public void setRequestDate(ZonedDateTime requestDate) {
@@ -148,7 +150,7 @@ public void setRequestDate(ZonedDateTime requestDate) {
}
public String getStatus() {
- return status;
+ return this.status;
}
public void setStatus(String status) {
@@ -156,7 +158,7 @@ public void setStatus(String status) {
}
public List getTransactions() {
- return transactions;
+ return this.transactions;
}
public void setTransactions(List transactions) {
diff --git a/src/main/java/com/bitpay/sdk/model/payout/RecipientWebhook.java b/src/main/java/com/bitpay/sdk/model/payout/RecipientWebhook.java
index 3bcfafa2..232df2c2 100644
--- a/src/main/java/com/bitpay/sdk/model/payout/RecipientWebhook.java
+++ b/src/main/java/com/bitpay/sdk/model/payout/RecipientWebhook.java
@@ -22,7 +22,7 @@ class RecipientWebhook {
protected String shopperId;
public String getEmail() {
- return email;
+ return this.email;
}
public void setEmail(String email) {
@@ -30,7 +30,7 @@ public void setEmail(String email) {
}
public String getLabel() {
- return label;
+ return this.label;
}
public void setLabel(String label) {
@@ -38,7 +38,7 @@ public void setLabel(String label) {
}
public String getStatus() {
- return status;
+ return this.status;
}
public void setStatus(String status) {
@@ -46,7 +46,7 @@ public void setStatus(String status) {
}
public String getId() {
- return id;
+ return this.id;
}
public void setId(String id) {
@@ -54,7 +54,7 @@ public void setId(String id) {
}
public String getShopperId() {
- return shopperId;
+ return this.shopperId;
}
public void setShopperId(String shopperId) {
diff --git a/src/test/java/com/bitpay/sdk/model/payout/PayoutWebhookTest.java b/src/test/java/com/bitpay/sdk/model/payout/PayoutWebhookTest.java
index 91235a02..659b8632 100644
--- a/src/test/java/com/bitpay/sdk/model/payout/PayoutWebhookTest.java
+++ b/src/test/java/com/bitpay/sdk/model/payout/PayoutWebhookTest.java
@@ -104,9 +104,9 @@ public void testManipulateLabel() {
public void testManipulateNotificationURL() {
PayoutWebhook testedClass = this.getTestedClass();
String expected = "someValue";
- testedClass.setNotificationURL(expected);
+ testedClass.setNotificationUrl(expected);
- Assertions.assertSame(expected, testedClass.getNotificationURL());
+ Assertions.assertSame(expected, testedClass.getNotificationUrl());
}
@Test