com.github.debugthug.xo.booking.Transaction Maven / Gradle / Ivy
package com.github.debugthug.xo.booking;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
@XStreamAlias("Transaction")
public class Transaction {
@XStreamAsAttribute
@XStreamAlias("Fax")
private String fax;
@XStreamAsAttribute
@XStreamAlias("Address")
private String address;
@XStreamAsAttribute
@XStreamAlias("City")
private String city;
@XStreamAsAttribute
@XStreamAlias("Country")
private String country;
@XStreamAsAttribute
@XStreamAlias("Pincode")
private String pincode;
@XStreamAsAttribute
@XStreamAlias("Mobile")
private String mobile;
@XStreamAsAttribute
@XStreamAlias("ContactNo")
private String contactNo;
@XStreamAsAttribute
@XStreamAlias("Email")
private String email;
@XStreamAsAttribute
@XStreamAlias("CorporateCode")
private String corporateCode;
// response params:::::::
@XStreamAsAttribute
@XStreamAlias("TotalBaseFare")
private Double totalBaseFare;
@XStreamAsAttribute
@XStreamAlias("TotalTaxes")
private Double totalTaxes;
@XStreamAsAttribute
@XStreamAlias("TotalSurcharge")
private Double totalSurcharge;
@XStreamAsAttribute
@XStreamAlias("TransactionCharge")
private Double transactionCharge;
@XStreamAsAttribute
@XStreamAlias("PaymentCharge")
private Double paymentCharge;
@XStreamAsAttribute
@XStreamAlias("Commission")
private Double commission;
@XStreamAsAttribute
@XStreamAlias("Discount")
private Double discount;
// getters and setters::
public String getFax() {
return fax;
}
public void setFax(String fax) {
this.fax = fax;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public String getPincode() {
return pincode;
}
public void setPincode(String pincode) {
this.pincode = pincode;
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public String getContactNo() {
return contactNo;
}
public void setContactNo(String contactNo) {
this.contactNo = contactNo;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getCorporateCode() {
return corporateCode;
}
public void setCorporateCode(String corporateCode) {
this.corporateCode = corporateCode;
}
public double getTotalBaseFare() {
return totalBaseFare;
}
public void setTotalBaseFare(double totalBaseFare) {
this.totalBaseFare = totalBaseFare;
}
public double getTotalTaxes() {
return totalTaxes;
}
public void setTotalTaxes(double totalTaxes) {
this.totalTaxes = totalTaxes;
}
public double getTotalSurcharge() {
return totalSurcharge;
}
public void setTotalSurcharge(double totalSurcharge) {
this.totalSurcharge = totalSurcharge;
}
public double getTransactionCharge() {
return transactionCharge;
}
public void setTransactionCharge(double transactionCharge) {
this.transactionCharge = transactionCharge;
}
public double getPaymentCharge() {
return paymentCharge;
}
public void setPaymentCharge(double paymentCharge) {
this.paymentCharge = paymentCharge;
}
public double getCommission() {
return commission;
}
public void setCommission(double commission) {
this.commission = commission;
}
public double getDiscount() {
return discount;
}
public void setDiscount(double discount) {
this.discount = discount;
}
}