com.github.debugthug.xo.Fare Maven / Gradle / Ivy
package com.github.debugthug.xo;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.github.debugthug.xo.booking.SegID;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
@XStreamAlias("Fare")
public class Fare {
@XStreamAsAttribute
@XStreamAlias("FareBasisCode")
private String fareBasisCode;
@XStreamAsAttribute
@XStreamAlias("BaseFare")
private Double baseFare;
@XStreamAsAttribute
@XStreamAlias("Taxes")
private Double taxes;
@XStreamAsAttribute
@XStreamAlias("Surcharge")
private Double surcharge;
@XStreamAsAttribute
@XStreamAlias("Currency")
private String currency;
@XStreamAsAttribute
@XStreamAlias("ROE")
private Double rOE;
@XStreamAsAttribute
@XStreamAlias("EquivalentFare")
private Double equivalentFare;
@XStreamAsAttribute
@XStreamAlias("EquivalentCurrencyCode")
private String equivalentCurrencyCode;
@XStreamAsAttribute
@XStreamAlias("PaxType")
private String paxType;
@XStreamAsAttribute
@XStreamAlias("BaggageAllowed")
private String baggageAllowed;
@XStreamAsAttribute
@XStreamAlias("ValidFrom")
private Date validFrom;
@XStreamAsAttribute
@XStreamAlias("ValidTill")
private Date validTill;
@XStreamAsAttribute
@XStreamAlias("Cancellation_Allowed")
private String cancellation_Allowed;
@XStreamAsAttribute
@XStreamAlias("Rebooking_Allowed")
private String rebooking_Allowed;
@XStreamImplicit
@XStreamAlias("Tax")
private List taxList=new ArrayList();
//bookingRS::
@XStreamAsAttribute
@XStreamAlias("PaxTypeName")
private String paxTypeName;
@XStreamAsAttribute
@XStreamAlias("EquivalentCurrency")
private String equivalentCurrency;
@XStreamAsAttribute
@XStreamAlias("PaxCount")
private String paxCount;
// @XStreamImplicit
// @XStreamAlias("SegID")
// private List segID=new ArrayList();
@XStreamImplicit
@XStreamAlias("SegID")
private List segIDList=new ArrayList();
//getters-setters::
public List getSegIDList() {
return segIDList;
}
public void setSegIDList(List segIDList) {
this.segIDList = segIDList;
}
public String getFareBasisCode() {
return fareBasisCode;
}
public void setFareBasisCode(String fareBasisCode) {
this.fareBasisCode = fareBasisCode;
}
public Double getBaseFare() {
return baseFare;
}
public void setBaseFare(Double baseFare) {
this.baseFare = baseFare;
}
public Double getTaxes() {
return taxes;
}
public void setTaxes(Double taxes) {
this.taxes = taxes;
}
public Double getSurcharge() {
return surcharge;
}
public void setSurcharge(Double surcharge) {
this.surcharge = surcharge;
}
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
public Double getrOE() {
return rOE;
}
public void setrOE(Double rOE) {
this.rOE = rOE;
}
public Double getEquivalentFare() {
return equivalentFare;
}
public void setEquivalentFare(Double equivalentFare) {
this.equivalentFare = equivalentFare;
}
public String getEquivalentCurrencyCode() {
return equivalentCurrencyCode;
}
public void setEquivalentCurrencyCode(String equivalentCurrencyCode) {
this.equivalentCurrencyCode = equivalentCurrencyCode;
}
public String getPaxType() {
return paxType;
}
public void setPaxType(String paxType) {
this.paxType = paxType;
}
public String getBaggageAllowed() {
return baggageAllowed;
}
public void setBaggageAllowed(String baggageAllowed) {
this.baggageAllowed = baggageAllowed;
}
public Date getValidFrom() {
return validFrom;
}
public void setValidFrom(Date validFrom) {
this.validFrom = validFrom;
}
public Date getValidTill() {
return validTill;
}
public void setValidTill(Date validTill) {
this.validTill = validTill;
}
public String getCancellation_Allowed() {
return cancellation_Allowed;
}
public void setCancellation_Allowed(String cancellation_Allowed) {
this.cancellation_Allowed = cancellation_Allowed;
}
public String getRebooking_Allowed() {
return rebooking_Allowed;
}
public void setRebooking_Allowed(String rebooking_Allowed) {
this.rebooking_Allowed = rebooking_Allowed;
}
public List getTaxList() {
return taxList;
}
public void setTaxList(List taxList) {
this.taxList = taxList;
}
public String getPaxTypeName() {
return paxTypeName;
}
public void setPaxTypeName(String paxTypeName) {
this.paxTypeName = paxTypeName;
}
public String getEquivalentCurrency() {
return equivalentCurrency;
}
public void setEquivalentCurrency(String equivalentCurrency) {
this.equivalentCurrency = equivalentCurrency;
}
public String getPaxCount() {
return paxCount;
}
public void setPaxCount(String paxCount) {
this.paxCount = paxCount;
}
// public List getSegID() {
// return segID;
// }
//
// public void setSegID(List segID) {
// this.segID = segID;
// }
}