/* Options: Date: 2024-11-21 11:38:34 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PaysonCheckout1UpdateStatus.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } // @Route("/payment/payson/v1/updatestatus", "PUT") class PaysonCheckout1UpdateStatus implements ICompany, IConvertible, IPut { /** * 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.") String? CompanyId; /** * The booking id. */ // @ApiMember(Description="The booking id.") int? BookingId; /** * The payment token. */ // @ApiMember(Description="The payment token.") String? Token; PaysonCheckout1UpdateStatus({this.CompanyId,this.BookingId,this.Token}); PaysonCheckout1UpdateStatus.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; BookingId = json['BookingId']; Token = json['Token']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'BookingId': BookingId, 'Token': Token }; getTypeName() => "PaysonCheckout1UpdateStatus"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'PaysonCheckout1UpdateStatus': TypeInfo(TypeOf.Class, create:() => PaysonCheckout1UpdateStatus()), });