com.github.debugthug.xo.booking.PaxInfo Maven / Gradle / Ivy
package com.github.debugthug.xo.booking;
import java.util.ArrayList;
import java.util.List;
import com.github.debugthug.xo.Pax;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
@XStreamAlias("PaxInfo")
public class PaxInfo {
@XStreamImplicit
@XStreamAlias("Pax")
private List paxList=new ArrayList();
public List getPaxList() {
return paxList;
}
public void addPax(Pax pax) {
paxList.add(pax);
}
}