(* Options: Date: 2024-11-21 11:51:14 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: CompanyCreditCardInformation.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Db open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data open System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type BaseModel() = class end [] type CreditCard() = inherit BaseModel() [] member val IsValid:Boolean = new Boolean() with get,set [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set [] member val Name:String = null with get,set [] member val Active:Boolean = new Boolean() with get,set [] member val Type:String = null with get,set [] member val ExpYear:String = null with get,set [] member val ExpMonth:String = null with get,set [] member val TicketId:String = null with get,set member val Updated:Nullable = new Nullable() with get,set member val Created:Nullable = new Nullable() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type CompanyCreditCardQueryResponse() = /// ///The credit card id /// [] member val Id:Int32 = new Int32() with get,set /// ///The credit card name /// [] member val Name:String = null with get,set /// ///If the credit card is active /// [] member val Active:Boolean = new Boolean() with get,set /// ///If the credit card is valid (active and not expired) /// [] member val IsValid:Boolean = new Boolean() with get,set /// ///The credit card type /// [] member val Type:String = null with get,set /// ///The credit card expiration Year /// [] member val ExpYear:String = null with get,set /// ///The credit card expiration month /// [] member val ExpMonth:String = null with get,set /// ///The credit card ticket name. This is secret information and won't be displayed /// [] member val TicketId:String = null with get,set /// ///The date when the credit card was saved. /// [] member val Created:Nullable = new Nullable() with get,set /// ///The date when the credit card was updated. /// [] member val Updated:Nullable = new Nullable() with get,set [] [] [] [] type CompanyCreditCardInformation() = inherit QueryDb() interface IReturn> /// ///The company id, if empty will use the company id for the user you are logged in with. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///If you want to include only active credit cards /// [] member val Active:Boolean = new Boolean() with get,set /// ///If you want to include only valid credit cards (not expired and valid) /// [] member val IsValid:Boolean = new Boolean() with get,set