/* Options: Date: 2024-11-23 09:01:10 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RefundBookingPayment.* //ExcludeTypes: //DefaultImports: */ export interface ICompany { CompanyId?: string; } // @Route("/bookings/{Id}/refund/{PaymentLogId}", "PUT") // @ValidateRequest(Validator="IsAuthenticated") export class RefundBookingPayment implements ICompany { /** @description The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public CompanyId?: string; /** @description The booking id */ // @ApiMember(Description="The booking id", IsRequired=true, ParameterType="path") public Id: number; /** @description The booking payment log id */ // @ApiMember(Description="The booking payment log id", IsRequired=true, ParameterType="path") public PaymentLogId: number; /** @description The amount to refund on the checkout. */ // @ApiMember(Description="The amount to refund on the checkout.", IsRequired=true) public Amount: number; /** @description Any comments to be saved in log. */ // @ApiMember(Description="Any comments to be saved in log.") public Comments: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'RefundBookingPayment'; } public getMethod() { return 'PUT'; } public createResponse() {} }