/* Options: Date: 2026-02-14 10:17:11 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: GetTransactionalPartyById.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { /** * Transactional Party */ @Route(Path="/transactionalParty/{Id}", Verbs="GET") @Api(Description="Transactional Party") @ApiResponse(Description="transactionalParty data", IsDefaultResponse=true, StatusCode=200) // @ApiResponse(Description="No Content", ResponseType=IReturnVoid.class, StatusCode=204) // @ApiResponse(Description="Specified argument was out of the range of valid values.", ResponseType=ArgumentOutOfRangeException.class, StatusCode=400) public static class GetTransactionalPartyById implements IReturn, IGetDocumentById { /** * transactionalParty ID or Token */ @ApiMember(Description="transactionalParty ID or Token", ExcludeInSchema=true, ParameterType="path") public UUID id = null; public UUID getId() { return id; } public GetTransactionalPartyById setId(UUID value) { this.id = value; return this; } private static Object responseType = TransactionalPartyMessage.class; public Object getResponseType() { return responseType; } } public static class TransactionalPartyMessage { public Header header = null; public TransactionalPartyMessageType transactionalParty = null; public Header getHeader() { return header; } public TransactionalPartyMessage setHeader(Header value) { this.header = value; return this; } public TransactionalPartyMessageType getTransactionalParty() { return transactionalParty; } public TransactionalPartyMessage setTransactionalParty(TransactionalPartyMessageType value) { this.transactionalParty = value; return this; } } public static interface IGetDocumentById implements ISingleEntityQuery { } public static interface ISingleEntityQuery { public UUID id = null; } @DataContract public static class Header { @DataMember(Name="documentIdentification") @SerializedName("documentIdentification") public DocumentIdentification documentIdentification = null; @DataMember(Name="sender") @SerializedName("sender") public Partner sender = null; @DataMember(Name="receiver") @SerializedName("receiver") public Partner receiver = null; public DocumentIdentification getDocumentIdentification() { return documentIdentification; } public Header setDocumentIdentification(DocumentIdentification value) { this.documentIdentification = value; return this; } public Partner getSender() { return sender; } public Header setSender(Partner value) { this.sender = value; return this; } public Partner getReceiver() { return receiver; } public Header setReceiver(Partner value) { this.receiver = value; return this; } } public static class TransactionalParty extends Ecom_PartyIdentificationType { public ArrayList contact = new ArrayList(); public Address address = null; public ArrayList communicationChannel = new ArrayList(); public FinancialInstitutionInformation financialInstitutionInformation = null; public String dutyFeeTaxRegistration = null; public String entityIdentification = null; public ArrayList getContact() { return contact; } public TransactionalParty setContact(ArrayList value) { this.contact = value; return this; } public Address getAddress() { return address; } public TransactionalParty setAddress(Address value) { this.address = value; return this; } public ArrayList getCommunicationChannel() { return communicationChannel; } public TransactionalParty setCommunicationChannel(ArrayList value) { this.communicationChannel = value; return this; } public FinancialInstitutionInformation getFinancialInstitutionInformation() { return financialInstitutionInformation; } public TransactionalParty setFinancialInstitutionInformation(FinancialInstitutionInformation value) { this.financialInstitutionInformation = value; return this; } public String getDutyFeeTaxRegistration() { return dutyFeeTaxRegistration; } public TransactionalParty setDutyFeeTaxRegistration(String value) { this.dutyFeeTaxRegistration = value; return this; } public String getEntityIdentification() { return entityIdentification; } public TransactionalParty setEntityIdentification(String value) { this.entityIdentification = value; return this; } } public static enum DocumentAction { Add, ChangeByRefresh, Delete, Rejected; } public static enum DocumentStatus { AdditionalTransmission, Copy, Original; } public static class AvpList { public String code = null; public String value = null; public String getCode() { return code; } public AvpList setCode(String value) { this.code = value; return this; } public String getValue() { return value; } public AvpList setValue(String value) { this.value = value; return this; } } public static class TransactionalPartyMessageType extends TransactionalParty { public Date creationDateTime = null; public Date lastUpdateDateTime = null; public DocumentAction documentActionCode = null; public DocumentStatus documentStatusCode = null; public String documentStructureVersion = null; public Long revisionNumber = null; public ArrayList avpList = new ArrayList(); public Date getCreationDateTime() { return creationDateTime; } public TransactionalPartyMessageType setCreationDateTime(Date value) { this.creationDateTime = value; return this; } public Date getLastUpdateDateTime() { return lastUpdateDateTime; } public TransactionalPartyMessageType setLastUpdateDateTime(Date value) { this.lastUpdateDateTime = value; return this; } public DocumentAction getDocumentActionCode() { return documentActionCode; } public TransactionalPartyMessageType setDocumentActionCode(DocumentAction value) { this.documentActionCode = value; return this; } public DocumentStatus getDocumentStatusCode() { return documentStatusCode; } public TransactionalPartyMessageType setDocumentStatusCode(DocumentStatus value) { this.documentStatusCode = value; return this; } public String getDocumentStructureVersion() { return documentStructureVersion; } public TransactionalPartyMessageType setDocumentStructureVersion(String value) { this.documentStructureVersion = value; return this; } public Long getRevisionNumber() { return revisionNumber; } public TransactionalPartyMessageType setRevisionNumber(Long value) { this.revisionNumber = value; return this; } public ArrayList getAvpList() { return avpList; } public TransactionalPartyMessageType setAvpList(ArrayList value) { this.avpList = value; return this; } } @DataContract public static class DocumentIdentification { @DataMember(Name="identifier") @SerializedName("identifier") public String identifier = null; @DataMember(Name="type") @SerializedName("type") public String type = null; @DataMember(Name="creationDateAndTime") @SerializedName("creationDateAndTime") public Date creationDateAndTime = null; public String getIdentifier() { return identifier; } public DocumentIdentification setIdentifier(String value) { this.identifier = value; return this; } public String getType() { return type; } public DocumentIdentification setType(String value) { this.type = value; return this; } public Date getCreationDateAndTime() { return creationDateAndTime; } public DocumentIdentification setCreationDateAndTime(Date value) { this.creationDateAndTime = value; return this; } } @DataContract public static class Partner { @DataMember(Name="identifier") @SerializedName("identifier") public Identifier identifier = null; @DataMember(Name="contactInformation") @SerializedName("contactInformation") public ArrayList contactInformation = new ArrayList(); public Identifier getIdentifier() { return identifier; } public Partner setIdentifier(Identifier value) { this.identifier = value; return this; } public ArrayList getContactInformation() { return contactInformation; } public Partner setContactInformation(ArrayList value) { this.contactInformation = value; return this; } } public static class Contact { public String contactTypeCode = null; public String personName = null; public String departmentName = null; public String jobTitle = null; public String responsibility = null; public ArrayList communicationChannel = new ArrayList(); public String getContactTypeCode() { return contactTypeCode; } public Contact setContactTypeCode(String value) { this.contactTypeCode = value; return this; } public String getPersonName() { return personName; } public Contact setPersonName(String value) { this.personName = value; return this; } public String getDepartmentName() { return departmentName; } public Contact setDepartmentName(String value) { this.departmentName = value; return this; } public String getJobTitle() { return jobTitle; } public Contact setJobTitle(String value) { this.jobTitle = value; return this; } public String getResponsibility() { return responsibility; } public Contact setResponsibility(String value) { this.responsibility = value; return this; } public ArrayList getCommunicationChannel() { return communicationChannel; } public Contact setCommunicationChannel(ArrayList value) { this.communicationChannel = value; return this; } } public static class Address { public String streetAddressOne = null; public String streetAddressTwo = null; public String streetAddressThree = null; public String city = null; public String postalCode = null; public String provinceCode = null; public String countryCode = null; public String getStreetAddressOne() { return streetAddressOne; } public Address setStreetAddressOne(String value) { this.streetAddressOne = value; return this; } public String getStreetAddressTwo() { return streetAddressTwo; } public Address setStreetAddressTwo(String value) { this.streetAddressTwo = value; return this; } public String getStreetAddressThree() { return streetAddressThree; } public Address setStreetAddressThree(String value) { this.streetAddressThree = value; return this; } public String getCity() { return city; } public Address setCity(String value) { this.city = value; return this; } public String getPostalCode() { return postalCode; } public Address setPostalCode(String value) { this.postalCode = value; return this; } public String getProvinceCode() { return provinceCode; } public Address setProvinceCode(String value) { this.provinceCode = value; return this; } public String getCountryCode() { return countryCode; } public Address setCountryCode(String value) { this.countryCode = value; return this; } } public static class FinancialInstitutionInformation { public String financialInstitutionBranchName = null; public String financialInstitutionName = null; public FinancialRoutingNumber financialRoutingNumber = null; public FinancialAccount financialAccount = null; public String swiftCode = null; public String exportersCode = null; public String getFinancialInstitutionBranchName() { return financialInstitutionBranchName; } public FinancialInstitutionInformation setFinancialInstitutionBranchName(String value) { this.financialInstitutionBranchName = value; return this; } public String getFinancialInstitutionName() { return financialInstitutionName; } public FinancialInstitutionInformation setFinancialInstitutionName(String value) { this.financialInstitutionName = value; return this; } public FinancialRoutingNumber getFinancialRoutingNumber() { return financialRoutingNumber; } public FinancialInstitutionInformation setFinancialRoutingNumber(FinancialRoutingNumber value) { this.financialRoutingNumber = value; return this; } public FinancialAccount getFinancialAccount() { return financialAccount; } public FinancialInstitutionInformation setFinancialAccount(FinancialAccount value) { this.financialAccount = value; return this; } public String getSwiftCode() { return swiftCode; } public FinancialInstitutionInformation setSwiftCode(String value) { this.swiftCode = value; return this; } public String getExportersCode() { return exportersCode; } public FinancialInstitutionInformation setExportersCode(String value) { this.exportersCode = value; return this; } } public static class Ecom_PartyIdentificationType { public String gln = null; public String name = null; public ArrayList additionalPartyIdentification = new ArrayList(); public String getGln() { return gln; } public Ecom_PartyIdentificationType setGln(String value) { this.gln = value; return this; } public String getName() { return name; } public Ecom_PartyIdentificationType setName(String value) { this.name = value; return this; } public ArrayList getAdditionalPartyIdentification() { return additionalPartyIdentification; } public Ecom_PartyIdentificationType setAdditionalPartyIdentification(ArrayList value) { this.additionalPartyIdentification = value; return this; } } @DataContract public static class Identifier { @DataMember(Name="authority") @SerializedName("authority") public String authority = null; @DataMember(Name="text") @SerializedName("text") public String text = null; public String getAuthority() { return authority; } public Identifier setAuthority(String value) { this.authority = value; return this; } public String getText() { return text; } public Identifier setText(String value) { this.text = value; return this; } } @DataContract public static class ContactInformation { } public static class CommunicationChannel { public String communicationChannelCode = null; public String communicationChannelName = null; public String communicationValue = null; public String getCommunicationChannelCode() { return communicationChannelCode; } public CommunicationChannel setCommunicationChannelCode(String value) { this.communicationChannelCode = value; return this; } public String getCommunicationChannelName() { return communicationChannelName; } public CommunicationChannel setCommunicationChannelName(String value) { this.communicationChannelName = value; return this; } public String getCommunicationValue() { return communicationValue; } public CommunicationChannel setCommunicationValue(String value) { this.communicationValue = value; return this; } } public static class FinancialRoutingNumber { public String number = null; public String numberTypeCode = null; public String getNumber() { return number; } public FinancialRoutingNumber setNumber(String value) { this.number = value; return this; } public String getNumberTypeCode() { return numberTypeCode; } public FinancialRoutingNumber setNumberTypeCode(String value) { this.numberTypeCode = value; return this; } } public static class FinancialAccount { public String number = null; public String numberTypeCode = null; public String name = null; public String getNumber() { return number; } public FinancialAccount setNumber(String value) { this.number = value; return this; } public String getNumberTypeCode() { return numberTypeCode; } public FinancialAccount setNumberTypeCode(String value) { this.numberTypeCode = value; return this; } public String getName() { return name; } public FinancialAccount setName(String value) { this.name = value; return this; } } }