/* Options:
Date: 2024-12-22 21:27:02
Version: 8.51
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://blazor-gallery.servicestack.net
//GlobalNamespace:
//MakePropertiesOptional: False
//AddServiceStackTypes: True
//AddResponseStatus: False
//AddImplicitVersion:
//AddDescriptionAsComments: True
IncludeTypes: DeleteCoupon.*
//ExcludeTypes:
//DefaultImports:
*/
export interface IReturnVoid
{
createResponse(): void;
}
export interface IDeleteDb
{
}
/** @description Discount Coupons */
export class Coupon
{
public id: string;
public description: string;
public discount: number;
public expiryDate: string;
public constructor(init?: Partial) { (Object as any).assign(this, init); }
}
/** @description Delete a Coupon */
// @Route("/coupons/{Id}", "DELETE")
// @ValidateRequest(Validator="HasRole(`Manager`)")
export class DeleteCoupon implements IReturnVoid, IDeleteDb
{
public id: string;
public constructor(init?: Partial) { (Object as any).assign(this, init); }
public getTypeName() { return 'DeleteCoupon'; }
public getMethod() { return 'DELETE'; }
public createResponse() {}
}