/* Options: Date: 2026-11-08 11:30:43 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: Company.* //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="/company", Verbs="POST") public static class Company implements IReturn { public String UniqueId = null; public Date CreatedDateTime = null; public Integer ClientId = null; public String GroupId = null; public Integer CompanyId = null; public String ExternalCompanyId = null; public String CompanyName = null; public String Address1 = null; public String Address2 = null; public String City = null; public String State = null; public String ZipCode = null; public String Country = null; public String Website = null; public String PhoneNumber = null; public String Fax = null; public Integer StateId = null; public Integer CountryId = null; public Integer ChapId = null; public String getUniqueId() { return UniqueId; } public Company setUniqueId(String value) { this.UniqueId = value; return this; } public Date getCreatedDateTime() { return CreatedDateTime; } public Company setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; } public Integer getClientId() { return ClientId; } public Company setClientId(Integer value) { this.ClientId = value; return this; } public String getGroupId() { return GroupId; } public Company setGroupId(String value) { this.GroupId = value; return this; } public Integer getCompanyId() { return CompanyId; } public Company setCompanyId(Integer value) { this.CompanyId = value; return this; } public String getExternalCompanyId() { return ExternalCompanyId; } public Company setExternalCompanyId(String value) { this.ExternalCompanyId = value; return this; } public String getCompanyName() { return CompanyName; } public Company setCompanyName(String value) { this.CompanyName = value; return this; } public String getAddress1() { return Address1; } public Company setAddress1(String value) { this.Address1 = value; return this; } public String getAddress2() { return Address2; } public Company setAddress2(String value) { this.Address2 = value; return this; } public String getCity() { return City; } public Company setCity(String value) { this.City = value; return this; } public String getState() { return State; } public Company setState(String value) { this.State = value; return this; } public String getZipCode() { return ZipCode; } public Company setZipCode(String value) { this.ZipCode = value; return this; } public String getCountry() { return Country; } public Company setCountry(String value) { this.Country = value; return this; } public String getWebsite() { return Website; } public Company setWebsite(String value) { this.Website = value; return this; } public String getPhoneNumber() { return PhoneNumber; } public Company setPhoneNumber(String value) { this.PhoneNumber = value; return this; } public String getFax() { return Fax; } public Company setFax(String value) { this.Fax = value; return this; } public Integer getStateId() { return StateId; } public Company setStateId(Integer value) { this.StateId = value; return this; } public Integer getCountryId() { return CountryId; } public Company setCountryId(Integer value) { this.CountryId = value; return this; } public Integer getChapId() { return ChapId; } public Company setChapId(Integer value) { this.ChapId = value; return this; } private static Object responseType = CompanyReply.class; public Object getResponseType() { return responseType; } } public static class CompanyReply extends ReplyBase { public String UniqueId = null; public Integer CompanyId = null; public String getUniqueId() { return UniqueId; } public CompanyReply setUniqueId(String value) { this.UniqueId = value; return this; } public Integer getCompanyId() { return CompanyId; } public CompanyReply setCompanyId(Integer value) { this.CompanyId = value; return this; } } public static interface IHaveErrorField { public Boolean IsError = null; } public static class ReplyBase implements IHaveErrorField { public Integer ErrorCode = null; public String ErrorMessage = null; public Boolean IsError = null; public Integer getErrorCode() { return ErrorCode; } public ReplyBase setErrorCode(Integer value) { this.ErrorCode = value; return this; } public String getErrorMessage() { return ErrorMessage; } public ReplyBase setErrorMessage(String value) { this.ErrorMessage = value; return this; } public Boolean getIsError() { return IsError; } public ReplyBase setIsError(Boolean value) { this.IsError = value; return this; } } public static interface IHaveErrorField { public Boolean IsError = null; } }