/* Options: Date: 2026-02-14 10:08:59 Version: 10.04 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stf-api-uat.data-xchange.co.za //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: AddCustomerMaster.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { /** * Customer Master */ @Route(Path="/customerMaster", Verbs="POST") @Api(Description="Customer Master") @ApiResponse(Description="Add customer master request received", IsDefaultResponse=true, StatusCode=200) // @ApiResponse(Description="Customer master request not accepted, Confirm Sender GLN", ResponseType=UnauthorizedAccessException.class, StatusCode=403) public static class AddCustomerMaster implements IReturn { /** * Customer Master model containing all of the Customer Master data */ @ApiMember(Description="Customer Master model containing all of the Customer Master data", ParameterType="model") public CustomerMasterMessage customerMaster = null; public CustomerMasterMessage getCustomerMaster() { return customerMaster; } public AddCustomerMaster setCustomerMaster(CustomerMasterMessage value) { this.customerMaster = value; return this; } private static Object responseType = TokenDto.class; public Object getResponseType() { return responseType; } } public static class TokenDto implements ICommandResponse { public UUID token = null; public UUID getToken() { return token; } public TokenDto setToken(UUID value) { this.token = value; return this; } } public static interface ICommandResponse { } public static class CustomerMasterMessage { public TransactionalParty dataSource = null; public TransactionalParty dataRecipient = null; public String customerMasterIdentification = null; public ArrayList customer = new ArrayList(); public String documentStatusCode = null; public String documentActionCode = null; public Date creationDateTime = null; public Date lastUpdateDateTime = null; public TransactionalParty getDataSource() { return dataSource; } public CustomerMasterMessage setDataSource(TransactionalParty value) { this.dataSource = value; return this; } public TransactionalParty getDataRecipient() { return dataRecipient; } public CustomerMasterMessage setDataRecipient(TransactionalParty value) { this.dataRecipient = value; return this; } public String getCustomerMasterIdentification() { return customerMasterIdentification; } public CustomerMasterMessage setCustomerMasterIdentification(String value) { this.customerMasterIdentification = value; return this; } public ArrayList getCustomer() { return customer; } public CustomerMasterMessage setCustomer(ArrayList value) { this.customer = value; return this; } public String getDocumentStatusCode() { return documentStatusCode; } public CustomerMasterMessage setDocumentStatusCode(String value) { this.documentStatusCode = value; return this; } public String getDocumentActionCode() { return documentActionCode; } public CustomerMasterMessage setDocumentActionCode(String value) { this.documentActionCode = value; return this; } public Date getCreationDateTime() { return creationDateTime; } public CustomerMasterMessage setCreationDateTime(Date value) { this.creationDateTime = value; return this; } public Date getLastUpdateDateTime() { return lastUpdateDateTime; } public CustomerMasterMessage setLastUpdateDateTime(Date value) { this.lastUpdateDateTime = value; return this; } } }