You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: code/src/main/kotlin/com/expediagroup/sdk/rapid/client/RapidClient.kt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1705,7 +1705,7 @@ class RapidClient private constructor(clientConfiguration: RapidClientConfigurat
1705
1705
* @param bookableStart Search for all campaigns with a `bookable_start` date equal to or after the specified date. (optional)
1706
1706
* @param lifetime Search for campaigns that match the lifetime type. (optional)
1707
1707
* @param campaignId Search for campaigns with matching `id` values. You can provide 0 to 250 `id` parameters with different values, which will include campaigns that match any of the requested values. (optional)
1708
-
* @param include Each time this parameter is specified will add to the list of fields and associated objects returned in the response. All values and field names are lower case. All field names found at the top level of the response are valid values for inclusion. (optional)
1708
+
* @param include Each time this parameter is specified will add to the list of fields and associated objects returned in the response. All values and field names are lower case. All field names found at the top level of the response are valid values for inclusion. (optional)
1709
1709
* @param minDiscount Search for campaigns that have a `min_discount` equal to or larger than the value. (optional)
1710
1710
* @param stayEnd Search for all campaigns with a `stay_end` date equal to or before the specified date. (optional)
1711
1711
* @param stayStart Search for all campaigns with a `stay_start` date equal to or after the specified date. (optional)
@@ -1788,7 +1788,7 @@ class RapidClient private constructor(clientConfiguration: RapidClientConfigurat
1788
1788
* @param bookableStart Search for all campaigns with a `bookable_start` date equal to or after the specified date. (optional)
1789
1789
* @param lifetime Search for campaigns that match the lifetime type. (optional)
1790
1790
* @param campaignId Search for campaigns with matching `id` values. You can provide 0 to 250 `id` parameters with different values, which will include campaigns that match any of the requested values. (optional)
1791
-
* @param include Each time this parameter is specified will add to the list of fields and associated objects returned in the response. All values and field names are lower case. All field names found at the top level of the response are valid values for inclusion. (optional)
1791
+
* @param include Each time this parameter is specified will add to the list of fields and associated objects returned in the response. All values and field names are lower case. All field names found at the top level of the response are valid values for inclusion. (optional)
1792
1792
* @param minDiscount Search for campaigns that have a `min_discount` equal to or larger than the value. (optional)
1793
1793
* @param stayEnd Search for all campaigns with a `stay_end` date equal to or before the specified date. (optional)
1794
1794
* @param stayStart Search for all campaigns with a `stay_start` date equal to or after the specified date. (optional)
@@ -3267,7 +3267,7 @@ class RapidClient private constructor(clientConfiguration: RapidClientConfigurat
3267
3267
* @param chainId Search for promotions associated with the specified `chain_id` values. This parameter can be supplied multiple times with different values, which will include promotions that match any of the requested scenarios. (optional)
3268
3268
* @param lifetime Search for promotions that match the lifetime type. (optional)
3269
3269
* @param promotionId Search for promotions with matching `id` values. You can provide 0 to 250 `id` parameters with different values, which will include promotions that match any of the requested values. (optional)
3270
-
* @param include Each time this parameter is specified will add to the list of fields and associated objects returned in the response. All values and field names are lower case. All field names found at the top level of the response are valid values for inclusion. (optional)
3270
+
* @param include Each time this parameter is specified will add to the list of fields and associated objects returned in the response. All values and field names are lower case. All field names found at the top level of the response are valid values for inclusion. (optional)
3271
3271
* @param marketRegion Search for promotions associated with the specified `market_region` values. This parameter can be supplied multiple times with different values, which will include promotions that match any of the requested scenarios. (optional)
3272
3272
* @param membersOnly Specify restrictions to `members_only` values. If this parameter is not supplied, promotions with true or false will be returned in the results. * `true` - Only results with `members_only` equal to true will be returned. * `false` - Only results with `members_only` equal to false will be returned. (optional)
3273
3273
* @param minAdvancePurchaseDays Search for promotions that have a `min_advance_purchase_days` equal to the passed in value. (optional)
@@ -3425,7 +3425,7 @@ class RapidClient private constructor(clientConfiguration: RapidClientConfigurat
3425
3425
* @param chainId Search for promotions associated with the specified `chain_id` values. This parameter can be supplied multiple times with different values, which will include promotions that match any of the requested scenarios. (optional)
3426
3426
* @param lifetime Search for promotions that match the lifetime type. (optional)
3427
3427
* @param promotionId Search for promotions with matching `id` values. You can provide 0 to 250 `id` parameters with different values, which will include promotions that match any of the requested values. (optional)
3428
-
* @param include Each time this parameter is specified will add to the list of fields and associated objects returned in the response. All values and field names are lower case. All field names found at the top level of the response are valid values for inclusion. (optional)
3428
+
* @param include Each time this parameter is specified will add to the list of fields and associated objects returned in the response. All values and field names are lower case. All field names found at the top level of the response are valid values for inclusion. (optional)
3429
3429
* @param marketRegion Search for promotions associated with the specified `market_region` values. This parameter can be supplied multiple times with different values, which will include promotions that match any of the requested scenarios. (optional)
3430
3430
* @param membersOnly Specify restrictions to `members_only` values. If this parameter is not supplied, promotions with true or false will be returned in the results. * `true` - Only results with `members_only` equal to true will be returned. * `false` - Only results with `members_only` equal to false will be returned. (optional)
3431
3431
* @param minAdvancePurchaseDays Search for promotions that have a `min_advance_purchase_days` equal to the passed in value. (optional)
* @param promotionId Unique identifier for the promotion
45
-
* @param blockoutDates An array of stay date ranges within this check-in / check-out range that are not eligible for this promotion. The stay dates are determined by the would be check-in of that night. With a check-in date of 2023-09-01, and a check-out date of 2023-09-06, this would be a 5 night stay. A `blockout_dates` with start: 2023-09-02 and end: 2023-09-03 would mean 2 of the nights are not eligible. The 1st night is eligible, the 2nd and 3rd nights are not eligible, and the 4th and 5th nights are eligible.
45
+
* @param blockoutDates An array of stay date ranges within this check-in / check-out range that are not eligible for this promotion. The stay dates are determined by the would be check-in of that night. With a check-in date of 2023-09-01, and a check-out date of 2023-09-06, this would be a 5 night stay. A `blockout_dates` with start: '2023-09-02' and end: 2023-09-03 would mean 2 of the nights are not eligible. The 1st night is eligible, the 2nd and 3rd nights are not eligible, and the 4th and 5th nights are eligible.
46
46
* @param bookableEnd The last date that bookings can be made on in this promotion, in ISO 8601 format (YYYY-MM-DD).
47
47
* @param bookableStart The first date that bookings can be made on in this promotion, in ISO 8601 format (YYYY-MM-DD).
48
48
* @param campaignId The campaign id this promotion is associated with.
49
49
* @param categoryId The category id of the property.
50
50
* @param chainId The chain id for the property.
51
51
* @param description The description of the promotion.
52
-
* @param discountPercentage The percent off of the cost of the property when using this promotion. This will only be returned for percentage based promotions
52
+
* @param discountPercentage The percent off of the cost of the property when using this promotion. This will only be returned for percentage based promotions
53
53
* @param guestRating The overall rating for the property, averaged from all guest reviews. Returns a value between 1.0 and 5.0.
54
54
* @param lifetime The type of lifetime of this promotion.
* @param starRating The rating assigned to this property. Returns a value between 0.0 and 5.0. A value of 0.0 or a blank value indicates no rating is available.
65
+
* @param starRating The rating assigned to this property. Returns a value between 0.0 and 5.0. A value of 0.0 or a blank value indicates no rating is available.
66
66
* @param stayEnd The last date that check-ins can be set to in this promotion in ISO 8601 format (YYYY-MM-DD).
67
67
* @param stayStart The first date that check-ins can be set to in this promotion in ISO 8601 format (YYYY-MM-DD).
68
68
* @param supplySource The supply source of the property.
@@ -72,7 +72,7 @@ data class Promotion(
72
72
@JsonProperty("promotion_id")
73
73
@field:Valid
74
74
valpromotionId: kotlin.String? = null,
75
-
// An array of stay date ranges within this check-in / check-out range that are not eligible for this promotion. The stay dates are determined by the would be check-in of that night. With a check-in date of 2023-09-01, and a check-out date of 2023-09-06, this would be a 5 night stay. A `blockout_dates` with start: 2023-09-02 and end: 2023-09-03 would mean 2 of the nights are not eligible. The 1st night is eligible, the 2nd and 3rd nights are not eligible, and the 4th and 5th nights are eligible.
75
+
// An array of stay date ranges within this check-in / check-out range that are not eligible for this promotion. The stay dates are determined by the would be check-in of that night. With a check-in date of 2023-09-01, and a check-out date of 2023-09-06, this would be a 5 night stay. A `blockout_dates` with start: '2023-09-02' and end: 2023-09-03 would mean 2 of the nights are not eligible. The 1st night is eligible, the 2nd and 3rd nights are not eligible, and the 4th and 5th nights are eligible.
* @param status Rates returned are always available.
56
55
* @param availableRooms The number of bookable rooms remaining with this rate in EPS inventory. Use this value to create rules for urgency messaging to alert users to low availability on busy travel dates or at popular properties. If the value returns as 2147483647 (max int value), the actual value could not be determined. Ensure your urgency messaging ignores such instances when returned.
57
56
* @param refundable Indicates if the rate is fully refundable at the time of booking. Cancel penalties may still apply. Please refer to the cancel penalties section for reference.
58
57
* @param currentRefundability Indicates the current refundability of the rate. This is a more detailed version of the `refundable` field.
@@ -76,9 +75,9 @@ data class Rate(
76
75
@JsonProperty("id")
77
76
@field:Valid
78
77
valid: kotlin.String? = null,
78
+
// Rates returned are always available.
79
79
@JsonProperty("status")
80
-
@field:Valid
81
-
valstatus:Status? = null,
80
+
valstatus:Rate.Status? = null,
82
81
// The number of bookable rooms remaining with this rate in EPS inventory. Use this value to create rules for urgency messaging to alert users to low availability on busy travel dates or at popular properties. If the value returns as 2147483647 (max int value), the actual value could not be determined. Ensure your urgency messaging ignores such instances when returned.
* Indicates the status of the rate. If the rate is still available then available will be returned. If the rateis no longer available at that price then price_changed will be returned. If the rate is no longer available at all then sold_out will be returned.
37
-
* Values: AVAILABLE,PRICE_CHANGED,SOLD_OUT
36
+
* Indicates the status of the rate. * `available` - The rate is still available at or below the price returned in the shop response. * `available_no_change` - **Only in Hard Change flows** - The rate is available but matches the booked rate. * `price_changed` - The rate is no longer available at the previous price. Use the `additional_rates` link to present updated rooms and rates for this property to travelers. * `sold_out` - The rate is no longer available at any price. Use the `additional_rates` link to present updated rooms and rates for this property to travelers.
0 commit comments