com.tinypass.client.publisher.model.PromotionTermStats Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.PriceDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class PromotionTermStats {
/* Public ID */
private String pubId = null;
/* The public ID of the term */
private String termPubId = null;
private List totalSales = new ArrayList();
/* Total conversion count */
private Integer conversion = null;
public String getPubId() {
return pubId;
}
public void setPubId(String pubId) {
this.pubId = pubId;
}
public String getTermPubId() {
return termPubId;
}
public void setTermPubId(String termPubId) {
this.termPubId = termPubId;
}
public List getTotalSales() {
return totalSales;
}
public void setTotalSales(List totalSales) {
this.totalSales = totalSales;
}
public Integer getConversion() {
return conversion;
}
public void setConversion(Integer conversion) {
this.conversion = conversion;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PromotionTermStats {\n");
sb.append(" pubId: ").append(pubId).append("\n");
sb.append(" termPubId: ").append(termPubId).append("\n");
sb.append(" totalSales: ").append(totalSales).append("\n");
sb.append(" conversion: ").append(conversion).append("\n");
sb.append("}\n");
return sb.toString();
}
}