/* Options: Date: 2025-07-17 23:34:52 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://hcbtas-q-albamfs-api.azurewebsites.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ClientCountryConfigValidateReq.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/clientcountryconfig/validate", Verbs="POST") public static class ClientCountryConfigValidateReq implements IReturn { public ClientCountryConfig config = null; public ClientCountryConfig getConfig() { return config; } public ClientCountryConfigValidateReq setConfig(ClientCountryConfig value) { this.config = value; return this; } private static Object responseType = ClientCountryConfig.class; public Object getResponseType() { return responseType; } } public static class ClientCountryConfig extends DatedEntity { public String clientCode = null; public String clientName = null; public String countryCode = null; public DataSourceResult source = null; public Integer ageRMin = null; public Integer ageRMax = null; public String primarySalary = null; public AnnuityConfig annuityConfig = null; public ArrayList assets = null; public ArrayList contTables = null; public ArrayList investments = null; public HashMap> content = null; public HashMap environments = null; public HashMap> customNumericConstraints = null; public HashMap assetReturnRates = null; public Double investmentPropertyRates = null; public HashMap getAssetClassFundDictionary = null; public HashMap getTermBasedFundDictionary = null; public HashMap>> getAllocationsDictionary = null; public HashMap assetNameMap = null; public HashMap> assetContNameMap = null; public String cacheKey = null; public String getClientCode() { return clientCode; } public ClientCountryConfig setClientCode(String value) { this.clientCode = value; return this; } public String getClientName() { return clientName; } public ClientCountryConfig setClientName(String value) { this.clientName = value; return this; } public String getCountryCode() { return countryCode; } public ClientCountryConfig setCountryCode(String value) { this.countryCode = value; return this; } public DataSourceResult getSource() { return source; } public ClientCountryConfig setSource(DataSourceResult value) { this.source = value; return this; } public Integer getAgeRMin() { return ageRMin; } public ClientCountryConfig setAgeRMin(Integer value) { this.ageRMin = value; return this; } public Integer getAgeRMax() { return ageRMax; } public ClientCountryConfig setAgeRMax(Integer value) { this.ageRMax = value; return this; } public String getPrimarySalary() { return primarySalary; } public ClientCountryConfig setPrimarySalary(String value) { this.primarySalary = value; return this; } public AnnuityConfig getAnnuityConfig() { return annuityConfig; } public ClientCountryConfig setAnnuityConfig(AnnuityConfig value) { this.annuityConfig = value; return this; } public ArrayList getAssets() { return assets; } public ClientCountryConfig setAssets(ArrayList value) { this.assets = value; return this; } public ArrayList getContTables() { return contTables; } public ClientCountryConfig setContTables(ArrayList value) { this.contTables = value; return this; } public ArrayList getInvestments() { return investments; } public ClientCountryConfig setInvestments(ArrayList value) { this.investments = value; return this; } public HashMap> getContent() { return content; } public ClientCountryConfig setContent(HashMap> value) { this.content = value; return this; } public HashMap getEnvironments() { return environments; } public ClientCountryConfig setEnvironments(HashMap value) { this.environments = value; return this; } public HashMap> getCustomNumericConstraints() { return customNumericConstraints; } public ClientCountryConfig setCustomNumericConstraints(HashMap> value) { this.customNumericConstraints = value; return this; } public HashMap getAssetReturnRates() { return assetReturnRates; } public ClientCountryConfig setAssetReturnRates(HashMap value) { this.assetReturnRates = value; return this; } public Double getInvestmentPropertyRates() { return investmentPropertyRates; } public ClientCountryConfig setInvestmentPropertyRates(Double value) { this.investmentPropertyRates = value; return this; } public HashMap getGetAssetClassFundDictionary() { return getAssetClassFundDictionary; } public ClientCountryConfig setGetAssetClassFundDictionary(HashMap value) { this.getAssetClassFundDictionary = value; return this; } public HashMap getGetTermBasedFundDictionary() { return getTermBasedFundDictionary; } public ClientCountryConfig setGetTermBasedFundDictionary(HashMap value) { this.getTermBasedFundDictionary = value; return this; } public HashMap>> getGetAllocationsDictionary() { return getAllocationsDictionary; } public ClientCountryConfig setGetAllocationsDictionary(HashMap>> value) { this.getAllocationsDictionary = value; return this; } public HashMap getAssetNameMap() { return assetNameMap; } public ClientCountryConfig setAssetNameMap(HashMap value) { this.assetNameMap = value; return this; } public HashMap> getAssetContNameMap() { return assetContNameMap; } public ClientCountryConfig setAssetContNameMap(HashMap> value) { this.assetContNameMap = value; return this; } public String getCacheKey() { return cacheKey; } public ClientCountryConfig setCacheKey(String value) { this.cacheKey = value; return this; } } public static class Entity implements IEntity { public String id = null; public String getId() { return id; } public Entity setId(String value) { this.id = value; return this; } } public static interface IEntity { public String id = null; } public static enum Gender { Female, Male, Other; } public static class Entity { public String logoUri = null; public String name = null; public ContactDetails contactDetails = null; public String getLogoUri() { return logoUri; } public Entity setLogoUri(String value) { this.logoUri = value; return this; } public String getName() { return name; } public Entity setName(String value) { this.name = value; return this; } public ContactDetails getContactDetails() { return contactDetails; } public Entity setContactDetails(ContactDetails value) { this.contactDetails = value; return this; } } public static class DataSourceResult { public DataSource d = null; public Long t = null; public DataSource getD() { return d; } public DataSourceResult setD(DataSource value) { this.d = value; return this; } public Long getT() { return t; } public DataSourceResult setT(Long value) { this.t = value; return this; } } public static class AnnuityConfig { public ArrayList tableNames = null; public ArrayList imprFactorTableNames = null; public Double reversion = null; public Double guarantee = null; public Double timing = null; public Boolean allowDiscountPreRet = null; public Double scaleQx = null; public Double scaleImpr = null; public Integer ageRating = null; public Integer spouseAgeRating = null; public Double expense = null; public Double percBalanceSpent = null; public Double amountSpent = null; public Double incomePurchased = null; public Integer deferralPeriod = null; public String indexationName = null; public String drStochastic = null; public String impliedInflationStochasticSeries = null; public Double targetTpx = null; public AnnuityPriceType priceType = null; public Double price = null; public ArrayList getTableNames() { return tableNames; } public AnnuityConfig setTableNames(ArrayList value) { this.tableNames = value; return this; } public ArrayList getImprFactorTableNames() { return imprFactorTableNames; } public AnnuityConfig setImprFactorTableNames(ArrayList value) { this.imprFactorTableNames = value; return this; } public Double getReversion() { return reversion; } public AnnuityConfig setReversion(Double value) { this.reversion = value; return this; } public Double getGuarantee() { return guarantee; } public AnnuityConfig setGuarantee(Double value) { this.guarantee = value; return this; } public Double getTiming() { return timing; } public AnnuityConfig setTiming(Double value) { this.timing = value; return this; } public Boolean isAllowDiscountPreRet() { return allowDiscountPreRet; } public AnnuityConfig setAllowDiscountPreRet(Boolean value) { this.allowDiscountPreRet = value; return this; } public Double getScaleQx() { return scaleQx; } public AnnuityConfig setScaleQx(Double value) { this.scaleQx = value; return this; } public Double getScaleImpr() { return scaleImpr; } public AnnuityConfig setScaleImpr(Double value) { this.scaleImpr = value; return this; } public Integer getAgeRating() { return ageRating; } public AnnuityConfig setAgeRating(Integer value) { this.ageRating = value; return this; } public Integer getSpouseAgeRating() { return spouseAgeRating; } public AnnuityConfig setSpouseAgeRating(Integer value) { this.spouseAgeRating = value; return this; } public Double getExpense() { return expense; } public AnnuityConfig setExpense(Double value) { this.expense = value; return this; } public Double getPercBalanceSpent() { return percBalanceSpent; } public AnnuityConfig setPercBalanceSpent(Double value) { this.percBalanceSpent = value; return this; } public Double getAmountSpent() { return amountSpent; } public AnnuityConfig setAmountSpent(Double value) { this.amountSpent = value; return this; } public Double getIncomePurchased() { return incomePurchased; } public AnnuityConfig setIncomePurchased(Double value) { this.incomePurchased = value; return this; } public Integer getDeferralPeriod() { return deferralPeriod; } public AnnuityConfig setDeferralPeriod(Integer value) { this.deferralPeriod = value; return this; } public String getIndexationName() { return indexationName; } public AnnuityConfig setIndexationName(String value) { this.indexationName = value; return this; } public String getDrStochastic() { return drStochastic; } public AnnuityConfig setDrStochastic(String value) { this.drStochastic = value; return this; } public String getImpliedInflationStochasticSeries() { return impliedInflationStochasticSeries; } public AnnuityConfig setImpliedInflationStochasticSeries(String value) { this.impliedInflationStochasticSeries = value; return this; } public Double getTargetTpx() { return targetTpx; } public AnnuityConfig setTargetTpx(Double value) { this.targetTpx = value; return this; } public AnnuityPriceType getPriceType() { return priceType; } public AnnuityConfig setPriceType(AnnuityPriceType value) { this.priceType = value; return this; } public Double getPrice() { return price; } public AnnuityConfig setPrice(Double value) { this.price = value; return this; } } public static class AssetConfig { public String code = null; public String name = null; public Boolean rebalance = null; public Boolean canEditInvestmentChoice = null; public Boolean willSpend = null; public ArrayList investments = null; public ArrayList contributions = null; public Boolean isOneOff = null; public String getCode() { return code; } public AssetConfig setCode(String value) { this.code = value; return this; } public String getName() { return name; } public AssetConfig setName(String value) { this.name = value; return this; } public Boolean isRebalance() { return rebalance; } public AssetConfig setRebalance(Boolean value) { this.rebalance = value; return this; } public Boolean isCanEditInvestmentChoice() { return canEditInvestmentChoice; } public AssetConfig setCanEditInvestmentChoice(Boolean value) { this.canEditInvestmentChoice = value; return this; } public Boolean isWillSpend() { return willSpend; } public AssetConfig setWillSpend(Boolean value) { this.willSpend = value; return this; } public ArrayList getInvestments() { return investments; } public AssetConfig setInvestments(ArrayList value) { this.investments = value; return this; } public ArrayList getContributions() { return contributions; } public AssetConfig setContributions(ArrayList value) { this.contributions = value; return this; } public Boolean getIsOneOff() { return isOneOff; } public AssetConfig setIsOneOff(Boolean value) { this.isOneOff = value; return this; } } public static class ContributionTableSpec { public String code = null; public ContributionType type = null; public HashMap rates = null; public ArrayList rateSpecs = null; public String keyTemplate = null; public String getCode() { return code; } public ContributionTableSpec setCode(String value) { this.code = value; return this; } public ContributionType getType() { return type; } public ContributionTableSpec setType(ContributionType value) { this.type = value; return this; } public HashMap getRates() { return rates; } public ContributionTableSpec setRates(HashMap value) { this.rates = value; return this; } public ArrayList getRateSpecs() { return rateSpecs; } public ContributionTableSpec setRateSpecs(ArrayList value) { this.rateSpecs = value; return this; } public String getKeyTemplate() { return keyTemplate; } public ContributionTableSpec setKeyTemplate(String value) { this.keyTemplate = value; return this; } } public static class InvestmentProduct { public String code = null; public String name = null; public String group = null; public Boolean isAssetClassFund = null; public ArrayList allocs = null; public Integer order = null; public HashMap> allocationsDictionary = null; public String getCode() { return code; } public InvestmentProduct setCode(String value) { this.code = value; return this; } public String getName() { return name; } public InvestmentProduct setName(String value) { this.name = value; return this; } public String getGroup() { return group; } public InvestmentProduct setGroup(String value) { this.group = value; return this; } public Boolean getIsAssetClassFund() { return isAssetClassFund; } public InvestmentProduct setIsAssetClassFund(Boolean value) { this.isAssetClassFund = value; return this; } public ArrayList getAllocs() { return allocs; } public InvestmentProduct setAllocs(ArrayList value) { this.allocs = value; return this; } public Integer getOrder() { return order; } public InvestmentProduct setOrder(Integer value) { this.order = value; return this; } public HashMap> getAllocationsDictionary() { return allocationsDictionary; } public InvestmentProduct setAllocationsDictionary(HashMap> value) { this.allocationsDictionary = value; return this; } } public static class ReturnRates { public ArrayList earningRates = null; public ArrayList taxRates = null; public ArrayList getEarningRates() { return earningRates; } public ReturnRates setEarningRates(ArrayList value) { this.earningRates = value; return this; } public ArrayList getTaxRates() { return taxRates; } public ReturnRates setTaxRates(ArrayList value) { this.taxRates = value; return this; } } public static class DatedEntity extends Entity implements IDatedEntity { public Date asAt = null; public Date getAsAt() { return asAt; } public DatedEntity setAsAt(Date value) { this.asAt = value; return this; } } public static interface IDatedEntity implements IEntity { public Date asAt = null; } public static enum AnnuityPriceType { Calc, Table; } public static enum ContributionType { Employer, Employee, EmployerMatching; } public static enum DataSource { Db, Cache, Parameter, Na; } public static class LifeTableName { public String name = null; public Gender gender = null; public String getName() { return name; } public LifeTableName setName(String value) { this.name = value; return this; } public Gender getGender() { return gender; } public LifeTableName setGender(Gender value) { this.gender = value; return this; } } public static class ContributionSpec { public String code = null; public String name = null; public ContributionType type = null; public Boolean isEmployeeCont = null; public String table = null; public String ccy = null; public Integer fromAge = null; public Integer toAge = null; public String indexationType = null; public String salaryType = null; public Boolean isTaxable = null; public String relatedRate = null; public Integer order = null; public Boolean editable = null; public ArrayList constraints = null; public AmountType amountType = null; public Boolean isOneOff = null; public String getCode() { return code; } public ContributionSpec setCode(String value) { this.code = value; return this; } public String getName() { return name; } public ContributionSpec setName(String value) { this.name = value; return this; } public ContributionType getType() { return type; } public ContributionSpec setType(ContributionType value) { this.type = value; return this; } public Boolean getIsEmployeeCont() { return isEmployeeCont; } public ContributionSpec setIsEmployeeCont(Boolean value) { this.isEmployeeCont = value; return this; } public String getTable() { return table; } public ContributionSpec setTable(String value) { this.table = value; return this; } public String getCcy() { return ccy; } public ContributionSpec setCcy(String value) { this.ccy = value; return this; } public Integer getFromAge() { return fromAge; } public ContributionSpec setFromAge(Integer value) { this.fromAge = value; return this; } public Integer getToAge() { return toAge; } public ContributionSpec setToAge(Integer value) { this.toAge = value; return this; } public String getIndexationType() { return indexationType; } public ContributionSpec setIndexationType(String value) { this.indexationType = value; return this; } public String getSalaryType() { return salaryType; } public ContributionSpec setSalaryType(String value) { this.salaryType = value; return this; } public Boolean getIsTaxable() { return isTaxable; } public ContributionSpec setIsTaxable(Boolean value) { this.isTaxable = value; return this; } public String getRelatedRate() { return relatedRate; } public ContributionSpec setRelatedRate(String value) { this.relatedRate = value; return this; } public Integer getOrder() { return order; } public ContributionSpec setOrder(Integer value) { this.order = value; return this; } public Boolean isEditable() { return editable; } public ContributionSpec setEditable(Boolean value) { this.editable = value; return this; } public ArrayList getConstraints() { return constraints; } public ContributionSpec setConstraints(ArrayList value) { this.constraints = value; return this; } public AmountType getAmountType() { return amountType; } public ContributionSpec setAmountType(AmountType value) { this.amountType = value; return this; } public Boolean getIsOneOff() { return isOneOff; } public ContributionSpec setIsOneOff(Boolean value) { this.isOneOff = value; return this; } } public static enum ContributionType { Fixed, Time, Lookup, Match; } public static class ContributionRateSpec { public Integer fromAge = null; public Integer toAge = null; public Integer fromService = null; public Integer toService = null; public Double sourceRate = null; public Date dateFrom = null; public Date dateTo = null; public Double upperLimit = null; public Double rate = null; public Double coreRate = null; public String lookupKey = null; public Integer getFromAge() { return fromAge; } public ContributionRateSpec setFromAge(Integer value) { this.fromAge = value; return this; } public Integer getToAge() { return toAge; } public ContributionRateSpec setToAge(Integer value) { this.toAge = value; return this; } public Integer getFromService() { return fromService; } public ContributionRateSpec setFromService(Integer value) { this.fromService = value; return this; } public Integer getToService() { return toService; } public ContributionRateSpec setToService(Integer value) { this.toService = value; return this; } public Double getSourceRate() { return sourceRate; } public ContributionRateSpec setSourceRate(Double value) { this.sourceRate = value; return this; } public Date getDateFrom() { return dateFrom; } public ContributionRateSpec setDateFrom(Date value) { this.dateFrom = value; return this; } public Date getDateTo() { return dateTo; } public ContributionRateSpec setDateTo(Date value) { this.dateTo = value; return this; } public Double getUpperLimit() { return upperLimit; } public ContributionRateSpec setUpperLimit(Double value) { this.upperLimit = value; return this; } public Double getRate() { return rate; } public ContributionRateSpec setRate(Double value) { this.rate = value; return this; } public Double getCoreRate() { return coreRate; } public ContributionRateSpec setCoreRate(Double value) { this.coreRate = value; return this; } public String getLookupKey() { return lookupKey; } public ContributionRateSpec setLookupKey(String value) { this.lookupKey = value; return this; } } public static class ContributionConstraint { public Integer fromAge = null; public Integer toAge = null; public Double min = null; public Double max = null; public Double step = null; public Integer getFromAge() { return fromAge; } public ContributionConstraint setFromAge(Integer value) { this.fromAge = value; return this; } public Integer getToAge() { return toAge; } public ContributionConstraint setToAge(Integer value) { this.toAge = value; return this; } public Double getMin() { return min; } public ContributionConstraint setMin(Double value) { this.min = value; return this; } public Double getMax() { return max; } public ContributionConstraint setMax(Double value) { this.max = value; return this; } public Double getStep() { return step; } public ContributionConstraint setStep(Double value) { this.step = value; return this; } } public static enum AmountType { Any, Amount, Rate; } public static class InvestmentProduct { public String riskId = null; public String riskName = null; public String getRiskId() { return riskId; } public InvestmentProduct setRiskId(String value) { this.riskId = value; return this; } public String getRiskName() { return riskName; } public InvestmentProduct setRiskName(String value) { this.riskName = value; return this; } } }