com.github.debugthug.xo.booking.CreateBookingRS Maven / Gradle / Ivy
package com.github.debugthug.xo.booking;
import java.util.ArrayList;
import java.util.List;
import com.github.debugthug.xo.Errors;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
@XStreamAlias("CreateBookingRS")
public class CreateBookingRS {
@XStreamAlias("Reservation")
private Reservation reservation;
@XStreamAlias("Transaction")
private Transaction Transaction;
@XStreamAlias("Payment")
private Payment payment;
@XStreamAlias("PaxInfo")
private PaxInfo paxInfo;
@XStreamAlias("SegmentInfo")
private SegmentInfo segmentInfo;
@XStreamAlias("SeatInfo")
private SeatInfo seatInfo;
@XStreamAlias("Errors")
private Errors errors;
@XStreamImplicit
@XStreamAlias("FareRules")
private List fareRulesList = new ArrayList();
@XStreamAlias("FareInfo")
private FareInfo fareInfo;
@XStreamAlias("CREDIT_NOTE")
private CreditNote creditNote;
public CreditNote getCreditNote() {
return creditNote;
}
public void setCreditNote(CreditNote creditNote) {
this.creditNote = creditNote;
}
public Reservation getReservation() {
return reservation;
}
public void setReservation(Reservation reservation) {
this.reservation = reservation;
}
public Transaction getTransaction() {
return Transaction;
}
public void setTransaction(Transaction transaction) {
Transaction = transaction;
}
public Payment getPayment() {
return payment;
}
public void setPayment(Payment payment) {
this.payment = payment;
}
public PaxInfo getPaxInfo() {
return paxInfo;
}
public void setPaxInfo(PaxInfo paxInfo) {
this.paxInfo = paxInfo;
}
public SegmentInfo getSegmentInfo() {
return segmentInfo;
}
public void setSegmentInfo(SegmentInfo segmentInfo) {
this.segmentInfo = segmentInfo;
}
public SeatInfo getSeatInfo() {
return seatInfo;
}
public void setSeatInfo(SeatInfo seatInfo) {
this.seatInfo = seatInfo;
}
public Errors getErrors() {
return errors;
}
public void setErrors(Errors errors) {
this.errors = errors;
}
public List getFareRulesList() {
return fareRulesList;
}
public void setFareRulesList(List fareRulesList) {
this.fareRulesList = fareRulesList;
}
public void addFareRulesList(FareRules fareRules) {
fareRulesList.add(fareRules);
}
public FareInfo getFareInfo() {
return fareInfo;
}
public void setFareInfo(FareInfo fareInfo) {
this.fareInfo = fareInfo;
}
}