CreateBookingQueryParams

public final class CreateBookingQueryParams implements IQueryParams

Class representation of the query parameters for creating a booking.

Constructors

Link copied to clipboard
public CreateBookingQueryParams CreateBookingQueryParams(@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.

Link copied to clipboard
private final String configurationId

The ID of the Configuration object whose settings are used for calculating availability.

Link copied to clipboard
private final String slug

The slug of the Configuration object whose settings are used for calculating availability.

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.

Link copied to clipboard
public final String getConfigurationId()

The ID of the Configuration object whose settings are used for calculating availability.

Link copied to clipboard
public final String getSlug()

The slug of the Configuration object whose settings are used for calculating availability.