/* Options: Date: 2024-12-15 20:31:56 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: AddAdjustmentRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Infrastructure.Api.Interfaces.ServiceOperations; using Application.Interfaces.Resources; using Infrastructure.Api.Interfaces.ServiceOperations.SalaryPackages; namespace Application.Interfaces.Resources { public partial class Adjustment : IIdentifiableResource { public virtual string BudgetCategory { get; set; } public virtual decimal Amount { get; set; } public virtual decimal Gst { get; set; } public virtual string Description { get; set; } public virtual DateTime Received { get; set; } public virtual string Id { get; set; } } public partial class BankAccount { public virtual string BsbNumber { get; set; } public virtual string AccountNumber { get; set; } } public partial class BudgetBalances { public virtual decimal LeaseAmount { get; set; } public virtual decimal AdministrationFee { get; set; } public virtual decimal Fuel { get; set; } public virtual decimal Servicing { get; set; } public virtual decimal Tyres { get; set; } public virtual decimal Insurance { get; set; } public virtual decimal CarWash { get; set; } public virtual decimal Registration { get; set; } public virtual decimal RoadSideAssistance { get; set; } public virtual decimal AnythingExtra { get; set; } } public partial class BudgetBreakdown { public virtual decimal? LeaseAmount { get; set; } public virtual decimal? AdministrationFee { get; set; } public virtual decimal? Fuel { get; set; } public virtual decimal? Servicing { get; set; } public virtual decimal? Tyres { get; set; } public virtual decimal? Insurance { get; set; } public virtual decimal? CarWash { get; set; } public virtual decimal? Registration { get; set; } public virtual decimal? RoadSideAssistance { get; set; } public virtual decimal? AnythingExtra { get; set; } } public partial class Employment { public virtual string PayrollCycle { get; set; } public virtual DateTime FirstPayDate { get; set; } public virtual string EmployerId { get; set; } public virtual string EmployerName { get; set; } } public partial class Expense { public virtual string BudgetCategory { get; set; } public virtual decimal Amount { get; set; } public virtual decimal Gst { get; set; } } public partial class ForecastedOutgoingPayment { public virtual DateTime Scheduled { get; set; } public virtual decimal Amount { get; set; } public virtual string BudgetCategory { get; set; } public virtual Expense Matched { get; set; } } public partial class ForecastedSalarySacrifice { public virtual DateTime PaymentDate { get; set; } public virtual decimal Amount { get; set; } public virtual SalarySacrifice Matched { get; set; } } public partial interface IIdentifiableResource { string Id { get; set; } } public partial class LeaseDetails { public virtual int? Term { get; set; } public virtual DateTime? StartDate { get; set; } public virtual decimal? AmountFinanced { get; set; } public virtual decimal? PaymentAmount { get; set; } public virtual string FinanceProvider { get; set; } public virtual decimal? ResidualValue { get; set; } public virtual int? YearlyKmsTravelled { get; set; } public virtual decimal? FringeBenefitTaxValue { get; set; } public virtual string FringeBenefitTaxMethod { get; set; } public virtual int FringeBenefitTaxBusinessUse { get; set; } public virtual DateTime FringeBenefitTaxStartDate { get; set; } public virtual decimal? PreTaxDeduction { get; set; } public virtual decimal? PostTaxDeduction { get; set; } public virtual decimal? GstOnPostTaxDeduction { get; set; } public virtual decimal? LuxuryVehicleCharge { get; set; } public virtual decimal OnRoadCost { get; set; } public virtual DateTime RegistrationDueDate { get; set; } public virtual DateTime InsuranceDueDate { get; set; } public virtual BankAccount LeaseProviderBankAccount { get; set; } } public partial class SalaryPackage : IIdentifiableResource { public SalaryPackage() { ForecastedSalarySacrifices = new List{}; ForecastedOutgoingPayments = new List{}; Adjustments = new List{}; Transactions = new List{}; } public virtual string CustomerId { get; set; } public virtual string CustomerFirstName { get; set; } public virtual string CustomerLastName { get; set; } public virtual string Status { get; set; } public virtual string Notes { get; set; } public virtual BudgetBreakdown BudgetBreakdown { get; set; } public virtual Employment Employment { get; set; } public virtual Vehicle Vehicle { get; set; } public virtual LeaseDetails LeaseDetails { get; set; } public virtual BudgetBalances BudgetBalances { get; set; } public virtual decimal CurrentBalance { get; set; } public virtual List ForecastedSalarySacrifices { get; set; } public virtual List ForecastedOutgoingPayments { get; set; } public virtual List Adjustments { get; set; } public virtual List Transactions { get; set; } public virtual string Id { get; set; } } public partial class SalarySacrifice { public virtual DateTime PaymentDate { get; set; } public virtual SalarySacrificeBreakdown SalarySacrificeBreakdown { get; set; } public virtual decimal PreTaxDeduction { get; set; } public virtual decimal PostTaxDeduction { get; set; } public virtual string ContributionId { get; set; } } public partial class SalarySacrificeBreakdown { public virtual decimal? LeaseAmount { get; set; } public virtual decimal? AdministrationFee { get; set; } public virtual decimal? Fuel { get; set; } public virtual decimal? Servicing { get; set; } public virtual decimal? Tyres { get; set; } public virtual decimal? Insurance { get; set; } public virtual decimal? CarWash { get; set; } public virtual decimal? Registration { get; set; } public virtual decimal? RoadSideAssistance { get; set; } public virtual decimal? AnythingExtra { get; set; } } public partial class Transaction { public virtual DateTime Received { get; set; } public virtual string BudgetCategory { get; set; } public virtual decimal Amount { get; set; } public virtual decimal Gst { get; set; } public virtual string Description { get; set; } public virtual string Type { get; set; } } public partial class Vehicle { public virtual string Make { get; set; } public virtual string Model { get; set; } public virtual string Colour { get; set; } public virtual string BodyShape { get; set; } public virtual string LicensePlate { get; set; } public virtual string Transmission { get; set; } public virtual int ManufactureYear { get; set; } } } namespace Infrastructure.Api.Interfaces.ServiceOperations { public partial interface ITenantedRequest { string OrganisationId { get; set; } } public partial class PostOperationTenanted : PostOperationUnTenanted, ITenantedRequest { public virtual string OrganisationId { get; set; } } public partial class PostOperationUnTenanted : IPost { } } namespace Infrastructure.Api.Interfaces.ServiceOperations.SalaryPackages { [Route("/packages/{Id}/adjustments", "POST")] public partial class AddAdjustmentRequest : PostOperationTenanted, IReturn { public virtual string Id { get; set; } public virtual decimal Amount { get; set; } public virtual decimal Gst { get; set; } public virtual string BudgetCategory { get; set; } public virtual string Description { get; set; } public virtual DateTime Received { get; set; } } public partial class AddAdjustmentResponse { public virtual ResponseStatus ResponseStatus { get; set; } public virtual SalaryPackage SalaryPackage { get; set; } } }