We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16bc1f6 + 1b3402b commit 04c1972Copy full SHA for 04c1972
src/main/java/uk/gov/companieshouse/orders/api/model/DeliveryDetails.java
@@ -1,11 +1,17 @@
1
package uk.gov.companieshouse.orders.api.model;
2
3
+import com.fasterxml.jackson.annotation.JsonProperty;
4
import com.google.gson.Gson;
5
+import org.springframework.data.mongodb.core.mapping.Field;
6
7
public class DeliveryDetails {
8
9
+ @Field("address_line_1")
10
+ @JsonProperty("address_line_1")
11
private String addressLine1;
12
13
+ @Field("address_line_2")
14
+ @JsonProperty("address_line_2")
15
private String addressLine2;
16
17
private String country;
0 commit comments