(* Options: Date: 2024-11-21 13:28:51 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: CreateRebateCodeTransaction.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos 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 RebateCodeServiceResponse() = member val Id:Int32 = new Int32() with get,set member val Name:String = null with get,set member val Description:String = null with get,set member val Active:Boolean = new Boolean() with get,set [] type RebateCodeCustomerResponse() = member val Id:Guid = new Guid() with get,set member val Firstname:String = null with get,set member val Lastname:String = null with get,set member val Email:String = null with get,set member val Phone:String = null with get,set member val ImageUrl:String = null with get,set [] type RebateCodeTransactionQueryResponse() = member val Id:Int32 = new Int32() with get,set member val CompanyId:Guid = new Guid() with get,set member val Note:String = null with get,set member val RebateCodeId:Int32 = new Int32() with get,set member val RebateCodeSign:String = null with get,set member val RebateCodeTypeId:Nullable = new Nullable() with get,set member val RebateCodeTypeName:String = null with get,set member val Amount:Double = new Double() with get,set member val BookingId:Nullable = new Nullable() with get,set member val UpdatedDate:DateTime = new DateTime() with get,set member val CreatedDate:DateTime = new DateTime() with get,set member val Service:RebateCodeServiceResponse = null with get,set member val Customer:RebateCodeCustomerResponse = null with get,set member val PriceSign:String = null with get,set type AmountChangeType = | Increase = 0 | Decrease = 1 [] type RebateCodeTransactionResponse() = member val ResponseStatus:ResponseStatus = null with get,set member val RebateCodeTransactionItem:RebateCodeTransactionQueryResponse = null with get,set [] [] [] [] type CreateRebateCodeTransaction() = interface IReturn /// /// /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///Rebate code id to which you wish to add transaction /// [] member val RebateCodeId:Int32 = new Int32() with get,set [] member val Amount:Double = new Double() with get,set [] member val Usage:Int32 = new Int32() with get,set [] member val BookingId:Nullable = new Nullable() with get,set /// ///If you want to Increase = 0 or Decrease = 1 the value /// [] member val ChangeType:AmountChangeType = new AmountChangeType() with get,set