public class PassengerSegmentInfoBuilder extends Object
PassengerSegmentInfo object.| Modifier and Type | Method and Description |
|---|---|
PassengerSegmentInfoBuilder |
addProductInfo(String title,
String value)
Adds a
ProductInfo object to the list of products the passenger
purchased in the current PassengerSegmentInfo. |
AirlineItineraryTemplateBuilder |
endPassengerSegmentInfo()
Builds the current object, adds it to the parent builder and returns the
parent builder.
|
String |
toString() |
public PassengerSegmentInfoBuilder addProductInfo(String title, String value)
ProductInfo object to the list of products the passenger
purchased in the current PassengerSegmentInfo. This field is
mandatory and there must be at least one element.title - the product title. It can't be empty.value - the product description. It can't be empty.public AirlineItineraryTemplateBuilder endPassengerSegmentInfo()
Copyright © 2017 BotMill. All rights reserved.