From 714acf8a4cf886acfec978d31f0b9acb1ac82972 Mon Sep 17 00:00:00 2001 From: Nikhil Kakade Date: Wed, 12 Dec 2018 22:14:30 +0530 Subject: [PATCH] Changed datatype of cfAveragePrice to NumberString --- .../github/rishabh9/riko/upstox/users/models/Position.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/github/rishabh9/riko/upstox/users/models/Position.java b/src/main/java/com/github/rishabh9/riko/upstox/users/models/Position.java index 7a15348..e6e4824 100644 --- a/src/main/java/com/github/rishabh9/riko/upstox/users/models/Position.java +++ b/src/main/java/com/github/rishabh9/riko/upstox/users/models/Position.java @@ -87,7 +87,7 @@ public class Position { private NumberString unrealizedProfit; @SerializedName("cf_avg_price") - private BigDecimal cfAveragePrice; + private NumberString cfAveragePrice; public String getExchange() { return exchange; @@ -241,11 +241,11 @@ public void setUnrealizedProfit(NumberString unrealizedProfit) { this.unrealizedProfit = unrealizedProfit; } - public BigDecimal getCfAveragePrice() { + public NumberString getCfAveragePrice() { return cfAveragePrice; } - public void setCfAveragePrice(BigDecimal cfAveragePrice) { + public void setCfAveragePrice(NumberString cfAveragePrice) { this.cfAveragePrice = cfAveragePrice; }