it.netgrid.woocommerce.model.ShippingLine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwcrc Show documentation
Show all versions of jwcrc Show documentation
JWCRC provides a client for the Woocommerce API v1. (2.6.x)
package it.netgrid.woocommerce.model;
import java.math.BigDecimal;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import it.netgrid.woocommerce.CrudObject;
@XmlRootElement
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ShippingLine implements CrudObject {
private Integer id;
private String methodId;
private String methodTitle;
private BigDecimal total;
private BigDecimal totalTax;
private List taxes;
public ShippingLine() {}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
@XmlElement(name="method_id")
public String getMethodId() {
return methodId;
}
public void setMethodId(String methodId) {
this.methodId = methodId;
}
@XmlElement(name="method_title")
public String getMethodTitle() {
return methodTitle;
}
public void setMethodTitle(String methodTitle) {
this.methodTitle = methodTitle;
}
public BigDecimal getTotal() {
return total;
}
public void setTotal(BigDecimal total) {
this.total = total;
}
@XmlElement(name="total_tax")
public BigDecimal getTotalTax() {
return totalTax;
}
public void setTotalTax(BigDecimal totalTax) {
this.totalTax = totalTax;
}
public List getTaxes() {
return taxes;
}
public void setTaxes(List taxes) {
this.taxes = taxes;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy