Skip to content

Commit 89d542f

Browse files
committed
added fields to dto
1 parent ebfb00d commit 89d542f

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
package uk.gov.companieshouse.orders.api.dto;
22

3+
import com.fasterxml.jackson.annotation.JsonProperty;
4+
35
public class BasketPaymentRequestDTO {
46

7+
@JsonProperty("paid_at")
8+
private String paidAt;
9+
10+
@JsonProperty("payment_reference")
11+
private String paymentReference;
12+
13+
@JsonProperty("status")
14+
private String status;
15+
16+
public String getPaidAt() {
17+
return paidAt;
18+
}
19+
20+
public void setPaidAt(String paidAt) {
21+
this.paidAt = paidAt;
22+
}
23+
24+
public String getPaymentReference() {
25+
return paymentReference;
26+
}
27+
28+
public void setPaymentReference(String paymentReference) {
29+
this.paymentReference = paymentReference;
30+
}
31+
32+
public String getStatus() {
33+
return status;
34+
}
35+
36+
public void setStatus(String status) {
37+
this.status = status;
38+
}
539
}

0 commit comments

Comments
 (0)