1 package org.oxerr.okcoin.rest.dto; 2 3 import com.fasterxml.jackson.annotation.JsonProperty; 4 5 public class UnrepaymentsInfo extends ErrorResult { 6 7 private static final long serialVersionUID = 2015022001L; 8 9 private final BorrowOrder[] unrepayments; 10 11 public UnrepaymentsInfo( 12 @JsonProperty("unrepayments") BorrowOrder[] unrepayments, 13 @JsonProperty("result") boolean result) { 14 super(result); 15 this.unrepayments = unrepayments; 16 } 17 18 public BorrowOrder[] getUnrepayments() { 19 return unrepayments; 20 } 21 22 }