/* Options: Date: 2026-06-20 22:17:37 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.simplified.id/v2 //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RegisterAccountTemplate.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/account/register/template", Verbs="GET") @DataContract open class RegisterAccountTemplate : BaseRequest(), IReturn { companion object { private val responseType = RegisterAccountTemplateResponse::class.java } override fun getResponseType(): Any? = RegisterAccountTemplate.responseType } @DataContract open class RegisterAccountTemplateResponse { /** * The response data */ @DataMember @ApiMember(Description="The response data") @SerializedName("data") open var Data:RegisterAccountTemplateData? = null } @DataContract open class Authentication { /** * The API User ID provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-User) */ @DataMember @ApiMember(Description="The API User ID provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-User)", IsRequired=true, ParameterType="header, body") open var apiUserId:String? = null /** * The API User Key provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-Key) */ @DataMember @ApiMember(Description="The API User Key provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-Key)", IsRequired=true, ParameterType="header, body") open var apiUserKey:String? = null /** * The User ID of the user making the request (e.g. a sub user). This is optional but can be used to associate API requests with a specific user, thereby allowing user permissions to be enforced. Can be provided in the body, or as a header parameter (X-User-Id). */ @DataMember @ApiMember(Description="The User ID of the user making the request (e.g. a sub user). This is optional but can be used to associate API requests with a specific user, thereby allowing user permissions to be enforced. Can be provided in the body, or as a header parameter (X-User-Id).", ParameterType="header, body") open var userId:String? = null } @DataContract open class BaseRequest : IBaseRequest { /** * The authentication credentials */ @DataMember @ApiMember(Description="The authentication credentials", IsRequired=true, ParameterType="header, body") override var authentication:Authentication? = null } interface IBaseRequest { var authentication:Authentication? } open class RegisterAccountRequest { /** * The desired login username for the account */ @ApiMember(Description="The desired login username for the account", IsRequired=true) open var username:String? = null /** * The password for account login */ @ApiMember(Description="The password for account login", IsRequired=true) open var password:String? = null /** * The contact email address for the account holder */ @ApiMember(Description="The contact email address for the account holder", IsRequired=true) open var email:String? = null /** * The full legal name of the account holder */ @ApiMember(Description="The full legal name of the account holder", IsRequired=true) open var fullName:String? = null /** * The registered name of the company associated with this account */ @ApiMember(Description="The registered name of the company associated with this account", IsRequired=true) open var companyName:String? = null /** * The primary contact phone number of the company */ @ApiMember(Description="The primary contact phone number of the company", IsRequired=true) open var companyPhone:String? = null /** * The first line of the company’s address (e.g., street name and number) */ @ApiMember(Description="The first line of the company’s address (e.g., street name and number)", IsRequired=true) open var address1:String? = null /** * The second line of the company’s address (optional) */ @ApiMember(Description="The second line of the company’s address (optional)") open var address2:String? = null /** * The third line of the company’s address (optional) */ @ApiMember(Description="The third line of the company’s address (optional)") open var address3:String? = null /** * The city where the company is located (optional) */ @ApiMember(Description="The city where the company is located (optional)") open var city:String? = null /** * The postal or ZIP code of the company’s address */ @ApiMember(Description="The postal or ZIP code of the company’s address", IsRequired=true) open var postcode:String? = null /** * The country where the company is registered */ @ApiMember(Description="The country where the company is registered", IsRequired=true) open var country:String? = null /** * The classification of the company (e.g., LLC, Corporation, Sole Proprietorship) */ @ApiMember(Description="The classification of the company (e.g., LLC, Corporation, Sole Proprietorship)", IsRequired=true) open var companyType:String? = null /** * The industry sector the company operates in */ @ApiMember(Description="The industry sector the company operates in", IsRequired=true) open var companyIndustry:String? = null /** * The trade body, network, or affiliation the company is a member of (if applicable) */ @ApiMember(Description="The trade body, network, or affiliation the company is a member of (if applicable)") open var companyNetwork:String? = null /** * Indicates agreement to the terms and conditions (required) */ @ApiMember(Description="Indicates agreement to the terms and conditions (required)", IsRequired=true) open var agreeToTerms:Boolean? = null /** * Indicates agreement to the data protection statement (required) */ @ApiMember(Description="Indicates agreement to the data protection statement (required)", IsRequired=true) open var agreeToDataProtection:Boolean? = null /** * Indicates consent to be contacted (optional) */ @ApiMember(Description="Indicates consent to be contacted (optional)") open var agreeToContact:Boolean? = null /** * Indicates agreement to the privacy policy (required) */ @ApiMember(Description="Indicates agreement to the privacy policy (required)", IsRequired=true) open var agreeToPrivacy:Boolean? = null /** * An optional voucher code for discounts or promotions */ @ApiMember(Description="An optional voucher code for discounts or promotions") open var voucherCode:String? = null /** * An optional code that grants access to certain features or subscriptions */ @ApiMember(Description="An optional code that grants access to certain features or subscriptions") open var accountActivationCode:String? = null /** * The company's VAT registration number (if applicable) */ @ApiMember(Description="The company's VAT registration number (if applicable)") open var vatNumber:String? = null /** * The country where the company is VAT-registered */ @ApiMember(Description="The country where the company is VAT-registered") open var vatCountry:String? = null } open class RegisterAccountTemplateData : BaseResponse() { /** * The request body of the RegisterAccount endpoint */ @ApiMember(Description="The request body of the RegisterAccount endpoint") open var request:RegisterAccountRequest? = null /** * Reference data to fill out the RegisterAccount body */ @ApiMember(Description="Reference data to fill out the RegisterAccount body") open var referenceData:ReferenceData? = null } open class BaseResponse : IBaseDataResponse, IHasResponseStatus { /** * The status of the response */ @ApiMember(Description="The status of the response") override var responseStatus:ResponseStatus? = null } interface IBaseDataResponse { var responseStatus:ResponseStatus? } interface IHasResponseStatus { var responseStatus:ResponseStatus? } open class ReferenceData { /** * A list of supported country values */ @ApiMember(Description="A list of supported country values") open var countries:ArrayOfCountry? = null /** * A list of valid industry classifications for companies */ @ApiMember(Description="A list of valid industry classifications for companies") open var companyIndustries:ArrayOfCompanyIndustry? = null /** * A list of accepted company types */ @ApiMember(Description="A list of accepted company types") open var companyTypes:ArrayOfCompanyType? = null /** * A list of countries where VAT registration is recognized */ @ApiMember(Description="A list of countries where VAT registration is recognized") open var vatCountries:ArrayOfVATCountry? = null /** * A URL linking to the terms and conditions document */ @ApiMember(Description="A URL linking to the terms and conditions document") open var termsAndConditionsLink:String? = null /** * A URL linking to the privacy policy */ @ApiMember(Description="A URL linking to the privacy policy") open var privacyPolicyLink:String? = null /** * The statement regarding contact preferences */ @ApiMember(Description="The statement regarding contact preferences") open var contactStatement:String? = null /** * The statement outlining data protection policies */ @ApiMember(Description="The statement outlining data protection policies") open var dataProtectionStatement:String? = null } open class ArrayOfResponseError : ArrayList() { } open class ArrayOfCountry : ArrayList() { } open class ArrayOfCompanyIndustry : ArrayList() { } open class ArrayOfCompanyType : ArrayList() { } open class ArrayOfVATCountry : ArrayList() { }