/* Options: Date: 2025-05-05 00:33:15 SwiftVersion: 6.0 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: GetBilling.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Get the billing totals for the specified date range. Please note that we do not support getting billing at the hourly time granularity. */ // @Route("/billing", "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.") public class GetBilling : IReturn, Codable { public typealias Return = BillingInfo /** * Your Evo Voice Account ID */ // @ApiMember(Description="Your Evo Voice Account ID", IsRequired=true) public var accountId:String? /** * 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) public var startDate:String? /** * 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) public var endDate:String? /** * Specify this to filter to a specific customer. */ // @ApiMember(Description="Specify this to filter to a specific customer.") public var customerId:String? required public init(){} } public class BillingInfo : Codable { public var customers:[BillingCustomerInfo]? required public init(){} } public class BillingCustomerInfo : Codable { public var customerId:String? public var internationalCosts:Double? public var hasCallRecording:Bool? required public init(){} }