FindBookingQueryParams

public final class FindBookingQueryParams implements IQueryParams

Class representation of the query parameters for finding a booking.

Constructors

Link copied to clipboard
public FindBookingQueryParams FindBookingQueryParams(@Json(name = "configuration_id") String configurationId, @Json(name = "slug") String slug, @Json(name = "client_id") String clientId)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
private final String clientId

The client ID that was used to create the Configuration object. client_id is required only if using slug.

Link copied to clipboard
private final String configurationId

The ID of the Configuration object whose settings are used for calculating availability. If you're using session authentication (requires_session_auth is set to true), configuration_id is not required

Link copied to clipboard
private final String slug

The slug of the Configuration object whose settings are used for calculating availability. If you're using session authentication (requires_session_auth is set to true), or using configuration_id, slug is not required

Functions

Link copied to clipboard

Convert the query parameters to a json-formatted map.

Link copied to clipboard
public final String getClientId()

The client ID that was used to create the Configuration object. client_id is required only if using slug.

Link copied to clipboard
public final String getConfigurationId()

The ID of the Configuration object whose settings are used for calculating availability. If you're using session authentication (requires_session_auth is set to true), configuration_id is not required

Link copied to clipboard
public final String getSlug()

The slug of the Configuration object whose settings are used for calculating availability. If you're using session authentication (requires_session_auth is set to true), or using configuration_id, slug is not required