Package com.duffel.sdk.model
Class SeatMapService
java.lang.Object
com.duffel.sdk.model.SeatMapService
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-28T15:13:42.592945+07:00[Asia/Bangkok]")
public class SeatMapService
extends Object
A bookable seat is a special kind of service. Only one seat can be booked per passenger, per segment
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull StringgetId()Duffel's unique identifier for the service@NotNull StringThe passenger that this seat is for@NotNull StringThe total price of the seat, including taxes@NotNull StringThe currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.inthashCode()passengerId(String passengerId) voidvoidsetPassengerId(String passengerId) voidsetTotalAmount(String totalAmount) voidsetTotalCurrency(String totalCurrency) toString()totalAmount(String totalAmount) totalCurrency(String totalCurrency)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_PASSENGER_ID
- See Also:
-
JSON_PROPERTY_TOTAL_AMOUNT
- See Also:
-
JSON_PROPERTY_TOTAL_CURRENCY
- See Also:
-
-
Constructor Details
-
SeatMapService
public SeatMapService()
-
-
Method Details
-
id
-
getId
Duffel's unique identifier for the service- Returns:
- id
-
setId
-
passengerId
-
getPassengerId
The passenger that this seat is for- Returns:
- passengerId
-
setPassengerId
-
totalAmount
-
getTotalAmount
The total price of the seat, including taxes- Returns:
- totalAmount
-
setTotalAmount
-
totalCurrency
-
getTotalCurrency
The currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. It will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).- Returns:
- totalCurrency
-
setTotalCurrency
-
equals
-
hashCode
public int hashCode() -
toString
-