|
| 1 | +package com.bitpay.sdk.model.Invoice; |
| 2 | + |
| 3 | +import com.fasterxml.jackson.annotation.JsonIgnore; |
| 4 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
| 5 | +import com.fasterxml.jackson.annotation.JsonInclude; |
| 6 | +import com.fasterxml.jackson.annotation.JsonProperty; |
| 7 | + |
| 8 | +import java.util.Date; |
| 9 | + |
| 10 | +@JsonIgnoreProperties(ignoreUnknown = true) |
| 11 | +public class RefundWebhook { |
| 12 | + |
| 13 | + private String _id; |
| 14 | + private String _invoice; |
| 15 | + private String _supportRequest; |
| 16 | + private String _status; |
| 17 | + private Double _amount; |
| 18 | + private String _currency; |
| 19 | + private Date _lastRefundNotification; |
| 20 | + private Double _refundFee; |
| 21 | + private boolean _immediate; |
| 22 | + private boolean _buyerPaysRefundFee; |
| 23 | + private Date _requestDate; |
| 24 | + |
| 25 | + public RefundWebhook() { |
| 26 | + } |
| 27 | + |
| 28 | + @JsonProperty("id") |
| 29 | + @JsonInclude(JsonInclude.Include.NON_DEFAULT) |
| 30 | + public String getId() { |
| 31 | + return _id; |
| 32 | + } |
| 33 | + |
| 34 | + @JsonProperty("id") |
| 35 | + public void setId(String _id) { |
| 36 | + this._id = _id; |
| 37 | + } |
| 38 | + |
| 39 | + @JsonProperty("invoice") |
| 40 | + @JsonInclude(JsonInclude.Include.NON_DEFAULT) |
| 41 | + public String getInvoice() { |
| 42 | + return _invoice; |
| 43 | + } |
| 44 | + |
| 45 | + @JsonProperty("invoice") |
| 46 | + public void setInvoice(String _invoice) { |
| 47 | + this._invoice = _invoice; |
| 48 | + } |
| 49 | + |
| 50 | + @JsonProperty("supportRequest") |
| 51 | + @JsonInclude(JsonInclude.Include.NON_DEFAULT) |
| 52 | + public String getSupportRequest() { |
| 53 | + return _supportRequest; |
| 54 | + } |
| 55 | + |
| 56 | + @JsonProperty("supportRequest") |
| 57 | + public void setSupportRequest(String _supportRequest) { |
| 58 | + this._supportRequest = _supportRequest; |
| 59 | + } |
| 60 | + |
| 61 | + @JsonProperty("status") |
| 62 | + @JsonInclude(JsonInclude.Include.NON_DEFAULT) |
| 63 | + public String getStatus() { |
| 64 | + return _status; |
| 65 | + } |
| 66 | + |
| 67 | + @JsonProperty("status") |
| 68 | + public void setStatus(String _status) { |
| 69 | + this._status = _status; |
| 70 | + } |
| 71 | + |
| 72 | + @JsonProperty("amount") |
| 73 | + @JsonInclude(JsonInclude.Include.NON_DEFAULT) |
| 74 | + public Double getAmount() { |
| 75 | + return _amount; |
| 76 | + } |
| 77 | + |
| 78 | + @JsonProperty("amount") |
| 79 | + public void setAmount(Double _amount) { |
| 80 | + this._amount = _amount; |
| 81 | + } |
| 82 | + |
| 83 | + @JsonProperty("currency") |
| 84 | + @JsonInclude(JsonInclude.Include.NON_DEFAULT) |
| 85 | + public String getCurrency() { |
| 86 | + return _currency; |
| 87 | + } |
| 88 | + |
| 89 | + @JsonProperty("currency") |
| 90 | + public void setCurrency(String _currency) { |
| 91 | + this._currency = _currency; |
| 92 | + } |
| 93 | + |
| 94 | + @JsonProperty("lastRefundNotification") |
| 95 | + @JsonInclude(JsonInclude.Include.NON_DEFAULT) |
| 96 | + public Date getLastRefundNotification() { |
| 97 | + return _lastRefundNotification; |
| 98 | + } |
| 99 | + |
| 100 | + @JsonProperty("lastRefundNotification") |
| 101 | + public void setLastRefundNotification(Date _lastRefundNotification) { |
| 102 | + this._lastRefundNotification = _lastRefundNotification; |
| 103 | + } |
| 104 | + |
| 105 | + @JsonProperty("refundFee") |
| 106 | + @JsonInclude(JsonInclude.Include.NON_DEFAULT) |
| 107 | + public Double getRefundFee() { |
| 108 | + return _refundFee; |
| 109 | + } |
| 110 | + |
| 111 | + @JsonProperty("refundFee") |
| 112 | + public void setRefundFee(Double _refundFee) { |
| 113 | + this._refundFee = _refundFee; |
| 114 | + } |
| 115 | + |
| 116 | + @JsonProperty("immediate") |
| 117 | + @JsonInclude(JsonInclude.Include.NON_DEFAULT) |
| 118 | + public boolean getImmediate() { |
| 119 | + return _immediate; |
| 120 | + } |
| 121 | + |
| 122 | + @JsonProperty("immediate") |
| 123 | + public void setImmediate(boolean _immediate) { |
| 124 | + this._immediate = _immediate; |
| 125 | + } |
| 126 | + |
| 127 | + @JsonProperty("buyerPaysRefundFee") |
| 128 | + @JsonInclude(JsonInclude.Include.NON_DEFAULT) |
| 129 | + public boolean getBuyerPaysRefundFee() { |
| 130 | + return _buyerPaysRefundFee; |
| 131 | + } |
| 132 | + |
| 133 | + @JsonProperty("buyerPaysRefundFee") |
| 134 | + public void setBuyerPaysRefundFee(boolean buyerPaysRefundFee) { |
| 135 | + this._buyerPaysRefundFee = _buyerPaysRefundFee; |
| 136 | + } |
| 137 | + |
| 138 | + @JsonProperty("requestDate") |
| 139 | + @JsonInclude(JsonInclude.Include.NON_DEFAULT) |
| 140 | + public Date getRequestDate() { |
| 141 | + return _requestDate; |
| 142 | + } |
| 143 | + |
| 144 | + @JsonProperty("requestDate") |
| 145 | + public void setRequestDate(Date requestDate) { |
| 146 | + this._requestDate = _requestDate; |
| 147 | + } |
| 148 | + |
| 149 | +} |
0 commit comments