/** * My API * API documentation for my Laravel app * * The version of the OpenAPI document: 1.0.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 DiscountResource */ export interface DiscountResource { /** * * @type {number} * @memberof DiscountResource */ id: number; /** * * @type {string} * @memberof DiscountResource */ discountType: string; /** * * @type {string} * @memberof DiscountResource */ discountValueType: string; /** * * @type {number} * @memberof DiscountResource */ discountValue: number; /** * * @type {number} * @memberof DiscountResource */ itemId?: number | null; /** * * @type {string} * @memberof DiscountResource */ name: string; /** * * @type {string} * @memberof DiscountResource */ couponCode: string; } /** * Check if a given object implements the DiscountResource interface. */ export declare function instanceOfDiscountResource(value: object): value is DiscountResource; export declare function DiscountResourceFromJSON(json: any): DiscountResource; export declare function DiscountResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DiscountResource; export declare function DiscountResourceToJSON(json: any): DiscountResource; export declare function DiscountResourceToJSONTyped(value?: DiscountResource | null, ignoreDiscriminator?: boolean): any;