package ru.VirtaMarketAnalyzer.data;

import com.google.gson.annotations.SerializedName;

/**
 * Created by cobr123 on 08.02.2019.
 */
final public class TradeGuideProduct {
    @SerializedName("pi")
    final private String productId;
    @SerializedName("q")
    final private double quality;
    @SerializedName("p")
    final private double price;
    @SerializedName("v")
    final private long volume;
    @SerializedName("iat")
    final private double incomeAfterTax;

    public TradeGuideProduct(
            final String productId,
            final double quality,
            final double price,
            final long volume,
            final double incomeAfterTax
    ) {
        this.productId = productId;
        this.quality = quality;
        this.price = price;
        this.volume = volume;
        this.incomeAfterTax = incomeAfterTax;
    }
}

@@ -309,16 +309,17 @@
 edName(%22
+b
 p%22)%0A    
@@ -335,25 +335,90 @@
 vate double 
-p
+buyPrice;%0A    @SerializedName(%22sp%22)%0A    final private double sellP
 rice;%0A    @S
@@ -661,17 +661,56 @@
  double 
-p
+buyPrice,%0A            final double sellP
 rice,%0A  
@@ -871,17 +871,59 @@
 his.
-p
+buyP
 rice = 
-p
+buyPrice;%0A        this.sellPrice = sellP
 rice

sellPrice и buyPrice вместо price