-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPaymentSummary.java
More file actions
144 lines (113 loc) · 2.8 KB
/
Copy pathPaymentSummary.java
File metadata and controls
144 lines (113 loc) · 2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
package io.facturapi.models;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.ArrayList;
import java.util.List;
/**
* Related document summary for a payment complement (complemento de pago).
* Ready to be used as an element of the complement's related documents.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class PaymentSummary {
private String uuid;
private Integer folioNumber;
private String series;
private Integer installment;
private Double lastBalance;
private Double total;
private String currency;
private Double amount;
private List<PaymentSummaryTax> taxes = new ArrayList<>();
public String getUuid() {
return uuid;
}
public void setUuid(String uuid) {
this.uuid = uuid;
}
public Integer getFolioNumber() {
return folioNumber;
}
public void setFolioNumber(Integer folioNumber) {
this.folioNumber = folioNumber;
}
public String getSeries() {
return series;
}
public void setSeries(String series) {
this.series = series;
}
public Integer getInstallment() {
return installment;
}
public void setInstallment(Integer installment) {
this.installment = installment;
}
public Double getLastBalance() {
return lastBalance;
}
public void setLastBalance(Double lastBalance) {
this.lastBalance = lastBalance;
}
public Double getTotal() {
return total;
}
public void setTotal(Double total) {
this.total = total;
}
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
public Double getAmount() {
return amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
public List<PaymentSummaryTax> getTaxes() {
return taxes;
}
public void setTaxes(List<PaymentSummaryTax> taxes) {
this.taxes = taxes;
}
/** Prorated tax breakdown for the paid amount. */
@JsonIgnoreProperties(ignoreUnknown = true)
public static class PaymentSummaryTax {
private Double base;
private Double rate;
private String type;
private String factor;
private Boolean withholding;
public Double getBase() {
return base;
}
public void setBase(Double base) {
this.base = base;
}
public Double getRate() {
return rate;
}
public void setRate(Double rate) {
this.rate = rate;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getFactor() {
return factor;
}
public void setFactor(String factor) {
this.factor = factor;
}
public Boolean getWithholding() {
return withholding;
}
public void setWithholding(Boolean withholding) {
this.withholding = withholding;
}
}
}