1 package org.oxerr.peatio.rest.dto; 2 3 import java.math.BigDecimal; 4 5 import com.fasterxml.jackson.annotation.JsonProperty; 6 7 public class KWithPendingTrades extends BaseObject { 8 9 private final BigDecimal[][] k; 10 private final Trade[] trades; 11 12 public KWithPendingTrades( 13 @JsonProperty("k") BigDecimal[][] k, 14 @JsonProperty("trades") Trade[] trades) { 15 this.k = k; 16 this.trades = trades; 17 } 18 19 public BigDecimal[][] getK() { 20 return k; 21 } 22 23 public Trade[] getTrades() { 24 return trades; 25 } 26 27 }