/* Options: Date: 2026-08-02 18:51:51 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ConfirmBookingReservationPayment.* //ExcludeTypes: //DefaultImports: */ // @ts-nocheck export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } // @DataContract export class ResponseError { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public FieldName: string; // @DataMember(Order=3) public Message: string; // @DataMember(Order=4) public Meta?: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public Message?: string; // @DataMember(Order=3) public StackTrace?: string; // @DataMember(Order=4) public Errors?: ResponseError[]; // @DataMember(Order=5) public Meta?: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ConfirmBookingReservationPaymentResponse { /** @description The created booking id once the reservation was converted. */ // @ApiMember(Description="The created booking id once the reservation was converted.") public BookingId?: number; /** @description The BookingReservationStatus value after confirmation. */ // @ApiMember(Description="The BookingReservationStatus value after confirmation.") public StatusCode: number; /** @description The BookingReservationStatus name after confirmation. */ // @ApiMember(Description="The BookingReservationStatus name after confirmation.") public StatusName: string; /** @description The verified final price of the reservation, if any. */ // @ApiMember(Description="The verified final price of the reservation, if any.") public Price?: number; public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/bookingreservations/{SessionKey}/confirmpayment", "POST") // @ApiResponse(Description="No reservation found for the given session key", StatusCode=404) // @ApiResponse(Description="The payment could not be verified or the captured amount did not match", StatusCode=400) // @ApiResponse(Description="The selected slot is no longer available; the payment was refunded", StatusCode=409) export class ConfirmBookingReservationPayment implements IReturn, ICompany { /** @description The opaque session key that identifies the reservation. */ // @ApiMember(Description="The opaque session key that identifies the reservation.", IsRequired=true, ParameterType="path") public SessionKey: string; /** @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 id of the Stripe PaymentIntent the client has already confirmed for this reservation. */ // @ApiMember(Description="The id of the Stripe PaymentIntent the client has already confirmed for this reservation.", IsRequired=true) public PaymentIntentId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'ConfirmBookingReservationPayment'; } public getMethod() { return 'POST'; } public createResponse() { return new ConfirmBookingReservationPaymentResponse(); } }