/* Options: Date: 2024-12-15 20:37:24 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateCustomerRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/customers", Verbs="POST") open class CreateCustomerRequest : PostOperationTenanted(), IReturn { var email:String? = null companion object { private val responseType = CreateCustomerResponse::class.java } override fun getResponseType(): Any? = CreateCustomerRequest.responseType } open class CreateCustomerResponse { var responseStatus:ResponseStatus? = null var customer:Customer? = null } open class PostOperationUnTenanted : IPost { } open class PostOperationTenanted : PostOperationUnTenanted(), ITenantedRequest { var organisationId:String? = null } open interface ITenantedRequest { var organisationId:String? } open class Customer : IIdentifiableResource { var id:String? = null var firstName:String? = null var lastName:String? = null var dateOfBirth:Date? = null var driversLicenceNo:String? = null var email:String? = null var phone:String? = null var preferredContactMethod:String? = null var addressLine1:String? = null var addressLine2:String? = null var suburb:String? = null var stateTerritory:String? = null var postcode:String? = null var bankAccount:BankAccount? = null var userAccountId:String? = null } open interface IIdentifiableResource { var id:String? } open class BankAccount { var bsbNumber:String? = null var accountNumber:String? = null }