Skip to content

Commit 05b0e38

Browse files
committed
#149|Minor changes to support fractional value for receivedQuantity and dispatchedQuantity
1 parent 1eb4e98 commit 05b0e38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

goonj/src/main/java/org/avni_integration_service/goonj/dto/DispatchReceivedStatusLineItem.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public double getDispatchedQuantity() {
129129
}
130130

131131
@JsonProperty("DispatchedQuantity")
132-
public void setDispatchedQuantity(int dispatchedQuantity) {
132+
public void setDispatchedQuantity(double dispatchedQuantity) {
133133
this.dispatchedQuantity = dispatchedQuantity;
134134
}
135135

@@ -139,7 +139,7 @@ public double getReceivedQuantity() {
139139
}
140140

141141
@JsonProperty("ReceivedQuantity")
142-
public void setReceivedQuantity(int receivedQuantity) {
142+
public void setReceivedQuantity(double receivedQuantity) {
143143
this.receivedQuantity = receivedQuantity;
144144
}
145145

0 commit comments

Comments
 (0)