public class PassengerSegmentInfo extends Object implements Serializable
| Constructor and Description |
|---|
PassengerSegmentInfo(String segmentId,
String passengerId,
String seat,
String seatType)
Instantiates a new passenger segment info.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProductInfo(ProductInfo productInfo)
Adds the product info.
|
boolean |
equals(Object obj) |
String |
getPassengerId()
Gets the passenger id.
|
List<ProductInfo> |
getProductInfo()
Gets the product info.
|
String |
getSeat()
Gets the seat.
|
String |
getSeatType()
Gets the seat type.
|
String |
getSegmentId()
Gets the segment id.
|
int |
hashCode() |
void |
setPassengerId(String passengerId)
Sets the passenger id.
|
void |
setProductInfo(List<ProductInfo> productInfo)
Sets the product info.
|
void |
setSeat(String seat)
Sets the seat.
|
void |
setSeatType(String seatType)
Sets the seat type.
|
void |
setSegmentId(String segmentId)
Sets the segment id.
|
String |
toString() |
public String getSegmentId()
public void setSegmentId(String segmentId)
segmentId - the new segment idpublic String getPassengerId()
public void setPassengerId(String passengerId)
passengerId - the new passenger idpublic String getSeat()
public void setSeat(String seat)
seat - the new seatpublic String getSeatType()
public void setSeatType(String seatType)
seatType - the new seat typepublic List<ProductInfo> getProductInfo()
public void setProductInfo(List<ProductInfo> productInfo)
productInfo - the new product infopublic void addProductInfo(ProductInfo productInfo)
productInfo - the product infoCopyright © 2017 BotMill. All rights reserved.