/* Options: Date: 2024-12-15 19:59:32 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: GetPaymentRequest.* //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="/payments/{Id}", Verbs="GET") public static class GetPaymentRequest extends GetOperationTenanted implements IReturn { public String id = null; public String getId() { return id; } public GetPaymentRequest setId(String value) { this.id = value; return this; } private static Object responseType = GetPaymentResponse.class; public Object getResponseType() { return responseType; } } public static class GetPaymentResponse { public ResponseStatus responseStatus = null; public Payment payment = null; public ResponseStatus getResponseStatus() { return responseStatus; } public GetPaymentResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public Payment getPayment() { return payment; } public GetPaymentResponse setPayment(Payment value) { this.payment = 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 Payment implements IIdentifiableResource { public String salaryPackageId = null; public BigDecimal amount = null; public BigDecimal gstAmount = null; public String particulars = null; public String budgetCategory = null; public String status = null; public BankAccount toAccount = null; public String id = null; public String getSalaryPackageId() { return salaryPackageId; } public Payment setSalaryPackageId(String value) { this.salaryPackageId = value; return this; } public BigDecimal getAmount() { return amount; } public Payment setAmount(BigDecimal value) { this.amount = value; return this; } public BigDecimal getGstAmount() { return gstAmount; } public Payment setGstAmount(BigDecimal value) { this.gstAmount = value; return this; } public String getParticulars() { return particulars; } public Payment setParticulars(String value) { this.particulars = value; return this; } public String getBudgetCategory() { return budgetCategory; } public Payment setBudgetCategory(String value) { this.budgetCategory = value; return this; } public String getStatus() { return status; } public Payment setStatus(String value) { this.status = value; return this; } public BankAccount getToAccount() { return toAccount; } public Payment setToAccount(BankAccount value) { this.toAccount = value; return this; } public String getId() { return id; } public Payment setId(String value) { this.id = value; return this; } } public static interface IIdentifiableResource { public String id = null; } public static class BankAccount { public String bsbNumber = null; public String accountNumber = null; public String getBsbNumber() { return bsbNumber; } public BankAccount setBsbNumber(String value) { this.bsbNumber = value; return this; } public String getAccountNumber() { return accountNumber; } public BankAccount setAccountNumber(String value) { this.accountNumber = value; return this; } } }