Package com.adyen.model.payment
Class AdditionalDataLodging
- java.lang.Object
-
- com.adyen.model.payment.AdditionalDataLodging
-
public class AdditionalDataLodging extends Object
AdditionalDataLodging
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdditionalDataLodging.CustomTypeAdapterFactory
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AdditionalDataLodging()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static AdditionalDataLodgingfromJson(String jsonString)Create an instance of AdditionalDataLodging given an JSON stringStringgetLodgingCheckInDate()The arrival date.StringgetLodgingCheckOutDate()The departure date.StringgetLodgingCustomerServiceTollFreeNumber()The toll-free phone number for the lodging.StringgetLodgingFireSafetyActIndicator()Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990.StringgetLodgingFolioCashAdvances()The folio cash advances.StringgetLodgingFolioNumber()The card acceptor’s internal invoice or billing ID reference number.StringgetLodgingFoodBeverageCharges()The additional charges for food and beverages associated with the booking.StringgetLodgingNoShowIndicator()Indicates if the customer didn't check in for their booking.StringgetLodgingPrepaidExpenses()The prepaid expenses for the booking.StringgetLodgingPropertyPhoneNumber()Identifies the location of the lodging by its local phone number.StringgetLodgingRoom1NumberOfNights()The total number of nights the room is booked for.StringgetLodgingRoom1Rate()The rate of the room.StringgetLodgingRoom1Tax()The total amount of tax to be paid.StringgetLodgingTotalRoomTax()The total room tax amount.StringgetLodgingTotalTax()The total tax amount.StringgetTravelEntertainmentAuthDataDuration()The number of nights.StringgetTravelEntertainmentAuthDataMarket()Indicates what market-specific dataset will be submitted or is being submitted.inthashCode()AdditionalDataLodginglodgingCheckInDate(String lodgingCheckInDate)AdditionalDataLodginglodgingCheckOutDate(String lodgingCheckOutDate)AdditionalDataLodginglodgingCustomerServiceTollFreeNumber(String lodgingCustomerServiceTollFreeNumber)AdditionalDataLodginglodgingFireSafetyActIndicator(String lodgingFireSafetyActIndicator)AdditionalDataLodginglodgingFolioCashAdvances(String lodgingFolioCashAdvances)AdditionalDataLodginglodgingFolioNumber(String lodgingFolioNumber)AdditionalDataLodginglodgingFoodBeverageCharges(String lodgingFoodBeverageCharges)AdditionalDataLodginglodgingNoShowIndicator(String lodgingNoShowIndicator)AdditionalDataLodginglodgingPrepaidExpenses(String lodgingPrepaidExpenses)AdditionalDataLodginglodgingPropertyPhoneNumber(String lodgingPropertyPhoneNumber)AdditionalDataLodginglodgingRoom1NumberOfNights(String lodgingRoom1NumberOfNights)AdditionalDataLodginglodgingRoom1Rate(String lodgingRoom1Rate)AdditionalDataLodginglodgingRoom1Tax(String lodgingRoom1Tax)AdditionalDataLodginglodgingTotalRoomTax(String lodgingTotalRoomTax)AdditionalDataLodginglodgingTotalTax(String lodgingTotalTax)voidsetLodgingCheckInDate(String lodgingCheckInDate)voidsetLodgingCheckOutDate(String lodgingCheckOutDate)voidsetLodgingCustomerServiceTollFreeNumber(String lodgingCustomerServiceTollFreeNumber)voidsetLodgingFireSafetyActIndicator(String lodgingFireSafetyActIndicator)voidsetLodgingFolioCashAdvances(String lodgingFolioCashAdvances)voidsetLodgingFolioNumber(String lodgingFolioNumber)voidsetLodgingFoodBeverageCharges(String lodgingFoodBeverageCharges)voidsetLodgingNoShowIndicator(String lodgingNoShowIndicator)voidsetLodgingPrepaidExpenses(String lodgingPrepaidExpenses)voidsetLodgingPropertyPhoneNumber(String lodgingPropertyPhoneNumber)voidsetLodgingRoom1NumberOfNights(String lodgingRoom1NumberOfNights)voidsetLodgingRoom1Rate(String lodgingRoom1Rate)voidsetLodgingRoom1Tax(String lodgingRoom1Tax)voidsetLodgingTotalRoomTax(String lodgingTotalRoomTax)voidsetLodgingTotalTax(String lodgingTotalTax)voidsetTravelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration)voidsetTravelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket)StringtoJson()Convert an instance of AdditionalDataLodging to an JSON stringStringtoString()AdditionalDataLodgingtravelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration)AdditionalDataLodgingtravelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_LODGING_CHECK_IN_DATE
public static final String SERIALIZED_NAME_LODGING_CHECK_IN_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_CHECK_OUT_DATE
public static final String SERIALIZED_NAME_LODGING_CHECK_OUT_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_CUSTOMER_SERVICE_TOLL_FREE_NUMBER
public static final String SERIALIZED_NAME_LODGING_CUSTOMER_SERVICE_TOLL_FREE_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_FIRE_SAFETY_ACT_INDICATOR
public static final String SERIALIZED_NAME_LODGING_FIRE_SAFETY_ACT_INDICATOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_FOLIO_CASH_ADVANCES
public static final String SERIALIZED_NAME_LODGING_FOLIO_CASH_ADVANCES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_FOLIO_NUMBER
public static final String SERIALIZED_NAME_LODGING_FOLIO_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_FOOD_BEVERAGE_CHARGES
public static final String SERIALIZED_NAME_LODGING_FOOD_BEVERAGE_CHARGES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_NO_SHOW_INDICATOR
public static final String SERIALIZED_NAME_LODGING_NO_SHOW_INDICATOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_PREPAID_EXPENSES
public static final String SERIALIZED_NAME_LODGING_PREPAID_EXPENSES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_PROPERTY_PHONE_NUMBER
public static final String SERIALIZED_NAME_LODGING_PROPERTY_PHONE_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_ROOM1_NUMBER_OF_NIGHTS
public static final String SERIALIZED_NAME_LODGING_ROOM1_NUMBER_OF_NIGHTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_ROOM1_RATE
public static final String SERIALIZED_NAME_LODGING_ROOM1_RATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_ROOM1_TAX
public static final String SERIALIZED_NAME_LODGING_ROOM1_TAX
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_TOTAL_ROOM_TAX
public static final String SERIALIZED_NAME_LODGING_TOTAL_ROOM_TAX
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LODGING_TOTAL_TAX
public static final String SERIALIZED_NAME_LODGING_TOTAL_TAX
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION
public static final String SERIALIZED_NAME_TRAVEL_ENTERTAINMENT_AUTH_DATA_DURATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET
public static final String SERIALIZED_NAME_TRAVEL_ENTERTAINMENT_AUTH_DATA_MARKET
- See Also:
- Constant Field Values
-
-
Method Detail
-
lodgingCheckInDate
public AdditionalDataLodging lodgingCheckInDate(String lodgingCheckInDate)
-
getLodgingCheckInDate
public String getLodgingCheckInDate()
The arrival date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**.- Returns:
- lodgingCheckInDate
-
setLodgingCheckInDate
public void setLodgingCheckInDate(String lodgingCheckInDate)
-
lodgingCheckOutDate
public AdditionalDataLodging lodgingCheckOutDate(String lodgingCheckOutDate)
-
getLodgingCheckOutDate
public String getLodgingCheckOutDate()
The departure date. * Date format: **yyyyMmDd**. For example, for 2023 April 22, **20230422**.- Returns:
- lodgingCheckOutDate
-
setLodgingCheckOutDate
public void setLodgingCheckOutDate(String lodgingCheckOutDate)
-
lodgingCustomerServiceTollFreeNumber
public AdditionalDataLodging lodgingCustomerServiceTollFreeNumber(String lodgingCustomerServiceTollFreeNumber)
-
getLodgingCustomerServiceTollFreeNumber
public String getLodgingCustomerServiceTollFreeNumber()
The toll-free phone number for the lodging. * Format: alphanumeric. * Max length: 17 characters. * For US numbers: must start with 3 digits and be at least 10 characters in length. Otherwise, the capture can fail.- Returns:
- lodgingCustomerServiceTollFreeNumber
-
setLodgingCustomerServiceTollFreeNumber
public void setLodgingCustomerServiceTollFreeNumber(String lodgingCustomerServiceTollFreeNumber)
-
lodgingFireSafetyActIndicator
public AdditionalDataLodging lodgingFireSafetyActIndicator(String lodgingFireSafetyActIndicator)
-
getLodgingFireSafetyActIndicator
public String getLodgingFireSafetyActIndicator()
Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Values can be: 'Y' or 'N'. * Format: alphabetic. * Max length: 1 character.- Returns:
- lodgingFireSafetyActIndicator
-
setLodgingFireSafetyActIndicator
public void setLodgingFireSafetyActIndicator(String lodgingFireSafetyActIndicator)
-
lodgingFolioCashAdvances
public AdditionalDataLodging lodgingFolioCashAdvances(String lodgingFolioCashAdvances)
-
getLodgingFolioCashAdvances
public String getLodgingFolioCashAdvances()
The folio cash advances. * Format: numeric. * Max length: 12 characters.- Returns:
- lodgingFolioCashAdvances
-
setLodgingFolioCashAdvances
public void setLodgingFolioCashAdvances(String lodgingFolioCashAdvances)
-
lodgingFolioNumber
public AdditionalDataLodging lodgingFolioNumber(String lodgingFolioNumber)
-
getLodgingFolioNumber
public String getLodgingFolioNumber()
The card acceptor’s internal invoice or billing ID reference number. * Format: alphanumeric. * Max length: 25 characters.- Returns:
- lodgingFolioNumber
-
setLodgingFolioNumber
public void setLodgingFolioNumber(String lodgingFolioNumber)
-
lodgingFoodBeverageCharges
public AdditionalDataLodging lodgingFoodBeverageCharges(String lodgingFoodBeverageCharges)
-
getLodgingFoodBeverageCharges
public String getLodgingFoodBeverageCharges()
The additional charges for food and beverages associated with the booking. * Format: numeric. * Max length: 12 characters.- Returns:
- lodgingFoodBeverageCharges
-
setLodgingFoodBeverageCharges
public void setLodgingFoodBeverageCharges(String lodgingFoodBeverageCharges)
-
lodgingNoShowIndicator
public AdditionalDataLodging lodgingNoShowIndicator(String lodgingNoShowIndicator)
-
getLodgingNoShowIndicator
public String getLodgingNoShowIndicator()
Indicates if the customer didn't check in for their booking. Possible values: * **Y**: the customer didn't check in. **N**: the customer checked in.- Returns:
- lodgingNoShowIndicator
-
setLodgingNoShowIndicator
public void setLodgingNoShowIndicator(String lodgingNoShowIndicator)
-
lodgingPrepaidExpenses
public AdditionalDataLodging lodgingPrepaidExpenses(String lodgingPrepaidExpenses)
-
getLodgingPrepaidExpenses
public String getLodgingPrepaidExpenses()
The prepaid expenses for the booking. * Format: numeric. * Max length: 12 characters.- Returns:
- lodgingPrepaidExpenses
-
setLodgingPrepaidExpenses
public void setLodgingPrepaidExpenses(String lodgingPrepaidExpenses)
-
lodgingPropertyPhoneNumber
public AdditionalDataLodging lodgingPropertyPhoneNumber(String lodgingPropertyPhoneNumber)
-
getLodgingPropertyPhoneNumber
public String getLodgingPropertyPhoneNumber()
Identifies the location of the lodging by its local phone number. * Format: alphanumeric. * Max length: 17 characters. * For US numbers: must start with 3 digits and be at least 10 characters in length. Otherwise, the capture can fail.- Returns:
- lodgingPropertyPhoneNumber
-
setLodgingPropertyPhoneNumber
public void setLodgingPropertyPhoneNumber(String lodgingPropertyPhoneNumber)
-
lodgingRoom1NumberOfNights
public AdditionalDataLodging lodgingRoom1NumberOfNights(String lodgingRoom1NumberOfNights)
-
getLodgingRoom1NumberOfNights
public String getLodgingRoom1NumberOfNights()
The total number of nights the room is booked for. * Format: numeric. * Max length: 4 characters.- Returns:
- lodgingRoom1NumberOfNights
-
setLodgingRoom1NumberOfNights
public void setLodgingRoom1NumberOfNights(String lodgingRoom1NumberOfNights)
-
lodgingRoom1Rate
public AdditionalDataLodging lodgingRoom1Rate(String lodgingRoom1Rate)
-
getLodgingRoom1Rate
public String getLodgingRoom1Rate()
The rate of the room. * Format: numeric. * Max length: 12 characters. * Must be in [minor units](https://docs.adyen.com/development-resources/currency-codes).- Returns:
- lodgingRoom1Rate
-
setLodgingRoom1Rate
public void setLodgingRoom1Rate(String lodgingRoom1Rate)
-
lodgingRoom1Tax
public AdditionalDataLodging lodgingRoom1Tax(String lodgingRoom1Tax)
-
getLodgingRoom1Tax
public String getLodgingRoom1Tax()
The total amount of tax to be paid. * Format: numeric. * Max length: 12 chracters. * Must be in [minor units](https://docs.adyen.com/development-resources/currency-codes).- Returns:
- lodgingRoom1Tax
-
setLodgingRoom1Tax
public void setLodgingRoom1Tax(String lodgingRoom1Tax)
-
lodgingTotalRoomTax
public AdditionalDataLodging lodgingTotalRoomTax(String lodgingTotalRoomTax)
-
getLodgingTotalRoomTax
public String getLodgingTotalRoomTax()
The total room tax amount. * Format: numeric. * Max length: 12 characters. * Must be in [minor units](https://docs.adyen.com/development-resources/currency-codes).- Returns:
- lodgingTotalRoomTax
-
setLodgingTotalRoomTax
public void setLodgingTotalRoomTax(String lodgingTotalRoomTax)
-
lodgingTotalTax
public AdditionalDataLodging lodgingTotalTax(String lodgingTotalTax)
-
getLodgingTotalTax
public String getLodgingTotalTax()
The total tax amount. * Format: numeric. * Max length: 12 characters. * Must be in [minor units](https://docs.adyen.com/development-resources/currency-codes).- Returns:
- lodgingTotalTax
-
setLodgingTotalTax
public void setLodgingTotalTax(String lodgingTotalTax)
-
travelEntertainmentAuthDataDuration
public AdditionalDataLodging travelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration)
-
getTravelEntertainmentAuthDataDuration
public String getTravelEntertainmentAuthDataDuration()
The number of nights. This should be included in the auth message. * Format: numeric. * Max length: 2 characters.- Returns:
- travelEntertainmentAuthDataDuration
-
setTravelEntertainmentAuthDataDuration
public void setTravelEntertainmentAuthDataDuration(String travelEntertainmentAuthDataDuration)
-
travelEntertainmentAuthDataMarket
public AdditionalDataLodging travelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket)
-
getTravelEntertainmentAuthDataMarket
public String getTravelEntertainmentAuthDataMarket()
Indicates what market-specific dataset will be submitted or is being submitted. Value should be \"H\" for Hotel. This should be included in the auth message. * Format: alphanumeric. * Max length: 1 character.- Returns:
- travelEntertainmentAuthDataMarket
-
setTravelEntertainmentAuthDataMarket
public void setTravelEntertainmentAuthDataMarket(String travelEntertainmentAuthDataMarket)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to AdditionalDataLodging
-
fromJson
public static AdditionalDataLodging fromJson(String jsonString) throws IOException
Create an instance of AdditionalDataLodging given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdditionalDataLodging
- Throws:
IOException- if the JSON string is invalid with respect to AdditionalDataLodging
-
toJson
public String toJson()
Convert an instance of AdditionalDataLodging to an JSON string- Returns:
- JSON string
-
-