/* Options: Date: 2025-05-05 00:25:25 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetBilling.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * Get the billing totals for the specified date range. Please note that we do not support getting billing at the hourly time granularity. */ @Route(Path="/billing", Verbs="GET") @Api(Description="Get the billing totals for the specified date range. Please note that we do not support getting billing at the hourly time granularity.") open class GetBilling : IReturn { /** * Your Evo Voice Account ID */ @ApiMember(Description="Your Evo Voice Account ID", IsRequired=true) open var accountId:String? = null /** * The start of the date range that you want to query for (we will only use the date portion, so it will include the entire day even if you specify a time as well) */ @ApiMember(Description="The start of the date range that you want to query for (we will only use the date portion, so it will include the entire day even if you specify a time as well)", IsRequired=true) open var startDate:String? = null /** * The end of the date range you want to query for (we will include this entire day in the billing) */ @ApiMember(Description="The end of the date range you want to query for (we will include this entire day in the billing)", IsRequired=true) open var endDate:String? = null /** * Specify this to filter to a specific customer. */ @ApiMember(Description="Specify this to filter to a specific customer.") open var customerId:String? = null companion object { private val responseType = BillingInfo::class.java } override fun getResponseType(): Any? = GetBilling.responseType } open class BillingInfo { open var customers:ArrayList? = null } open class BillingCustomerInfo { open var customerId:String? = null open var internationalCosts:Double? = null open var hasCallRecording:Boolean? = null }