All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.debugthug.xo.Body Maven / Gradle / Ivy

Go to download

Simple library having an App to test the XML requests and responses of TruJet.

The newest version!
package com.github.debugthug.xo;

import com.github.debugthug.xo.availability.SearchAvailability;
import com.github.debugthug.xo.availability.SearchAvailabilityResponse;
import com.github.debugthug.xo.booking.CreateBooking;
import com.github.debugthug.xo.booking.CreateBookingResponse;
import com.github.debugthug.xo.fareRules.FareRulesAndRestrictions;
import com.github.debugthug.xo.fareRules.FareRulesAndRestrictionsResponse;
import com.github.debugthug.xo.flightInfo.GetFlightInfo;
import com.github.debugthug.xo.flightInfo.GetFlightInfoResponse;
import com.github.debugthug.xo.holdInventory.HoldInventory;
import com.github.debugthug.xo.holdInventory.HoldInventoryResponse;
import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("soap:Body")
public class Body {

	@XStreamAlias("soap:Fault")
	private Fault fault;
	
	@XStreamAlias("SearchAvailability")
	SearchAvailability searchAvailability;
	
	@XStreamAlias("SearchAvailabilityResponse")
	private SearchAvailabilityResponse searchAvailabilityResponse;
	
	@XStreamAlias("GetFlightInfo")
	GetFlightInfo getFlightInfo;
	
	@XStreamAlias("GetFlightInfoResponse")
	GetFlightInfoResponse getFlightInfoResponse;
	
	@XStreamAlias("HoldInventory")
	private HoldInventory holdInventory;
	
	@XStreamAlias("CreateBooking")
	private CreateBooking createBooking;
	
	@XStreamAlias("CreateBookingResponse")
	private CreateBookingResponse createBookingResponse;
	
	@XStreamAlias("FareRulesAndRestrictions")
	private FareRulesAndRestrictions fareRulesAndRestrictions;
	
	@XStreamAlias("FareRulesAndRestrictionsResponse")
	private FareRulesAndRestrictionsResponse fareRulesAndRestrictionsResponse;
	
	public FareRulesAndRestrictionsResponse getFareRulesAndRestrictionsResponse() {
		return fareRulesAndRestrictionsResponse;
	}

	public void setFareRulesAndRestrictionsResponse(FareRulesAndRestrictionsResponse fareRulesAndRestrictionsResponse) {
		this.fareRulesAndRestrictionsResponse = fareRulesAndRestrictionsResponse;
	}

	public FareRulesAndRestrictions getFareRulesAndRestrictions() {
		return fareRulesAndRestrictions;
	}

	public void setFareRulesAndRestrictions(FareRulesAndRestrictions fareRulesAndRestrictions) {
		this.fareRulesAndRestrictions = fareRulesAndRestrictions;
	}

	public CreateBookingResponse getCreateBookingResponse() {
		return createBookingResponse;
	}

	public void setCreateBookingResponse(CreateBookingResponse createBookingResponse) {
		this.createBookingResponse = createBookingResponse;
	}

	public CreateBooking getCreateBooking() {
		return createBooking;
	}

	public void setCreateBooking(CreateBooking createBooking) {
		this.createBooking = createBooking;
	}

	public Fault getFault() {
		return fault;
	}

	public void setFault(Fault fault) {
		this.fault = fault;
	}

	@XStreamAlias("HoldInventoryResponse")
	private HoldInventoryResponse holdInventoryResponse;
	
	public HoldInventoryResponse getHoldInventoryResponse() {
		return holdInventoryResponse;
	}

	public void setHoldInventoryResponse(HoldInventoryResponse holdInventoryResponse) {
		this.holdInventoryResponse = holdInventoryResponse;
	}

	public HoldInventory getHoldInventory() {
		return holdInventory;
	}

	public void setHoldInventory(HoldInventory holdInventory) {
		this.holdInventory = holdInventory;
	}

	public SearchAvailability getSearchAvailability() {
		return searchAvailability;
	}

	public void setSearchAvailability(SearchAvailability searchAvailability) {
		this.searchAvailability = searchAvailability;
	}
	
	public GetFlightInfo getGetFlightInfo() {
		return getFlightInfo;
	}

	public void setGetFlightInfo(GetFlightInfo getFlightInfo) {
		this.getFlightInfo = getFlightInfo;
	}

	public SearchAvailabilityResponse getSearchAvailabilityResponse() {
		return searchAvailabilityResponse;
	}

	public void setSearchAvailabilityResponse(SearchAvailabilityResponse searchAvailabilityResponse) {
		this.searchAvailabilityResponse = searchAvailabilityResponse;
	}

	public GetFlightInfoResponse getGetFlightInfoResponse() {
		return getFlightInfoResponse;
	}

	public void setGetFlightInfoResponse(GetFlightInfoResponse getFlightInfoResponse) {
		this.getFlightInfoResponse = getFlightInfoResponse;
	}
	
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy