com.github.debugthug.xo.Tax Maven / Gradle / Ivy
package com.github.debugthug.xo;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
@XStreamAlias("Tax")
public class Tax {
@XStreamAsAttribute
@XStreamAlias("TaxNature")
private String taxNature;
@XStreamAsAttribute
@XStreamAlias("Currency")
private String currency;
@XStreamAsAttribute
@XStreamAlias("Amount")
private double amount;
@XStreamAsAttribute
@XStreamAlias("Surcharge")
private int surcharge;
public String getTaxNature() {
return taxNature;
}
public void setTaxNature(String taxNature) {
this.taxNature = taxNature;
}
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
public double getAmount() {
return amount;
}
public void setAmount(double amount) {
this.amount = amount;
}
public int getSurcharge() {
return surcharge;
}
public void setSurcharge(int surcharge) {
this.surcharge = surcharge;
}
}