/* Options: Date: 2024-06-26 10:00:12 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: RefundBookingPayment.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/bookings/{Id}/refund/{PaymentLogId}", "PUT") // @ValidateRequest(Validator="IsAuthenticated") public class RefundBookingPayment : ICompany, Codable { /** * 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 var companyId:String? /** * The booking id */ // @ApiMember(Description="The booking id", IsRequired=true, ParameterType="path") public var id:Int /** * The booking payment log id */ // @ApiMember(Description="The booking payment log id", IsRequired=true, ParameterType="path") public var paymentLogId:Int /** * The amount to refund on the checkout. */ // @ApiMember(Description="The amount to refund on the checkout.", IsRequired=true) public var amount:Double /** * Any comments to be saved in log. */ // @ApiMember(Description="Any comments to be saved in log.") public var comments:String required public init(){} } public protocol ICompany { var companyId:String? { get set } }