/* Options: Date: 2024-07-03 13:01:18 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: EAccountingTermsOfPaymentQuery.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/eaccounting/termsofpayments", Verbs="GET") open class EAccountingTermsOfPaymentQuery : IReturn>, ICompany { var TermsOfPaymentTypeId:TermsOfPaymentTypes? = null /** * 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.") var CompanyId:UUID? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = EAccountingTermsOfPaymentQuery.responseType } open interface ICompany { var CompanyId:UUID? } enum class TermsOfPaymentTypes { Normal, CurrentMonth, Cash, CardPayment, DigitalWallet, PaymentServiceProvider, } open class EAccountingTermsOfPaymentQueryResponse { 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 }