/* Options: Date: 2024-11-21 11:36:15 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EAccountingCustomerQuery.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/eaccounting/customers", Verbs="GET") open class EAccountingCustomerQuery : EAccountingPagination(), IReturn, ICompany { var CompanyId:UUID? = null companion object { private val responseType = EAccountingCustomerResponse::class.java } override fun getResponseType(): Any? = EAccountingCustomerQuery.responseType } open class EAccountingCustomerResponse : CreateEAccountingCustomer() { var Id:String? = null } open interface ICompany { var CompanyId:UUID? } open class InvoiceAddress { var CorporateIdentityNumber:String? = null var InvoiceAddress1:String? = null var InvoiceAddress2:String? = null var InvoiceCity:String? = null var InvoicePostalCode:String? = null var InvoiceCountryCode:String? = null } open class EAccountingPagination { /** * Page number that will be fetched to e-accounting client; Default 1 */ @DataMember(Order=1) @ApiMember(Description="Page number that will be fetched to e-accounting client; Default 1") var PageNumber:Int? = null /** * Page size that will be fetched to e-accounting client; Default 75~ */ @DataMember(Order=2) @ApiMember(Description="Page size that will be fetched to e-accounting client; Default 75~") var PageSize:Int? = null } open class EAccountingTermsOfPayment { var Id:String? = null var Name:String? = null var NameEnglish:String? = null var NumberOfDays:Int? = null var TermsOfPaymentTypeId:Int? = null var TermsOfPaymentTypeText:String? = null var AvailableForSales:Boolean? = null var AvailableForPurchase:Boolean? = null } open class CustomerLabel { var Id:String? = null var Name:String? = null var Description:String? = null } open class DirectDebitCustomerSettings { var MandateId:String? = null var MandateType:Int? = null var SequenceType:Int? = null var SigningDate:Date? = null var EndDate:Date? = null var LatestDirectDebit:Date? = null } open class CreateEAccountingCustomer : InvoiceAddress() { var CustomerNumber:String? = null var ContactPersonEmail:String? = null var ContactPersonMobile:String? = null var ContactPersonName:String? = null var ContactPersonPhone:String? = null var CurrencyCode:String? = null var GLN:String? = null var EmailAddress:String? = null var EmailAddressOrder:String? = null var EmailAddressQuote:String? = null var DeliveryCustomerName:String? = null var DeliveryAddress1:String? = null var DeliveryAddress2:String? = null var DeliveryCity:String? = null var DeliveryCountryCode:String? = null var DeliveryPostalCode:String? = null var DeliveryMethodId:String? = null var DeliveryTermId:String? = null var PayToAccountId:String? = null var Name:String? = null var Note:String? = null var ReverseChargeOnConstructionServices:Boolean? = null var WebshopCustomerNumber:Int? = null var MobilePhone:String? = null var Telephone:String? = null var TermsOfPaymentId:String? = null var EAccountingTermsOfPayment:EAccountingTermsOfPayment? = null var VatNumber:String? = null var WwwAddress:String? = null var LastInvoiceDate:String? = null var IsPrivatePerson:Boolean? = null var IsNorthernIreland:Boolean? = null var DiscountPercentage:BigDecimal? = null var ChangedUtc:Date? = null var IsActive:Boolean? = null var ForceBookkeepVat:Boolean? = null var EdiGlnNumber:String? = null var SalesDocumentLanguage:String? = null var ElectronicAddress:String? = null var ElectronicReference:String? = null var EdiServiceDelivererId:String? = null var AutoInvoiceActivationEmailSentDate:Date? = null var AutoInvoiceRegistrationRequestSentDate:Date? = null var EmailAddresses:ArrayList = ArrayList() var CustomerLabels:ArrayList = ArrayList() var MessageThreads:ArrayList = ArrayList() var Notes:ArrayList = ArrayList() var IsFutureInvoiceDateAllowed:Boolean? = null var DeliveryBasedVat:Boolean? = null var SalesPriceListId:String? = null var Iban:String? = null var DirectDebitCustomerSettings:DirectDebitCustomerSettings? = null var DiscountAgreementId:String? = null var UnpaidInvoicesAmount:BigDecimal? = null }