/**
 * Apideck
 * The Apideck OpenAPI Spec: SDK Optimized
 *
 * The version of the OpenAPI document: 10.13.0
 * Contact: support@apideck.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { Currency } from './Currency';
/**
 *
 * @export
 * @interface ServiceCharge
 */
export interface ServiceCharge {
    /**
     * A unique identifier for an object.
     * @type {string}
     * @memberof ServiceCharge
     */
    readonly id?: string;
    /**
     * Service charge name
     * @type {string}
     * @memberof ServiceCharge
     */
    name?: string;
    /**
     *
     * @type {number}
     * @memberof ServiceCharge
     */
    amount?: number;
    /**
     * Service charge percentage. Use this field to calculate the amount of the service charge. Pass a percentage and amount at the same time.
     * @type {number}
     * @memberof ServiceCharge
     */
    percentage?: number;
    /**
     *
     * @type {Currency}
     * @memberof ServiceCharge
     */
    currency?: Currency | null;
    /**
     *
     * @type {boolean}
     * @memberof ServiceCharge
     */
    active?: boolean | null;
    /**
     * The type of the service charge.
     * @type {string}
     * @memberof ServiceCharge
     */
    type?: ServiceChargeType;
}
/**
 * @export
 * @enum {string}
 */
export declare enum ServiceChargeType {
    auto_gratuity = "auto_gratuity",
    custom = "custom"
}
export declare function ServiceChargeFromJSON(json: any): ServiceCharge;
export declare function ServiceChargeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceCharge;
export declare function ServiceChargeToJSON(value?: ServiceCharge | null): any;
