Package com.duffel.sdk.model
Class UpdateOfferPassengerByIdRequestData
java.lang.Object
com.duffel.sdk.model.UpdateOfferPassengerByIdRequestData
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-28T15:13:42.592945+07:00[Asia/Bangkok]")
public class UpdateOfferPassengerByIdRequestData
extends Object
UpdateOfferPassengerByIdRequestData
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLoyaltyProgrammeAccountsItem(LoyaltyProgrammeAccount loyaltyProgrammeAccountsItem) booleanfamilyName(String familyName) The passenger's family name.The passenger's given name.@Valid List<LoyaltyProgrammeAccount>The __Loyalty Programme Accounts__ for this passengerinthashCode()loyaltyProgrammeAccounts(List<LoyaltyProgrammeAccount> loyaltyProgrammeAccounts) voidsetFamilyName(String familyName) voidsetGivenName(String givenName) voidsetLoyaltyProgrammeAccounts(List<LoyaltyProgrammeAccount> loyaltyProgrammeAccounts) toString()
-
Field Details
-
JSON_PROPERTY_FAMILY_NAME
- See Also:
-
JSON_PROPERTY_GIVEN_NAME
- See Also:
-
JSON_PROPERTY_LOYALTY_PROGRAMME_ACCOUNTS
- See Also:
-
-
Constructor Details
-
UpdateOfferPassengerByIdRequestData
public UpdateOfferPassengerByIdRequestData()
-
-
Method Details
-
familyName
-
getFamilyName
The passenger's family name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `IJ`, `ij`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters. This is only required if you're also including __Loyalty Programme Accounts__.- Returns:
- familyName
-
setFamilyName
-
givenName
-
getGivenName
The passenger's given name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `IJ`, `ij`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters. This is only required if you're also including __Loyalty Programme Accounts__.- Returns:
- givenName
-
setGivenName
-
loyaltyProgrammeAccounts
public UpdateOfferPassengerByIdRequestData loyaltyProgrammeAccounts(List<LoyaltyProgrammeAccount> loyaltyProgrammeAccounts) -
addLoyaltyProgrammeAccountsItem
public UpdateOfferPassengerByIdRequestData addLoyaltyProgrammeAccountsItem(LoyaltyProgrammeAccount loyaltyProgrammeAccountsItem) -
getLoyaltyProgrammeAccounts
The __Loyalty Programme Accounts__ for this passenger- Returns:
- loyaltyProgrammeAccounts
-
setLoyaltyProgrammeAccounts
-
equals
-
hashCode
public int hashCode() -
toString
-