Skip to content

Commit 0f7e9ff

Browse files
Add the price property to the LineItem
1 parent b4b2158 commit 0f7e9ff

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.storakle.shopify</groupId>
88
<artifactId>shopify-api-java-wrapper</artifactId>
9-
<version>0.1.6</version>
9+
<version>0.1.7</version>
1010
<build>
1111
<sourceDirectory>src/main/java</sourceDirectory>
1212
<plugins>

src/main/java/com/storakle/shopify/domain/LineItem.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import com.fasterxml.jackson.annotation.JsonProperty;
44
import lombok.Data;
55

6+
import java.math.BigDecimal;
7+
68
@Data
79
public class LineItem
810
{
@@ -26,4 +28,7 @@ public class LineItem
2628

2729
@JsonProperty(value = JsonConstants.QUANTITY)
2830
private int quantity;
31+
32+
@JsonProperty(value = JsonConstants.PRICE)
33+
private BigDecimal price;
2934
}

0 commit comments

Comments
 (0)