(* Options: Date: 2024-11-21 12:09:07 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: AddBillingInformation.* //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 BillingMethodCountriesRelation() = inherit BaseModel() [] member val BillingMethodId:Int32 = new Int32() with get,set [] member val CountryId:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type BillingMethod() = inherit BaseModel() member val BillingMethodCountriesRelation:ResizeArray = new ResizeArray() with get,set [] member val Name:String = null with get,set [] member val Description:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type BillingInformationResponse() = /// ///The company id. /// [] member val CompanyId:Guid = new Guid() with get,set /// ///The prefered billing method. /// [] member val BillingMethodId:Int32 = new Int32() with get,set /// ///The name that should be printed on the billing information, normally this would be your company name. /// [] member val Name:String = null with get,set /// ///If you want to add the attention to the billing address. /// [] member val Attention:String = null with get,set /// ///The street for the billing adress. This is required when having postal invoice as billing method. /// [] member val Street1:String = null with get,set /// ///The street for the billing adress. /// [] member val Street2:String = null with get,set /// ///The zip code (postal code) for the billing adress. This is required when having postal invoice as billing method. /// [] member val ZipCode:String = null with get,set /// ///The city for the billing adress. This is required when having postal invoice as billing method. /// [] member val City:String = null with get,set /// ///The country for the billing adress. This is required when having postal invoice as billing method. /// [] member val CountryId:String = null with get,set /// ///The billing email. This is required when having email invoice as billing method. /// [] member val Email:String = null with get,set /// ///The company global location number. /// [] member val GLN:String = null with get,set /// ///You're internal rereference. /// [] member val ReferenceLine1:String = null with get,set /// ///You're internal rereference. /// [] member val ReferenceLine2:String = null with get,set /// ///The billing payment terms in days. This is default 15 days. /// [] member val PaymentTermsDays:Int32 = new Int32() with get,set /// ///The company vat registration number. /// [] member val VatRegistrationNumber:String = null with get,set /// ///The billing method options to choose from /// [] member val BillingMethodOptions:ResizeArray = new ResizeArray() with get,set [] [] [] [] type AddBillingInformation() = 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 /// ///The prefered billing method. /// [] member val BillingMethodId:Int32 = new Int32() with get,set /// ///The name that should be printed on the billing information, normally this would be your company name. /// [] member val Name:String = null with get,set /// ///If you want to add the attention to the billing address. /// [] member val Attention:String = null with get,set /// ///The street for the billing adress. This is required when having postal invoice as billing method. /// [] member val Street1:String = null with get,set /// ///The street for the billing adress. /// [] member val Street2:String = null with get,set /// ///The zip code (postal code) for the billing adress. This is required when having postal invoice as billing method. /// [] member val ZipCode:String = null with get,set /// ///The city for the billing adress. This is required when having postal invoice as billing method. /// [] member val City:String = null with get,set /// ///The country for the billing adress. This is required when having postal invoice as billing method. /// [] member val CountryId:String = null with get,set /// ///The billing email. This is required when having email invoice as billing method. /// [] member val Email:String = null with get,set /// ///The billing payment terms in days. This is default 15 days. /// [] member val PaymentTermsDays:Nullable = new Nullable() with get,set /// ///The company vat registration number. /// [] member val VatRegistrationNumber:String = null with get,set /// ///The company global location number. /// [] member val GLN:String = null with get,set /// ///You're internal rereference. /// [] member val ReferenceLine1:String = null with get,set /// ///You're internal rereference. /// [] member val ReferenceLine2:String = null with get,set