Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion riskified-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.riskified</groupId>
<artifactId>riskified-sdk</artifactId>
<version>v2.7.0</version>
<version>v2.7.1</version>
<name>Riskified SDK</name>
<description>Riskified rest api SDK for java</description>
<url>https://www.riskified.com</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ private HttpPost createPostRequest(String url) {
HttpPost postRequest = new HttpPost(url);
postRequest.setHeader(HttpHeaders.ACCEPT, "application/vnd.riskified.com; version=2");
postRequest.setHeader("X-RISKIFIED-SHOP-DOMAIN", shopUrl);
postRequest.setHeader("User-Agent","riskified_java_sdk/2.7.0"); // TODO: take the version automatically
postRequest.setHeader("User-Agent","riskified_java_sdk/2.7.1"); // TODO: take the version automatically
postRequest.setHeader("Version",versionHeaderValue);
return postRequest;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public void setGateway(String gateway) {
this.gateway = gateway;
}

public double getTotalPrice() {
public Double getTotalPrice() {
return totalPrice;
}

Expand Down Expand Up @@ -417,7 +417,7 @@ public void setSourceUrl(String sourceUrl) {
this.sourceUrl = sourceUrl;
}

public double getSubtotalPrice() {
public Double getSubtotalPrice() {
return subtotalPrice;
}

Expand All @@ -433,39 +433,39 @@ public void setTaxesIncluded(Boolean taxesIncluded) {
this.taxesIncluded = taxesIncluded;
}

public double getTotalDiscounts() {
public Double getTotalDiscounts() {
return totalDiscounts;
}

public void setTotalDiscounts(double totalDiscounts) {
this.totalDiscounts = totalDiscounts;
}

public double getTotalLineItemsPrice() {
public Double getTotalLineItemsPrice() {
return totalLineItemsPrice;
}

public void setTotalLineItemsPrice(double totalLineItemsPrice) {
this.totalLineItemsPrice = totalLineItemsPrice;
}

public double getTotalPriceUsd() {
public Double getTotalPriceUsd() {
return totalPriceUsd;
}

public void setTotalPriceUsd(double totalPriceUsd) {
this.totalPriceUsd = totalPriceUsd;
}

public double getTotalTax() {
public Double getTotalTax() {
return totalTax;
}

public void setTotalTax(double totalTax) {
this.totalTax = totalTax;
}

public double getTotalWeight() {
public Double getTotalWeight() {
return totalWeight;
}

Expand Down