PriceCheckOperationParams

public final class PriceCheckOperationParams

Constructors

Link copied to clipboard
public PriceCheckOperationParams PriceCheckOperationParams(String propertyId, String roomId, String rateId, String customerIp, String customerSessionId, String test, String token)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
private final String customerIp

IP address of the customer, as captured by your integration.
Ensure your integration passes the customer's IP, not your own. This value helps determine their location and assign the correct payment gateway.
Also used for fraud recovery and other important analytics.

Link copied to clipboard
private final String customerSessionId

Insert your own unique value for each user session, beginning with the first API call. Continue to pass the same value for each subsequent API call during the user's session, using a new value for every new customer session.
Including this value greatly eases EPS's internal debugging process for issues with partner requests, as it explicitly links together request paths for individual user's session.

Link copied to clipboard
private final String propertyId

Expedia Property ID.

Link copied to clipboard
private final String rateId

Rate ID of a room.

Link copied to clipboard
private final String roomId

Room ID of a property.

Link copied to clipboard
private final String test

Price check calls have a test header that can be used to return set responses with the following keywords: * available * price_changed * sold_out * service_unavailable * unknown_internal_error

Link copied to clipboard
private final String token

A hashed collection of query parameters. Used to maintain state across calls. This token is provided as part of the price check link from the shop response.

Functions

Link copied to clipboard
Link copied to clipboard
public final String getCustomerIp()

IP address of the customer, as captured by your integration.
Ensure your integration passes the customer's IP, not your own. This value helps determine their location and assign the correct payment gateway.
Also used for fraud recovery and other important analytics.

Link copied to clipboard

Insert your own unique value for each user session, beginning with the first API call. Continue to pass the same value for each subsequent API call during the user's session, using a new value for every new customer session.
Including this value greatly eases EPS's internal debugging process for issues with partner requests, as it explicitly links together request paths for individual user's session.

Link copied to clipboard
Link copied to clipboard
public final String getPropertyId()

Expedia Property ID.

Link copied to clipboard
Link copied to clipboard
public final String getRateId()

Rate ID of a room.

Link copied to clipboard
public final String getRoomId()

Room ID of a property.

Link copied to clipboard
public final String getTest()

Price check calls have a test header that can be used to return set responses with the following keywords: * available * price_changed * sold_out * service_unavailable * unknown_internal_error

Link copied to clipboard
public final String getToken()

A hashed collection of query parameters. Used to maintain state across calls. This token is provided as part of the price check link from the shop response.