/* Options: Date: 2024-12-15 19:53:22 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetContributionRequest.* //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="/contributions/{Id}", Verbs="GET") public static class GetContributionRequest extends GetOperationTenanted implements IReturn { public String id = null; public String getId() { return id; } public GetContributionRequest setId(String value) { this.id = value; return this; } private static Object responseType = GetContributionResponse.class; public Object getResponseType() { return responseType; } } public static class GetContributionResponse { public ResponseStatus responseStatus = null; public Contribution contribution = null; public ResponseStatus getResponseStatus() { return responseStatus; } public GetContributionResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public Contribution getContribution() { return contribution; } public GetContributionResponse setContribution(Contribution value) { this.contribution = value; return this; } } public static class GetOperationUnTenanted implements IHasGetOptions, IGet { public String embed = null; public String getEmbed() { return embed; } public GetOperationUnTenanted setEmbed(String value) { this.embed = value; return this; } } public static interface IHasGetOptions { public String embed = null; } public static interface ITenantedRequest { public String organisationId = null; } public static class GetOperationTenanted extends GetOperationUnTenanted implements ITenantedRequest { public String organisationId = null; public String getOrganisationId() { return organisationId; } public GetOperationTenanted setOrganisationId(String value) { this.organisationId = value; return this; } } public static class Contribution implements IIdentifiableResource { public String employerId = null; public String employerName = null; public BigDecimal amount = null; public Date paymentDate = null; public Boolean distributed = null; public String id = null; public String getEmployerId() { return employerId; } public Contribution setEmployerId(String value) { this.employerId = value; return this; } public String getEmployerName() { return employerName; } public Contribution setEmployerName(String value) { this.employerName = value; return this; } public BigDecimal getAmount() { return amount; } public Contribution setAmount(BigDecimal value) { this.amount = value; return this; } public Date getPaymentDate() { return paymentDate; } public Contribution setPaymentDate(Date value) { this.paymentDate = value; return this; } public Boolean isDistributed() { return distributed; } public Contribution setDistributed(Boolean value) { this.distributed = value; return this; } public String getId() { return id; } public Contribution setId(String value) { this.id = value; return this; } } public static interface IIdentifiableResource { public String id = null; } }