UNPKG

@revolugo/booking-api-client

Version:

Javascript Revolugo Booking API Client (browser + server)

78 lines (77 loc) 2.11 kB
/** * Revolugo Booking API Reference * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface TaxApi */ export interface TaxApi { /** * Tax amount expressed in the requested currency. * @type {number} * @memberof TaxApi */ amount?: number | null; /** * Tax code. * @type {string} * @memberof TaxApi */ code?: string; /** * Tax description. * @type {string} * @memberof TaxApi */ description?: string | null; /** * Tax percentage on the total amount. * @type {number} * @memberof TaxApi */ percentage?: number | null; /** * Tax frequency. Specifies if the tax applies per stay or per night * @type {string} * @memberof TaxApi */ taxFrequency: TaxApiTaxFrequencyEnum; /** * Tax mode. Specifies if the tax applies per occupant, per booking or per room * @type {string} * @memberof TaxApi */ taxMode: TaxApiTaxModeEnum; } /** * @export */ export declare const TaxApiTaxFrequencyEnum: { readonly Night: "PER_NIGHT"; readonly Stay: "PER_STAY"; }; export type TaxApiTaxFrequencyEnum = typeof TaxApiTaxFrequencyEnum[keyof typeof TaxApiTaxFrequencyEnum]; /** * @export */ export declare const TaxApiTaxModeEnum: { readonly Adult: "PER_ADULT"; readonly Booking: "PER_BOOKING"; }; export type TaxApiTaxModeEnum = typeof TaxApiTaxModeEnum[keyof typeof TaxApiTaxModeEnum]; /** * Check if a given object implements the TaxApi interface. */ export declare function instanceOfTaxApi(value: object): boolean; export declare function TaxApiFromJSON(json: any): TaxApi; export declare function TaxApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaxApi; export declare function TaxApiToJSON(value?: TaxApi | null): any;