/* Options: Date: 2024-11-24 15:04:34 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://clubready.com/api/current //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetBillingStatusRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/sales/members/{MemberId}/status", Verbs="GET") open class GetBillingStatusRequest : GetBillingStatusRequestDto(), IReturn, IRestrictedApiRequest { /** * Api Key - grants access to resources */ @ApiMember(DataType="string", Description="Api Key - grants access to resources", IsRequired=true, Name="ApiKey", ParameterType="query") var ApiKey:String? = null /** * Store ID # member belongs to */ @ApiMember(DataType="integer", Description="Store ID # member belongs to", IsRequired=true, Name="StoreId", ParameterType="query") var StoreId:Int? = null /** * ID of the member to lookup */ @ApiMember(DataType="integer", Description="ID of the member to lookup", IsRequired=true, Name="MemberId", ParameterType="path") var MemberId:Int? = null var RestrictedId:Int? = null var RestrictedResourceType:RestrictedResourceType? = null companion object { private val responseType = MemberBillingStatus::class.java } override fun getResponseType(): Any? = GetBillingStatusRequest.responseType } open class MemberBillingStatus : GetMemberBillingStatus_Result() { var Invoices:ArrayList = ArrayList() var UserTypeId:Int? = null var UserTypeName:String? = null var NewUserId:Int? = null } enum class RestrictedResourceType { Store, Chain, User, Undefined, } open interface IRestrictedApiRequest : IApiKeyEndpoint { var RestrictedId:Int? var RestrictedResourceType:RestrictedResourceType? } open interface IApiKeyEndpoint { var ApiKey:String? } open class ApiDtoBase { var ApiKey:String? = null var StoreId:Int? = null var ChainId:Int? = null } open class GetBillingStatusRequestDto : ApiDtoBase() { var MemberId:Int? = null } open class MemberBillingStatusInvoice { var InvoiceId:Int? = null var Status:String? = null var StatusId:Short? = null var AmountDue:BigDecimal? = null var SalesTaxDue:BigDecimal? = null var PaymentDue:Date? = null var PaymentMade:Date? = null var PackageName:String? = null } @DataContract open class GetMemberBillingStatus_Result { @DataMember var FullName:String? = null @DataMember var MemberStatus:String? = null @DataMember var HomeClub:String? = null @DataMember var BalanceDue:BigDecimal? = null @DataMember var StoreID:Int? = null }