File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
riskified-sdk/src/main/java/com/riskified Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -1024,7 +1024,7 @@ private HttpPost createPostRequest(String url) {
10241024 HttpPost postRequest = new HttpPost (url );
10251025 postRequest .setHeader (HttpHeaders .ACCEPT , "application/vnd.riskified.com; version=2" );
10261026 postRequest .setHeader ("X-RISKIFIED-SHOP-DOMAIN" , shopUrl );
1027- postRequest .setHeader ("User-Agent" ,"riskified_java_sdk/2.4.0 " ); // TODO: take the version automatically
1027+ postRequest .setHeader ("User-Agent" ,"riskified_java_sdk/2.6.1 " ); // TODO: take the version automatically
10281028 postRequest .setHeader ("Version" ,versionHeaderValue );
10291029 return postRequest ;
10301030 }
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class AccommodationLineItem extends LineItem {
1313 private Date checkInDate ;
1414 private Date checkOutDate ;
1515 private Float rating ;
16- private int numberOfGuests ;
16+ private Integer numberOfGuests ;
1717 private String cancellationPolicy ;
1818 private String accommodationType ;
1919
Original file line number Diff line number Diff line change @@ -529,9 +529,7 @@ public void setVendorIntegrationType(String vendorIntegrationType) {
529529 this .vendorIntegrationType = vendorIntegrationType ;
530530 }
531531
532- // public List<Address> getShippingAddress() {
533- // return shippingAddress;
534- // }
532+ public Address getShippingAddress () {return shippingAddress ;}
535533
536534 public void setShippingAddress (Address shippingAddress ) {
537535 this .shippingAddress = shippingAddress ;
You can’t perform that action at this time.
0 commit comments