Skip to content

Commit

Permalink
updating $location to address type
Browse files Browse the repository at this point in the history
  • Loading branch information
rsomavarapu-sift committed Jul 10, 2019
1 parent d02be8b commit 4411b62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/siftscience/model/Booking.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class Booking {
@Expose @SerializedName("$room_type") private String roomType;
@Expose @SerializedName("$event_id") private String eventId;
@Expose @SerializedName("$venue_id") private String venueId;
@Expose @SerializedName("$location") private String location;
@Expose @SerializedName("$location") private Address location;
@Expose @SerializedName("$category") private String category;

public String getBookingType() {
Expand Down Expand Up @@ -129,11 +129,11 @@ public Booking setVenueId(String venueId) {
return this;
}

public String getLocation() {
public Address getLocation() {
return location;
}

public Booking setLocation(String location) {
public Booking setLocation(Address location) {
this.location = location;
return this;
}
Expand Down

0 comments on commit 4411b62

Please sign in to comment.