/* Options: Date: 2026-11-08 11:52:35 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SalesForceCancelInvoiceCollection.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/api/SalesForce/CancelInvoice", Verbs="POST") open class SalesForceCancelInvoice : IReturn { var ClassName:String? = null var UniqueId:String? = null var CreatedDateTime:Date? = null var ClientId:Int? = null var GroupId:String? = null var OpportunityId:String? = null var InvoiceNumber:String? = null var CancelledBy:String? = null var CancelReason:String? = null var Notes:String? = null companion object { private val responseType = SalesForceCancelInvoiceReply::class.java } override fun getResponseType(): Any? = SalesForceCancelInvoice.responseType } @Route(Path="/api/SalesForce/CancelInvoiceCollection", Verbs="POST") open class SalesForceCancelInvoiceCollection : IReturn { var CancelInvoiceCollection:ArrayList = ArrayList() companion object { private val responseType = SalesForceCancelInvoiceCollectionReply::class.java } override fun getResponseType(): Any? = SalesForceCancelInvoiceCollection.responseType } open class SalesForceCancelInvoiceReply : IHaveErrorField { var ClassName:String? = null var UniqueId:String? = null var CreatedDateTime:Date? = null var ClientId:Int? = null var ErrorCode:Int? = null var ErrorMessage:String? = null var InvoiceNumber:String? = null var IsError:Boolean? = null } open class SalesForceCancelInvoiceCollectionReply : IHaveErrorField { var CancelInvoiceReply:ArrayList = ArrayList() var IsError:Boolean? = null } open interface IHaveErrorField { var IsError:Boolean? } open interface IHaveErrorField { var IsError:Boolean? }