/* Options: Date: 2024-12-15 21:00:30 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: UpdateAdjustmentRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/packages/{SalaryPackageId}/adjustments/{Id}", Verbs="PUT,PATCH") open class UpdateAdjustmentRequest : PutPatchOperationTenanted(), IReturn { var salaryPackageId:String? = null var id:String? = null var amount:BigDecimal? = null var gst:BigDecimal? = null var budgetCategory:String? = null var description:String? = null var received:Date? = null companion object { private val responseType = UpdateAdjustmentResponse::class.java } override fun getResponseType(): Any? = UpdateAdjustmentRequest.responseType } open class UpdateAdjustmentResponse { var responseStatus:ResponseStatus? = null var salaryPackage:SalaryPackage? = null } open interface ITenantedRequest { var organisationId:String? } open class PutPatchOperationUnTenanted : IPatch, IPut { } open class PutPatchOperationTenanted : PutPatchOperationUnTenanted(), ITenantedRequest { var organisationId:String? = null } open class SalaryPackage : IIdentifiableResource { var customerId:String? = null var customerFirstName:String? = null var customerLastName:String? = null var status:String? = null var notes:String? = null var budgetBreakdown:BudgetBreakdown? = null var employment:Employment? = null var vehicle:Vehicle? = null var leaseDetails:LeaseDetails? = null var budgetBalances:BudgetBalances? = null var currentBalance:BigDecimal? = null var forecastedSalarySacrifices:ArrayList = ArrayList() var forecastedOutgoingPayments:ArrayList = ArrayList() var adjustments:ArrayList = ArrayList() var transactions:ArrayList = ArrayList() var id:String? = null } open class SalarySacrificeBreakdown { var leaseAmount:BigDecimal? = null var administrationFee:BigDecimal? = null var fuel:BigDecimal? = null var servicing:BigDecimal? = null var tyres:BigDecimal? = null var insurance:BigDecimal? = null var carWash:BigDecimal? = null var registration:BigDecimal? = null var roadSideAssistance:BigDecimal? = null var anythingExtra:BigDecimal? = null } open interface IIdentifiableResource { var id:String? } open class BankAccount { var bsbNumber:String? = null var accountNumber:String? = null } open class BudgetBreakdown { var leaseAmount:BigDecimal? = null var administrationFee:BigDecimal? = null var fuel:BigDecimal? = null var servicing:BigDecimal? = null var tyres:BigDecimal? = null var insurance:BigDecimal? = null var carWash:BigDecimal? = null var registration:BigDecimal? = null var roadSideAssistance:BigDecimal? = null var anythingExtra:BigDecimal? = null } open class Employment { var payrollCycle:String? = null var firstPayDate:Date? = null var employerId:String? = null var employerName:String? = null } open class Vehicle { var make:String? = null var model:String? = null var colour:String? = null var bodyShape:String? = null var licensePlate:String? = null var transmission:String? = null var manufactureYear:Int? = null } open class LeaseDetails { var term:Int? = null var startDate:Date? = null var amountFinanced:BigDecimal? = null var paymentAmount:BigDecimal? = null var financeProvider:String? = null var residualValue:BigDecimal? = null var yearlyKmsTravelled:Int? = null var fringeBenefitTaxValue:BigDecimal? = null var fringeBenefitTaxMethod:String? = null var fringeBenefitTaxBusinessUse:Int? = null var fringeBenefitTaxStartDate:Date? = null var preTaxDeduction:BigDecimal? = null var postTaxDeduction:BigDecimal? = null var gstOnPostTaxDeduction:BigDecimal? = null var luxuryVehicleCharge:BigDecimal? = null var onRoadCost:BigDecimal? = null var registrationDueDate:Date? = null var insuranceDueDate:Date? = null var leaseProviderBankAccount:BankAccount? = null } open class BudgetBalances { var leaseAmount:BigDecimal? = null var administrationFee:BigDecimal? = null var fuel:BigDecimal? = null var servicing:BigDecimal? = null var tyres:BigDecimal? = null var insurance:BigDecimal? = null var carWash:BigDecimal? = null var registration:BigDecimal? = null var roadSideAssistance:BigDecimal? = null var anythingExtra:BigDecimal? = null } open class ForecastedSalarySacrifice { var paymentDate:Date? = null var amount:BigDecimal? = null var matched:SalarySacrifice? = null } open class ForecastedOutgoingPayment { var scheduled:Date? = null var amount:BigDecimal? = null var budgetCategory:String? = null var matched:Expense? = null } open class Adjustment : IIdentifiableResource { var budgetCategory:String? = null var amount:BigDecimal? = null var gst:BigDecimal? = null var description:String? = null var received:Date? = null var id:String? = null } open class Transaction { var received:Date? = null var budgetCategory:String? = null var amount:BigDecimal? = null var gst:BigDecimal? = null var description:String? = null @SerializedName("type") var Type:String? = null } open class SalarySacrifice { var paymentDate:Date? = null var salarySacrificeBreakdown:SalarySacrificeBreakdown? = null var preTaxDeduction:BigDecimal? = null var postTaxDeduction:BigDecimal? = null var contributionId:String? = null } open class Expense { var budgetCategory:String? = null var amount:BigDecimal? = null var gst:BigDecimal? = null }