63 lines
1.3 KiB
Java
63 lines
1.3 KiB
Java
package it.acxent.api.ebay;
|
|
|
|
public class EbayOrder {
|
|
private String buyerId;
|
|
|
|
private String orderId;
|
|
|
|
private String buyerTaxId;
|
|
|
|
private String taxIdType;
|
|
|
|
private double amount;
|
|
|
|
public EbayOrder(String buyerId, String orderId, String buyerTaxId, String taxIdType, double amount) {
|
|
this.buyerId = buyerId;
|
|
this.orderId = orderId;
|
|
this.buyerTaxId = buyerTaxId;
|
|
this.taxIdType = taxIdType;
|
|
this.amount = amount;
|
|
}
|
|
|
|
public EbayOrder() {}
|
|
|
|
public String getBuyerId() {
|
|
return (this.buyerId == null) ? "" : this.buyerId.trim();
|
|
}
|
|
|
|
public void setBuyerId(String buyerId) {
|
|
this.buyerId = buyerId;
|
|
}
|
|
|
|
public String getOrderId() {
|
|
return (this.orderId == null) ? "" : this.orderId.trim();
|
|
}
|
|
|
|
public void setOrderId(String orderId) {
|
|
this.orderId = orderId;
|
|
}
|
|
|
|
public String getBuyerTaxId() {
|
|
return (this.buyerTaxId == null) ? "" : this.buyerTaxId.trim();
|
|
}
|
|
|
|
public void setBuyerTaxId(String buyerTaxId) {
|
|
this.buyerTaxId = buyerTaxId;
|
|
}
|
|
|
|
public String getTaxIdType() {
|
|
return (this.taxIdType == null) ? "" : this.taxIdType.trim();
|
|
}
|
|
|
|
public void setTaxIdType(String taxIdType) {
|
|
this.taxIdType = taxIdType;
|
|
}
|
|
|
|
public double getAmount() {
|
|
return this.amount;
|
|
}
|
|
|
|
public void setAmount(double amount) {
|
|
this.amount = amount;
|
|
}
|
|
}
|