/* Options: Date: 2024-12-15 20:01:47 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: CreateContributionRequest.* //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", Verbs="POST") public static class CreateContributionRequest extends PostOperationTenanted implements IReturn { public BigDecimal amount = null; public Date paymentDate = null; public String employerId = null; public BigDecimal getAmount() { return amount; } public CreateContributionRequest setAmount(BigDecimal value) { this.amount = value; return this; } public Date getPaymentDate() { return paymentDate; } public CreateContributionRequest setPaymentDate(Date value) { this.paymentDate = value; return this; } public String getEmployerId() { return employerId; } public CreateContributionRequest setEmployerId(String value) { this.employerId = value; return this; } private static Object responseType = CreateContributionResponse.class; public Object getResponseType() { return responseType; } } public static class CreateContributionResponse { public ResponseStatus responseStatus = null; public Contribution contribution = null; public ResponseStatus getResponseStatus() { return responseStatus; } public CreateContributionResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public Contribution getContribution() { return contribution; } public CreateContributionResponse setContribution(Contribution value) { this.contribution = value; return this; } } public static class PostOperationUnTenanted implements IPost { } public static class PostOperationTenanted extends PostOperationUnTenanted implements ITenantedRequest { public String organisationId = null; public String getOrganisationId() { return organisationId; } public PostOperationTenanted setOrganisationId(String value) { this.organisationId = value; return this; } } public static interface ITenantedRequest { public String organisationId = null; } 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; } }