/* Options: Date: 2024-11-21 13:53:44 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: VismaCompanyInvoiceQuery.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/billing/visma/invoices", Verbs="GET") public static class VismaCompanyInvoiceQuery extends QueryDb implements IReturn> { /** * Invoices to retrieve created from this date */ @ApiMember(Description="Invoices to retrieve created from this date", IsRequired=true) public Date StartDate = null; /** * Invoices to retrieve created till this date */ @ApiMember(Description="Invoices to retrieve created till this date", IsRequired=true) public Date EndDate = null; /** * If you want to include the invoice lines */ @ApiMember(DataType="boolean", Description="If you want to include the invoice lines", ParameterType="query") public Boolean IncludeInvoiceLines = null; /** * If you want to include the currency information */ @ApiMember(DataType="boolean", Description="If you want to include the currency information", ParameterType="query") public Boolean IncludeCurrencyInformation = null; /** * If you want to include the invoice status information */ @ApiMember(DataType="boolean", Description="If you want to include the invoice status information", ParameterType="query") public Boolean IncludeInvoiceStatusInformation = null; public Date getStartDate() { return StartDate; } public VismaCompanyInvoiceQuery setStartDate(Date value) { this.StartDate = value; return this; } public Date getEndDate() { return EndDate; } public VismaCompanyInvoiceQuery setEndDate(Date value) { this.EndDate = value; return this; } public Boolean isIncludeInvoiceLines() { return IncludeInvoiceLines; } public VismaCompanyInvoiceQuery setIncludeInvoiceLines(Boolean value) { this.IncludeInvoiceLines = value; return this; } public Boolean isIncludeCurrencyInformation() { return IncludeCurrencyInformation; } public VismaCompanyInvoiceQuery setIncludeCurrencyInformation(Boolean value) { this.IncludeCurrencyInformation = value; return this; } public Boolean isIncludeInvoiceStatusInformation() { return IncludeInvoiceStatusInformation; } public VismaCompanyInvoiceQuery setIncludeInvoiceStatusInformation(Boolean value) { this.IncludeInvoiceStatusInformation = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @DataContract public static class QueryResponse { @DataMember(Order=1) public Integer Offset = null; @DataMember(Order=2) public Integer Total = null; @DataMember(Order=3) public ArrayList Results = null; @DataMember(Order=4) public HashMap Meta = null; @DataMember(Order=5) public ResponseStatus ResponseStatus = null; public Integer getOffset() { return Offset; } public QueryResponse setOffset(Integer value) { this.Offset = value; return this; } public Integer getTotal() { return Total; } public QueryResponse setTotal(Integer value) { this.Total = value; return this; } public ArrayList getResults() { return Results; } public QueryResponse setResults(ArrayList value) { this.Results = value; return this; } public HashMap getMeta() { return Meta; } public QueryResponse setMeta(HashMap value) { this.Meta = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public QueryResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class QueryDb extends QueryBase { } public static interface ICompany { public UUID CompanyId = null; } public static class BillingMethod extends BaseModel { public ArrayList BillingMethodCountriesRelation = null; @Required() public String Name = null; @Required() public String Description = null; public Date ModifiedDate = null; public Integer Id = null; public ArrayList getBillingMethodCountriesRelation() { return BillingMethodCountriesRelation; } public BillingMethod setBillingMethodCountriesRelation(ArrayList value) { this.BillingMethodCountriesRelation = value; return this; } public String getName() { return Name; } public BillingMethod setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public BillingMethod setDescription(String value) { this.Description = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public BillingMethod setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public BillingMethod setId(Integer value) { this.Id = value; return this; } } public static class BillingInformation extends BaseModel { public BillingMethod BillingMethod = null; @Required() public Integer BillingMethodId = null; @Required() public String Name = null; public String Attention = null; public String Street1 = null; public String Street2 = null; public String ZipCode = null; public String City = null; public String Email = null; public String CreditCard = null; public String CreditCardHolder = null; public String CreditCardNumber = null; public Short ValidToYear = null; public Short ValidToMonth = null; public String CSV = null; @Required() public Date Updated = null; @Required() public Date Created = null; @Required() public String CountryId = null; @Required() public Integer PaymentTermsDays = null; public String VATRegistrationNumber = null; public String GLN = null; public String ReferenceLine1 = null; public String ReferenceLine2 = null; public Date ModifiedDate = null; @Required() public UUID Id = null; public BillingMethod getBillingMethod() { return BillingMethod; } public BillingInformation setBillingMethod(BillingMethod value) { this.BillingMethod = value; return this; } public Integer getBillingMethodId() { return BillingMethodId; } public BillingInformation setBillingMethodId(Integer value) { this.BillingMethodId = value; return this; } public String getName() { return Name; } public BillingInformation setName(String value) { this.Name = value; return this; } public String getAttention() { return Attention; } public BillingInformation setAttention(String value) { this.Attention = value; return this; } public String getStreet1() { return Street1; } public BillingInformation setStreet1(String value) { this.Street1 = value; return this; } public String getStreet2() { return Street2; } public BillingInformation setStreet2(String value) { this.Street2 = value; return this; } public String getZipCode() { return ZipCode; } public BillingInformation setZipCode(String value) { this.ZipCode = value; return this; } public String getCity() { return City; } public BillingInformation setCity(String value) { this.City = value; return this; } public String getEmail() { return Email; } public BillingInformation setEmail(String value) { this.Email = value; return this; } public String getCreditCard() { return CreditCard; } public BillingInformation setCreditCard(String value) { this.CreditCard = value; return this; } public String getCreditCardHolder() { return CreditCardHolder; } public BillingInformation setCreditCardHolder(String value) { this.CreditCardHolder = value; return this; } public String getCreditCardNumber() { return CreditCardNumber; } public BillingInformation setCreditCardNumber(String value) { this.CreditCardNumber = value; return this; } public Short getValidToYear() { return ValidToYear; } public BillingInformation setValidToYear(Short value) { this.ValidToYear = value; return this; } public Short getValidToMonth() { return ValidToMonth; } public BillingInformation setValidToMonth(Short value) { this.ValidToMonth = value; return this; } public String getCsv() { return CSV; } public BillingInformation setCsv(String value) { this.CSV = value; return this; } public Date getUpdated() { return Updated; } public BillingInformation setUpdated(Date value) { this.Updated = value; return this; } public Date getCreated() { return Created; } public BillingInformation setCreated(Date value) { this.Created = value; return this; } public String getCountryId() { return CountryId; } public BillingInformation setCountryId(String value) { this.CountryId = value; return this; } public Integer getPaymentTermsDays() { return PaymentTermsDays; } public BillingInformation setPaymentTermsDays(Integer value) { this.PaymentTermsDays = value; return this; } public String getVatRegistrationNumber() { return VATRegistrationNumber; } public BillingInformation setVatRegistrationNumber(String value) { this.VATRegistrationNumber = value; return this; } public String getGln() { return GLN; } public BillingInformation setGln(String value) { this.GLN = value; return this; } public String getReferenceLine1() { return ReferenceLine1; } public BillingInformation setReferenceLine1(String value) { this.ReferenceLine1 = value; return this; } public String getReferenceLine2() { return ReferenceLine2; } public BillingInformation setReferenceLine2(String value) { this.ReferenceLine2 = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public BillingInformation setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public UUID getId() { return Id; } public BillingInformation setId(UUID value) { this.Id = value; return this; } } public static class CompanyInvoice extends BaseModel { @References(Currency.class) public String CurrencyId = null; public Currency CurrencyInfo = null; public InvoiceStatus InvoiceStatus = null; @Ignore() public ArrayList InvoiceLines = null; @Ignore() public BillingInformation BillingInformation = null; @Ignore() public ArrayList ExternalReferences = null; @Ignore() public Company Company = null; @Required() public UUID CompanyId = null; public Integer Id = null; @Required() public Integer StatusId = null; @Required() public Date InvoiceDate = null; public Date DueDate = null; @Required() public Date PeriodFrom = null; @Required() public Date PeriodTo = null; @Required() public Double TotalAmount = null; @Required() public Double Rounding = null; @Required() public BigDecimal VAT = null; @Required() public String VATRegistrationNo = null; @Required() public String RegistrationNumber = null; @Required() public String CompanyName = null; public String ContactPerson = null; public String Street1 = null; public String Street2 = null; public String City = null; public String Zip = null; public String Country = null; public String PaymentMethod = null; public Date ViewedDate = null; public String ViewedBy = null; public String Message = null; public Date Updated = null; public Date Created = null; public Integer PromikBookInvoiceId = null; public Date ModifiedDate = null; public String getCurrencyId() { return CurrencyId; } public CompanyInvoice setCurrencyId(String value) { this.CurrencyId = value; return this; } public Currency getCurrencyInfo() { return CurrencyInfo; } public CompanyInvoice setCurrencyInfo(Currency value) { this.CurrencyInfo = value; return this; } public InvoiceStatus getInvoiceStatus() { return InvoiceStatus; } public CompanyInvoice setInvoiceStatus(InvoiceStatus value) { this.InvoiceStatus = value; return this; } public ArrayList getInvoiceLines() { return InvoiceLines; } public CompanyInvoice setInvoiceLines(ArrayList value) { this.InvoiceLines = value; return this; } public BillingInformation getBillingInformation() { return BillingInformation; } public CompanyInvoice setBillingInformation(BillingInformation value) { this.BillingInformation = value; return this; } public ArrayList getExternalReferences() { return ExternalReferences; } public CompanyInvoice setExternalReferences(ArrayList value) { this.ExternalReferences = value; return this; } public Company getCompany() { return Company; } public CompanyInvoice setCompany(Company value) { this.Company = value; return this; } public UUID getCompanyId() { return CompanyId; } public CompanyInvoice setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public CompanyInvoice setId(Integer value) { this.Id = value; return this; } public Integer getStatusId() { return StatusId; } public CompanyInvoice setStatusId(Integer value) { this.StatusId = value; return this; } public Date getInvoiceDate() { return InvoiceDate; } public CompanyInvoice setInvoiceDate(Date value) { this.InvoiceDate = value; return this; } public Date getDueDate() { return DueDate; } public CompanyInvoice setDueDate(Date value) { this.DueDate = value; return this; } public Date getPeriodFrom() { return PeriodFrom; } public CompanyInvoice setPeriodFrom(Date value) { this.PeriodFrom = value; return this; } public Date getPeriodTo() { return PeriodTo; } public CompanyInvoice setPeriodTo(Date value) { this.PeriodTo = value; return this; } public Double getTotalAmount() { return TotalAmount; } public CompanyInvoice setTotalAmount(Double value) { this.TotalAmount = value; return this; } public Double getRounding() { return Rounding; } public CompanyInvoice setRounding(Double value) { this.Rounding = value; return this; } public BigDecimal getVat() { return VAT; } public CompanyInvoice setVat(BigDecimal value) { this.VAT = value; return this; } public String getVatRegistrationNo() { return VATRegistrationNo; } public CompanyInvoice setVatRegistrationNo(String value) { this.VATRegistrationNo = value; return this; } public String getRegistrationNumber() { return RegistrationNumber; } public CompanyInvoice setRegistrationNumber(String value) { this.RegistrationNumber = value; return this; } public String getCompanyName() { return CompanyName; } public CompanyInvoice setCompanyName(String value) { this.CompanyName = value; return this; } public String getContactPerson() { return ContactPerson; } public CompanyInvoice setContactPerson(String value) { this.ContactPerson = value; return this; } public String getStreet1() { return Street1; } public CompanyInvoice setStreet1(String value) { this.Street1 = value; return this; } public String getStreet2() { return Street2; } public CompanyInvoice setStreet2(String value) { this.Street2 = value; return this; } public String getCity() { return City; } public CompanyInvoice setCity(String value) { this.City = value; return this; } public String getZip() { return Zip; } public CompanyInvoice setZip(String value) { this.Zip = value; return this; } public String getCountry() { return Country; } public CompanyInvoice setCountry(String value) { this.Country = value; return this; } public String getPaymentMethod() { return PaymentMethod; } public CompanyInvoice setPaymentMethod(String value) { this.PaymentMethod = value; return this; } public Date getViewedDate() { return ViewedDate; } public CompanyInvoice setViewedDate(Date value) { this.ViewedDate = value; return this; } public String getViewedBy() { return ViewedBy; } public CompanyInvoice setViewedBy(String value) { this.ViewedBy = value; return this; } public String getMessage() { return Message; } public CompanyInvoice setMessage(String value) { this.Message = value; return this; } public Date getUpdated() { return Updated; } public CompanyInvoice setUpdated(Date value) { this.Updated = value; return this; } public Date getCreated() { return Created; } public CompanyInvoice setCreated(Date value) { this.Created = value; return this; } public Integer getPromikBookInvoiceId() { return PromikBookInvoiceId; } public CompanyInvoice setPromikBookInvoiceId(Integer value) { this.PromikBookInvoiceId = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CompanyInvoice setModifiedDate(Date value) { this.ModifiedDate = value; return this; } } public static class CompanyInvoiceQueryResponse { /** * The company id */ @ApiMember(Description="The company id") public UUID CompanyId = null; /** * The invoice id */ @ApiMember(Description="The invoice id") public Integer Id = null; /** * Status of the invoice */ @ApiMember(Description="Status of the invoice") public Integer StatusId = null; /** * Date of the invoice */ @ApiMember(Description="Date of the invoice") public Date InvoiceDate = null; /** * Due date of the invoice */ @ApiMember(Description="Due date of the invoice") public Date DueDate = null; /** * What start date of the invoice period */ @ApiMember(Description="What start date of the invoice period") public Date PeriodFrom = null; /** * What end date of the invoice period */ @ApiMember(Description="What end date of the invoice period") public Date PeriodTo = null; /** * The total amount of the invoice */ @ApiMember(Description="The total amount of the invoice") public Double TotalAmount = null; /** * The rounding of the total amount */ @ApiMember(Description="The rounding of the total amount") public Double Rounding = null; /** * The VAT */ @ApiMember(Description="The VAT") public BigDecimal VAT = null; /** * The VAT registration number */ @ApiMember(Description="The VAT registration number") public String VATRegistrationNo = null; /** * The company registration number */ @ApiMember(Description="The company registration number") public String RegistrationNumber = null; /** * The company name */ @ApiMember(Description="The company name") public String CompanyName = null; /** * The company owner, used for grouping invoices per CompanyOwner */ @ApiMember(Description="The company owner, used for grouping invoices per CompanyOwner") public CompanyOwnerResponse CompanyOwner = null; /** * The company type */ @ApiMember(Description="The company type") public CompanyTypeResponse CompanyType = null; /** * The company contact person */ @ApiMember(Description="The company contact person") public String ContactPerson = null; /** * The company street */ @ApiMember(Description="The company street") public String Street1 = null; /** * The company street */ @ApiMember(Description="The company street") public String Street2 = null; /** * The company city */ @ApiMember(Description="The company city") public String City = null; /** * The company zip */ @ApiMember(Description="The company zip") public String Zip = null; /** * The company country */ @ApiMember(Description="The company country") public String CountryId = null; /** * The invoice currency */ @ApiMember(Description="The invoice currency") public String CurrencyId = null; /** * The invoice created date */ @ApiMember(Description="The invoice created date") public Date Created = null; /** * The invoice updated date */ @ApiMember(Description="The invoice updated date") public Date Updated = null; /** * The reference to promikbook invoice */ @ApiMember(Description="The reference to promikbook invoice") public Integer PromikBookInvoiceId = null; /** * Any invoice message */ @ApiMember(Description="Any invoice message") public String Message = null; /** * The currency information */ @ApiMember(Description="The currency information") public CurrencyInfoResponse CurrencyInfo = null; /** * The currency information */ @ApiMember(Description="The currency information") public InvoiceStatusResponse InvoiceStatus = null; /** * The currency information */ @ApiMember(Description="The currency information") public ArrayList InvoiceLines = null; /** * Billing information */ @ApiMember(Description="Billing information") public BillingInformationResponse BillingInformation = null; public ArrayList ExternalReferences = null; public UUID getCompanyId() { return CompanyId; } public CompanyInvoiceQueryResponse setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public CompanyInvoiceQueryResponse setId(Integer value) { this.Id = value; return this; } public Integer getStatusId() { return StatusId; } public CompanyInvoiceQueryResponse setStatusId(Integer value) { this.StatusId = value; return this; } public Date getInvoiceDate() { return InvoiceDate; } public CompanyInvoiceQueryResponse setInvoiceDate(Date value) { this.InvoiceDate = value; return this; } public Date getDueDate() { return DueDate; } public CompanyInvoiceQueryResponse setDueDate(Date value) { this.DueDate = value; return this; } public Date getPeriodFrom() { return PeriodFrom; } public CompanyInvoiceQueryResponse setPeriodFrom(Date value) { this.PeriodFrom = value; return this; } public Date getPeriodTo() { return PeriodTo; } public CompanyInvoiceQueryResponse setPeriodTo(Date value) { this.PeriodTo = value; return this; } public Double getTotalAmount() { return TotalAmount; } public CompanyInvoiceQueryResponse setTotalAmount(Double value) { this.TotalAmount = value; return this; } public Double getRounding() { return Rounding; } public CompanyInvoiceQueryResponse setRounding(Double value) { this.Rounding = value; return this; } public BigDecimal getVat() { return VAT; } public CompanyInvoiceQueryResponse setVat(BigDecimal value) { this.VAT = value; return this; } public String getVatRegistrationNo() { return VATRegistrationNo; } public CompanyInvoiceQueryResponse setVatRegistrationNo(String value) { this.VATRegistrationNo = value; return this; } public String getRegistrationNumber() { return RegistrationNumber; } public CompanyInvoiceQueryResponse setRegistrationNumber(String value) { this.RegistrationNumber = value; return this; } public String getCompanyName() { return CompanyName; } public CompanyInvoiceQueryResponse setCompanyName(String value) { this.CompanyName = value; return this; } public CompanyOwnerResponse getCompanyOwner() { return CompanyOwner; } public CompanyInvoiceQueryResponse setCompanyOwner(CompanyOwnerResponse value) { this.CompanyOwner = value; return this; } public CompanyTypeResponse getCompanyType() { return CompanyType; } public CompanyInvoiceQueryResponse setCompanyType(CompanyTypeResponse value) { this.CompanyType = value; return this; } public String getContactPerson() { return ContactPerson; } public CompanyInvoiceQueryResponse setContactPerson(String value) { this.ContactPerson = value; return this; } public String getStreet1() { return Street1; } public CompanyInvoiceQueryResponse setStreet1(String value) { this.Street1 = value; return this; } public String getStreet2() { return Street2; } public CompanyInvoiceQueryResponse setStreet2(String value) { this.Street2 = value; return this; } public String getCity() { return City; } public CompanyInvoiceQueryResponse setCity(String value) { this.City = value; return this; } public String getZip() { return Zip; } public CompanyInvoiceQueryResponse setZip(String value) { this.Zip = value; return this; } public String getCountryId() { return CountryId; } public CompanyInvoiceQueryResponse setCountryId(String value) { this.CountryId = value; return this; } public String getCurrencyId() { return CurrencyId; } public CompanyInvoiceQueryResponse setCurrencyId(String value) { this.CurrencyId = value; return this; } public Date getCreated() { return Created; } public CompanyInvoiceQueryResponse setCreated(Date value) { this.Created = value; return this; } public Date getUpdated() { return Updated; } public CompanyInvoiceQueryResponse setUpdated(Date value) { this.Updated = value; return this; } public Integer getPromikBookInvoiceId() { return PromikBookInvoiceId; } public CompanyInvoiceQueryResponse setPromikBookInvoiceId(Integer value) { this.PromikBookInvoiceId = value; return this; } public String getMessage() { return Message; } public CompanyInvoiceQueryResponse setMessage(String value) { this.Message = value; return this; } public CurrencyInfoResponse getCurrencyInfo() { return CurrencyInfo; } public CompanyInvoiceQueryResponse setCurrencyInfo(CurrencyInfoResponse value) { this.CurrencyInfo = value; return this; } public InvoiceStatusResponse getInvoiceStatus() { return InvoiceStatus; } public CompanyInvoiceQueryResponse setInvoiceStatus(InvoiceStatusResponse value) { this.InvoiceStatus = value; return this; } public ArrayList getInvoiceLines() { return InvoiceLines; } public CompanyInvoiceQueryResponse setInvoiceLines(ArrayList value) { this.InvoiceLines = value; return this; } public BillingInformationResponse getBillingInformation() { return BillingInformation; } public CompanyInvoiceQueryResponse setBillingInformation(BillingInformationResponse value) { this.BillingInformation = value; return this; } public ArrayList getExternalReferences() { return ExternalReferences; } public CompanyInvoiceQueryResponse setExternalReferences(ArrayList value) { this.ExternalReferences = value; return this; } } public static class CompanyCategory extends BaseModel { @Required() public String Name = null; @Required() public String Header = null; @Required() public String Description = null; public Uri ImageUrl = null; @Required() public Boolean Active = null; public Integer SortOrder = null; public Date ModifiedDate = null; public Integer Id = null; public String getName() { return Name; } public CompanyCategory setName(String value) { this.Name = value; return this; } public String getHeader() { return Header; } public CompanyCategory setHeader(String value) { this.Header = value; return this; } public String getDescription() { return Description; } public CompanyCategory setDescription(String value) { this.Description = value; return this; } public Uri getImageUrl() { return ImageUrl; } public CompanyCategory setImageUrl(Uri value) { this.ImageUrl = value; return this; } public Boolean isActive() { return Active; } public CompanyCategory setActive(Boolean value) { this.Active = value; return this; } public Integer getSortOrder() { return SortOrder; } public CompanyCategory setSortOrder(Integer value) { this.SortOrder = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CompanyCategory setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public CompanyCategory setId(Integer value) { this.Id = value; return this; } } public static class CompanyType extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; public Date ModifiedDate = null; @Required() public Integer Id = null; public String getName() { return Name; } public CompanyType setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public CompanyType setDescription(String value) { this.Description = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CompanyType setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public CompanyType setId(Integer value) { this.Id = value; return this; } } public static class Company extends BaseModel { @Ignore() public CompanyStatus Status = null; @Ignore() public Boolean Active = null; @Ignore() public IList CustomerCustomFieldsConfig = null; @Ignore() public String BookingAgreements = null; @Ignore() public BookingSettings BookingSettings = null; @Ignore() public CompanyType CompanyType = null; @Ignore() public CodeLockSetting CodeLockSettings = null; @Ignore() public PaymentSetting PaymentSettings = null; @Ignore() public CompanySetting Settings = null; @Ignore() public HomepageWidgetSetting WidgetSettings = null; @Ignore() public HomepageSetting HomepageSettings = null; @Ignore() public AverageRatingScore RatingScore = null; @Ignore() public ArrayList Ratings = null; @Ignore() public Double Distance = null; @Ignore() public ArrayList Licenses = null; @Ignore() public ArrayList ActiveLicenses = null; @Ignore() public License CurrentLicense = null; @Ignore() public Boolean IsFreeAccount = null; @Ignore() public CultureInfo DefaultLanguage = null; public CompanyCategory Category = null; @Ignore() public Double Lat = null; @Ignore() public Double Lon = null; @Ignore() public Boolean IsFavorite = null; @Ignore() public IList ExternalReferences = null; @Required() public String OrganisationNumber = null; @Required() public Integer StatusId = null; @Required() public Integer CategoryId = null; @Required() public String SitePath = null; @Required() public String Name = null; public String Street1 = null; public String Street2 = null; public String ZipCode = null; public String City = null; public String OpeningHours = null; public String FaxNumber = null; @Required() public String Email = null; public String Phone = null; public String Details = null; public String LogoType = null; @Required() public Boolean ApprovedByAdmin = null; @Required() public Date Updated = null; @Required() public Date Created = null; public String IpAddress = null; public String Homepage = null; public String DomainName = null; @Required() public String CountryId = null; @Required() public Integer CompanyOwnerId = null; public Integer TypeId = null; public Date ModifiedDate = null; @Required() public UUID Id = null; public CompanyStatus getStatus() { return Status; } public Company setStatus(CompanyStatus value) { this.Status = value; return this; } public Boolean isActive() { return Active; } public Company setActive(Boolean value) { this.Active = value; return this; } public IList getCustomerCustomFieldsConfig() { return CustomerCustomFieldsConfig; } public Company setCustomerCustomFieldsConfig(IList value) { this.CustomerCustomFieldsConfig = value; return this; } public String getBookingAgreements() { return BookingAgreements; } public Company setBookingAgreements(String value) { this.BookingAgreements = value; return this; } public BookingSettings getBookingSettings() { return BookingSettings; } public Company setBookingSettings(BookingSettings value) { this.BookingSettings = value; return this; } public CompanyType getCompanyType() { return CompanyType; } public Company setCompanyType(CompanyType value) { this.CompanyType = value; return this; } public CodeLockSetting getCodeLockSettings() { return CodeLockSettings; } public Company setCodeLockSettings(CodeLockSetting value) { this.CodeLockSettings = value; return this; } public PaymentSetting getPaymentSettings() { return PaymentSettings; } public Company setPaymentSettings(PaymentSetting value) { this.PaymentSettings = value; return this; } public CompanySetting getSettings() { return Settings; } public Company setSettings(CompanySetting value) { this.Settings = value; return this; } public HomepageWidgetSetting getWidgetSettings() { return WidgetSettings; } public Company setWidgetSettings(HomepageWidgetSetting value) { this.WidgetSettings = value; return this; } public HomepageSetting getHomepageSettings() { return HomepageSettings; } public Company setHomepageSettings(HomepageSetting value) { this.HomepageSettings = value; return this; } public AverageRatingScore getRatingScore() { return RatingScore; } public Company setRatingScore(AverageRatingScore value) { this.RatingScore = value; return this; } public ArrayList getRatings() { return Ratings; } public Company setRatings(ArrayList value) { this.Ratings = value; return this; } public Double getDistance() { return Distance; } public Company setDistance(Double value) { this.Distance = value; return this; } public ArrayList getLicenses() { return Licenses; } public Company setLicenses(ArrayList value) { this.Licenses = value; return this; } public ArrayList getActiveLicenses() { return ActiveLicenses; } public Company setActiveLicenses(ArrayList value) { this.ActiveLicenses = value; return this; } public License getCurrentLicense() { return CurrentLicense; } public Company setCurrentLicense(License value) { this.CurrentLicense = value; return this; } public Boolean getIsFreeAccount() { return IsFreeAccount; } public Company setIsFreeAccount(Boolean value) { this.IsFreeAccount = value; return this; } public CultureInfo getDefaultLanguage() { return DefaultLanguage; } public Company setDefaultLanguage(CultureInfo value) { this.DefaultLanguage = value; return this; } public CompanyCategory getCategory() { return Category; } public Company setCategory(CompanyCategory value) { this.Category = value; return this; } public Double getLat() { return Lat; } public Company setLat(Double value) { this.Lat = value; return this; } public Double getLon() { return Lon; } public Company setLon(Double value) { this.Lon = value; return this; } public Boolean getIsFavorite() { return IsFavorite; } public Company setIsFavorite(Boolean value) { this.IsFavorite = value; return this; } public IList getExternalReferences() { return ExternalReferences; } public Company setExternalReferences(IList value) { this.ExternalReferences = value; return this; } public String getOrganisationNumber() { return OrganisationNumber; } public Company setOrganisationNumber(String value) { this.OrganisationNumber = value; return this; } public Integer getStatusId() { return StatusId; } public Company setStatusId(Integer value) { this.StatusId = value; return this; } public Integer getCategoryId() { return CategoryId; } public Company setCategoryId(Integer value) { this.CategoryId = value; return this; } public String getSitePath() { return SitePath; } public Company setSitePath(String value) { this.SitePath = value; return this; } public String getName() { return Name; } public Company setName(String value) { this.Name = value; return this; } public String getStreet1() { return Street1; } public Company setStreet1(String value) { this.Street1 = value; return this; } public String getStreet2() { return Street2; } public Company setStreet2(String value) { this.Street2 = value; return this; } public String getZipCode() { return ZipCode; } public Company setZipCode(String value) { this.ZipCode = value; return this; } public String getCity() { return City; } public Company setCity(String value) { this.City = value; return this; } public String getOpeningHours() { return OpeningHours; } public Company setOpeningHours(String value) { this.OpeningHours = value; return this; } public String getFaxNumber() { return FaxNumber; } public Company setFaxNumber(String value) { this.FaxNumber = value; return this; } public String getEmail() { return Email; } public Company setEmail(String value) { this.Email = value; return this; } public String getPhone() { return Phone; } public Company setPhone(String value) { this.Phone = value; return this; } public String getDetails() { return Details; } public Company setDetails(String value) { this.Details = value; return this; } public String getLogoType() { return LogoType; } public Company setLogoType(String value) { this.LogoType = value; return this; } public Boolean isApprovedByAdmin() { return ApprovedByAdmin; } public Company setApprovedByAdmin(Boolean value) { this.ApprovedByAdmin = value; return this; } public Date getUpdated() { return Updated; } public Company setUpdated(Date value) { this.Updated = value; return this; } public Date getCreated() { return Created; } public Company setCreated(Date value) { this.Created = value; return this; } public String getIpAddress() { return IpAddress; } public Company setIpAddress(String value) { this.IpAddress = value; return this; } public String getHomepage() { return Homepage; } public Company setHomepage(String value) { this.Homepage = value; return this; } public String getDomainName() { return DomainName; } public Company setDomainName(String value) { this.DomainName = value; return this; } public String getCountryId() { return CountryId; } public Company setCountryId(String value) { this.CountryId = value; return this; } public Integer getCompanyOwnerId() { return CompanyOwnerId; } public Company setCompanyOwnerId(Integer value) { this.CompanyOwnerId = value; return this; } public Integer getTypeId() { return TypeId; } public Company setTypeId(Integer value) { this.TypeId = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public Company setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public UUID getId() { return Id; } public Company setId(UUID value) { this.Id = value; return this; } } public static class Country extends BaseModel { @References(Currency.class) public String CurrencyId = null; public Currency CurrencyInfo = null; @Required() public String Name = null; public String Culture = null; public String TimeZone = null; public Date ModifiedDate = null; @Required() public String Id = null; public String getCurrencyId() { return CurrencyId; } public Country setCurrencyId(String value) { this.CurrencyId = value; return this; } public Currency getCurrencyInfo() { return CurrencyInfo; } public Country setCurrencyInfo(Currency value) { this.CurrencyInfo = value; return this; } public String getName() { return Name; } public Country setName(String value) { this.Name = value; return this; } public String getCulture() { return Culture; } public Country setCulture(String value) { this.Culture = value; return this; } public String getTimeZone() { return TimeZone; } public Country setTimeZone(String value) { this.TimeZone = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public Country setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public String getId() { return Id; } public Country setId(String value) { this.Id = value; return this; } } public static class Currency extends BaseModel { @Required() public String Name = null; @Required() public String CurrencySign = null; @Required() public Boolean Active = null; public Date ModifiedDate = null; @Required() public String Id = null; public String getName() { return Name; } public Currency setName(String value) { this.Name = value; return this; } public String getCurrencySign() { return CurrencySign; } public Currency setCurrencySign(String value) { this.CurrencySign = value; return this; } public Boolean isActive() { return Active; } public Currency setActive(Boolean value) { this.Active = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public Currency setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public String getId() { return Id; } public Currency setId(String value) { this.Id = value; return this; } } public static class CustomFieldConfig extends BaseModel { @Ignore() public ArrayList Values = null; public CustomField CustomField = null; @Ignore() public RegEx RegEx = null; @Ignore() public ArrayList Services = null; public ArrayList CustomFieldServiceRelation = null; @Required() public UUID CompanyId = null; public Integer Id = null; public Integer GroupId = null; @Required() public Integer FieldId = null; @Required() public Integer IconId = null; public Integer RegExId = null; @Required() public String Name = null; @Required() public String Description = null; @Required() public String Datatype = null; @Required() public Integer MaxLength = null; @Required() public Boolean IsPublic = null; @Required() public Boolean IsHidden = null; @Required() public Boolean IsMandatory = null; public String DefaultValue = null; public String RegExErrorMessage = null; public String MandatoryErrorMessage = null; public Integer Width = null; @Required() public Boolean MultipleLineText = null; public Date ModifiedDate = null; public ArrayList getValues() { return Values; } public CustomFieldConfig setValues(ArrayList value) { this.Values = value; return this; } public CustomField getCustomField() { return CustomField; } public CustomFieldConfig setCustomField(CustomField value) { this.CustomField = value; return this; } public RegEx getRegEx() { return RegEx; } public CustomFieldConfig setRegEx(RegEx value) { this.RegEx = value; return this; } public ArrayList getServices() { return Services; } public CustomFieldConfig setServices(ArrayList value) { this.Services = value; return this; } public ArrayList getCustomFieldServiceRelation() { return CustomFieldServiceRelation; } public CustomFieldConfig setCustomFieldServiceRelation(ArrayList value) { this.CustomFieldServiceRelation = value; return this; } public UUID getCompanyId() { return CompanyId; } public CustomFieldConfig setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public CustomFieldConfig setId(Integer value) { this.Id = value; return this; } public Integer getGroupId() { return GroupId; } public CustomFieldConfig setGroupId(Integer value) { this.GroupId = value; return this; } public Integer getFieldId() { return FieldId; } public CustomFieldConfig setFieldId(Integer value) { this.FieldId = value; return this; } public Integer getIconId() { return IconId; } public CustomFieldConfig setIconId(Integer value) { this.IconId = value; return this; } public Integer getRegExId() { return RegExId; } public CustomFieldConfig setRegExId(Integer value) { this.RegExId = value; return this; } public String getName() { return Name; } public CustomFieldConfig setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public CustomFieldConfig setDescription(String value) { this.Description = value; return this; } public String getDatatype() { return Datatype; } public CustomFieldConfig setDatatype(String value) { this.Datatype = value; return this; } public Integer getMaxLength() { return MaxLength; } public CustomFieldConfig setMaxLength(Integer value) { this.MaxLength = value; return this; } public Boolean getIsPublic() { return IsPublic; } public CustomFieldConfig setIsPublic(Boolean value) { this.IsPublic = value; return this; } public Boolean getIsHidden() { return IsHidden; } public CustomFieldConfig setIsHidden(Boolean value) { this.IsHidden = value; return this; } public Boolean getIsMandatory() { return IsMandatory; } public CustomFieldConfig setIsMandatory(Boolean value) { this.IsMandatory = value; return this; } public String getDefaultValue() { return DefaultValue; } public CustomFieldConfig setDefaultValue(String value) { this.DefaultValue = value; return this; } public String getRegExErrorMessage() { return RegExErrorMessage; } public CustomFieldConfig setRegExErrorMessage(String value) { this.RegExErrorMessage = value; return this; } public String getMandatoryErrorMessage() { return MandatoryErrorMessage; } public CustomFieldConfig setMandatoryErrorMessage(String value) { this.MandatoryErrorMessage = value; return this; } public Integer getWidth() { return Width; } public CustomFieldConfig setWidth(Integer value) { this.Width = value; return this; } public Boolean isMultipleLineText() { return MultipleLineText; } public CustomFieldConfig setMultipleLineText(Boolean value) { this.MultipleLineText = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CustomFieldConfig setModifiedDate(Date value) { this.ModifiedDate = value; return this; } } public static class License extends BaseModel { public LicenseType Type = null; @Required() public UUID CompanyId = null; public Integer Id = null; @Required() public Integer TypeId = null; @Required() public Date ValidFrom = null; @Required() public Date ValidTo = null; @Required() public Boolean Active = null; @Required() public Date Updated = null; @Required() public Date Created = null; public Date ModifiedDate = null; public String MetaData = null; public LicenseType getType() { return Type; } public License setType(LicenseType value) { this.Type = value; return this; } public UUID getCompanyId() { return CompanyId; } public License setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public License setId(Integer value) { this.Id = value; return this; } public Integer getTypeId() { return TypeId; } public License setTypeId(Integer value) { this.TypeId = value; return this; } public Date getValidFrom() { return ValidFrom; } public License setValidFrom(Date value) { this.ValidFrom = value; return this; } public Date getValidTo() { return ValidTo; } public License setValidTo(Date value) { this.ValidTo = value; return this; } public Boolean isActive() { return Active; } public License setActive(Boolean value) { this.Active = value; return this; } public Date getUpdated() { return Updated; } public License setUpdated(Date value) { this.Updated = value; return this; } public Date getCreated() { return Created; } public License setCreated(Date value) { this.Created = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public License setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public String getMetaData() { return MetaData; } public License setMetaData(String value) { this.MetaData = value; return this; } } public static class LicenseType extends BaseModel { @Ignore() public IList LicenseItems = null; @Ignore() public IList Prices = null; @Ignore() public Integer PeriodOfNoticeDays = null; @Ignore() public LicenseType NextLicenseOption = null; @Required() public String Name = null; @Required() public String Description = null; @Required() public Boolean ExtraLicenseOption = null; public Date ModifiedDate = null; public Boolean Active = null; public Integer Id = null; public IList getLicenseItems() { return LicenseItems; } public LicenseType setLicenseItems(IList value) { this.LicenseItems = value; return this; } public IList getPrices() { return Prices; } public LicenseType setPrices(IList value) { this.Prices = value; return this; } public Integer getPeriodOfNoticeDays() { return PeriodOfNoticeDays; } public LicenseType setPeriodOfNoticeDays(Integer value) { this.PeriodOfNoticeDays = value; return this; } public LicenseType getNextLicenseOption() { return NextLicenseOption; } public LicenseType setNextLicenseOption(LicenseType value) { this.NextLicenseOption = value; return this; } public String getName() { return Name; } public LicenseType setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public LicenseType setDescription(String value) { this.Description = value; return this; } public Boolean isExtraLicenseOption() { return ExtraLicenseOption; } public LicenseType setExtraLicenseOption(Boolean value) { this.ExtraLicenseOption = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public LicenseType setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Boolean isActive() { return Active; } public LicenseType setActive(Boolean value) { this.Active = value; return this; } public Integer getId() { return Id; } public LicenseType setId(Integer value) { this.Id = value; return this; } } public static class Rating extends BaseModel { public UUID ReviewId = null; public Review Review = null; @Required() public UUID CompanyId = null; @Required() public Integer BookingId = null; @Required() public Integer RatingScore = null; @Required() public Integer Status = null; @Required() public Date Created = null; @Required() public Date Updated = null; public Date ModifiedDate = null; public UUID getReviewId() { return ReviewId; } public Rating setReviewId(UUID value) { this.ReviewId = value; return this; } public Review getReview() { return Review; } public Rating setReview(Review value) { this.Review = value; return this; } public UUID getCompanyId() { return CompanyId; } public Rating setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getBookingId() { return BookingId; } public Rating setBookingId(Integer value) { this.BookingId = value; return this; } public Integer getRatingScore() { return RatingScore; } public Rating setRatingScore(Integer value) { this.RatingScore = value; return this; } public Integer getStatus() { return Status; } public Rating setStatus(Integer value) { this.Status = value; return this; } public Date getCreated() { return Created; } public Rating setCreated(Date value) { this.Created = value; return this; } public Date getUpdated() { return Updated; } public Rating setUpdated(Date value) { this.Updated = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public Rating setModifiedDate(Date value) { this.ModifiedDate = value; return this; } } public static class Review extends BaseModel { public UUID ReviewId = null; @Required() public UUID CompanyId = null; @Required() public String Title = null; @Required() public String Description = null; @Required() public String Author = null; @Required() public Integer Status = null; @Required() public Date Created = null; @Required() public Date Updated = null; public Date ModifiedDate = null; public String ReviewAnswer = null; public UUID getReviewId() { return ReviewId; } public Review setReviewId(UUID value) { this.ReviewId = value; return this; } public UUID getCompanyId() { return CompanyId; } public Review setCompanyId(UUID value) { this.CompanyId = value; return this; } public String getTitle() { return Title; } public Review setTitle(String value) { this.Title = value; return this; } public String getDescription() { return Description; } public Review setDescription(String value) { this.Description = value; return this; } public String getAuthor() { return Author; } public Review setAuthor(String value) { this.Author = value; return this; } public Integer getStatus() { return Status; } public Review setStatus(Integer value) { this.Status = value; return this; } public Date getCreated() { return Created; } public Review setCreated(Date value) { this.Created = value; return this; } public Date getUpdated() { return Updated; } public Review setUpdated(Date value) { this.Updated = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public Review setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public String getReviewAnswer() { return ReviewAnswer; } public Review setReviewAnswer(String value) { this.ReviewAnswer = value; return this; } } public static class ExternalReference extends BaseModel { @Required() public UUID CompanyId = null; @Required() public UUID Id = null; @Required() public UUID OwnerId = null; @Required() public String ReferenceType = null; public String ExternalData = null; public String CreatedBy = null; @Required() public Date Updated = null; @Required() public Date Created = null; public Date ModifiedDate = null; public UUID getCompanyId() { return CompanyId; } public ExternalReference setCompanyId(UUID value) { this.CompanyId = value; return this; } public UUID getId() { return Id; } public ExternalReference setId(UUID value) { this.Id = value; return this; } public UUID getOwnerId() { return OwnerId; } public ExternalReference setOwnerId(UUID value) { this.OwnerId = value; return this; } public String getReferenceType() { return ReferenceType; } public ExternalReference setReferenceType(String value) { this.ReferenceType = value; return this; } public String getExternalData() { return ExternalData; } public ExternalReference setExternalData(String value) { this.ExternalData = value; return this; } public String getCreatedBy() { return CreatedBy; } public ExternalReference setCreatedBy(String value) { this.CreatedBy = value; return this; } public Date getUpdated() { return Updated; } public ExternalReference setUpdated(Date value) { this.Updated = value; return this; } public Date getCreated() { return Created; } public ExternalReference setCreated(Date value) { this.Created = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public ExternalReference setModifiedDate(Date value) { this.ModifiedDate = value; return this; } } public static class BookingStatusOptions { public Integer Id = null; public String Name = null; public String Description = null; public Integer getId() { return Id; } public BookingStatusOptions setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public BookingStatusOptions setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public BookingStatusOptions setDescription(String value) { this.Description = value; return this; } } public static class LanguageResponse { public String Id = null; public String Name = null; public String getId() { return Id; } public LanguageResponse setId(String value) { this.Id = value; return this; } public String getName() { return Name; } public LanguageResponse setName(String value) { this.Name = value; return this; } } @DataContract public static class QueryBase { /** * Skip over a given number of elements in a sequence and then return the remainder. Use this when you need paging.

Example:
?skip=10&orderBy=Id */ @DataMember(Order=1) public Integer Skip = null; /** * Return a given number of elements in a sequence and then skip over the remainder. Use this when you need paging.

Example:
?take=20 */ @DataMember(Order=2) public Integer Take = null; /** * Comma separated list of fields to order by. Prefix the field name with a minus if you wan't to invert the sort for that field.

Example:
?orderBy=Id,-Age,FirstName */ @DataMember(Order=3) public String OrderBy = null; /** * Comma separated list of fields to order by in descending order. Prefix the field name with a minus if you wan't to invert the sort for that field.

Example:
?orderByDesc=Id,-Age,FirstName */ @DataMember(Order=4) public String OrderByDesc = null; /** * Include any of the aggregates AVG, COUNT, FIRST, LAST, MAX, MIN, SUM in your result set. The results will be returned in the meta field.

Example:
?include=COUNT(*) as Total

or multiple fields with
?include=Count(*) Total, Min(Age), AVG(Age) AverageAge

or unique with
?include=COUNT(DISTINCT LivingStatus) as UniqueStatus */ @DataMember(Order=5) public String Include = null; @DataMember(Order=6) public String Fields = null; @DataMember(Order=7) public HashMap Meta = null; public Integer getSkip() { return Skip; } public QueryBase setSkip(Integer value) { this.Skip = value; return this; } public Integer getTake() { return Take; } public QueryBase setTake(Integer value) { this.Take = value; return this; } public String getOrderBy() { return OrderBy; } public QueryBase setOrderBy(String value) { this.OrderBy = value; return this; } public String getOrderByDesc() { return OrderByDesc; } public QueryBase setOrderByDesc(String value) { this.OrderByDesc = value; return this; } public String getInclude() { return Include; } public QueryBase setInclude(String value) { this.Include = value; return this; } public String getFields() { return Fields; } public QueryBase setFields(String value) { this.Fields = value; return this; } public HashMap getMeta() { return Meta; } public QueryBase setMeta(HashMap value) { this.Meta = value; return this; } } public static class BaseModel { } public static class BillingMethodCountriesRelation extends BaseModel { @Required() public Integer BillingMethodId = null; @Required() public String CountryId = null; public Date ModifiedDate = null; public Integer getBillingMethodId() { return BillingMethodId; } public BillingMethodCountriesRelation setBillingMethodId(Integer value) { this.BillingMethodId = value; return this; } public String getCountryId() { return CountryId; } public BillingMethodCountriesRelation setCountryId(String value) { this.CountryId = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public BillingMethodCountriesRelation setModifiedDate(Date value) { this.ModifiedDate = value; return this; } } public static class InvoiceStatus extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; public Date ModifiedDate = null; @Required() public Integer Id = null; public String getName() { return Name; } public InvoiceStatus setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public InvoiceStatus setDescription(String value) { this.Description = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public InvoiceStatus setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public InvoiceStatus setId(Integer value) { this.Id = value; return this; } } public static class CompanyInvoiceLine extends BaseModel { @Required() public UUID CompanyId = null; @Required() public Integer InvoiceId = null; @Required() public Integer Id = null; @Required() public Date PeriodFrom = null; @Required() public Date PeriodTo = null; public Integer ArticleNumber = null; @Required() public String ArticleName = null; @Required() public String ArticleDescription = null; @Required() public Integer Quantity = null; @Required() public Double UnitPrice = null; @Required() public Double SubTotal = null; @Required() public Integer Rebate = null; public Date Updated = null; public Date Created = null; public Date ModifiedDate = null; public UUID getCompanyId() { return CompanyId; } public CompanyInvoiceLine setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getInvoiceId() { return InvoiceId; } public CompanyInvoiceLine setInvoiceId(Integer value) { this.InvoiceId = value; return this; } public Integer getId() { return Id; } public CompanyInvoiceLine setId(Integer value) { this.Id = value; return this; } public Date getPeriodFrom() { return PeriodFrom; } public CompanyInvoiceLine setPeriodFrom(Date value) { this.PeriodFrom = value; return this; } public Date getPeriodTo() { return PeriodTo; } public CompanyInvoiceLine setPeriodTo(Date value) { this.PeriodTo = value; return this; } public Integer getArticleNumber() { return ArticleNumber; } public CompanyInvoiceLine setArticleNumber(Integer value) { this.ArticleNumber = value; return this; } public String getArticleName() { return ArticleName; } public CompanyInvoiceLine setArticleName(String value) { this.ArticleName = value; return this; } public String getArticleDescription() { return ArticleDescription; } public CompanyInvoiceLine setArticleDescription(String value) { this.ArticleDescription = value; return this; } public Integer getQuantity() { return Quantity; } public CompanyInvoiceLine setQuantity(Integer value) { this.Quantity = value; return this; } public Double getUnitPrice() { return UnitPrice; } public CompanyInvoiceLine setUnitPrice(Double value) { this.UnitPrice = value; return this; } public Double getSubTotal() { return SubTotal; } public CompanyInvoiceLine setSubTotal(Double value) { this.SubTotal = value; return this; } public Integer getRebate() { return Rebate; } public CompanyInvoiceLine setRebate(Integer value) { this.Rebate = value; return this; } public Date getUpdated() { return Updated; } public CompanyInvoiceLine setUpdated(Date value) { this.Updated = value; return this; } public Date getCreated() { return Created; } public CompanyInvoiceLine setCreated(Date value) { this.Created = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CompanyInvoiceLine setModifiedDate(Date value) { this.ModifiedDate = value; return this; } } public static class CompanyOwnerResponse { /** * Company owner id */ @ApiMember(Description="Company owner id") public Integer Id = null; /** * Company owner name */ @ApiMember(Description="Company owner name") public String Name = null; public Integer getId() { return Id; } public CompanyOwnerResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public CompanyOwnerResponse setName(String value) { this.Name = value; return this; } } public static class CompanyTypeResponse { /** * Company type id */ @ApiMember(Description="Company type id") public Integer Id = null; /** * Company type name */ @ApiMember(Description="Company type name") public String Name = null; public Integer getId() { return Id; } public CompanyTypeResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public CompanyTypeResponse setName(String value) { this.Name = value; return this; } } public static class CurrencyInfoResponse { /** * The currency id */ @ApiMember(Description="The currency id") public String Id = null; /** * The currency id */ @ApiMember(Description="The currency id") public String Name = null; /** * The currency id */ @ApiMember(Description="The currency id") public String CurrencySign = null; public String getId() { return Id; } public CurrencyInfoResponse setId(String value) { this.Id = value; return this; } public String getName() { return Name; } public CurrencyInfoResponse setName(String value) { this.Name = value; return this; } public String getCurrencySign() { return CurrencySign; } public CurrencyInfoResponse setCurrencySign(String value) { this.CurrencySign = value; return this; } } public static class InvoiceStatusResponse { /** * The status id */ @ApiMember(Description="The status id") public Integer Id = null; /** * The status name */ @ApiMember(Description="The status name") public String Name = null; /** * The status description */ @ApiMember(Description="The status description") public String Description = null; public Integer getId() { return Id; } public InvoiceStatusResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public InvoiceStatusResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public InvoiceStatusResponse setDescription(String value) { this.Description = value; return this; } } public static class InvoiceLineResponse { /** * The invoice id */ @ApiMember(Description="The invoice id") public Integer InvoiceId = null; /** * The invoice line id */ @ApiMember(Description="The invoice line id") public Integer Id = null; /** * The invoice line period from date */ @ApiMember(Description="The invoice line period from date") public Date PeriodFrom = null; /** * The invoice line period to date */ @ApiMember(Description="The invoice line period to date") public Date PeriodTo = null; /** * The invoice line article number */ @ApiMember(Description="The invoice line article number") public Integer ArticleNumber = null; /** * The invoice line article name */ @ApiMember(Description="The invoice line article name") public String ArticleName = null; /** * The invoice line article description */ @ApiMember(Description="The invoice line article description") public String ArticleDescription = null; /** * The invoice line quantity */ @ApiMember(Description="The invoice line quantity") public Integer Quantity = null; /** * The invoice line unit price */ @ApiMember(Description="The invoice line unit price") public Double UnitPrice = null; /** * The invoice line sub total */ @ApiMember(Description="The invoice line sub total") public Double SubTotal = null; /** * The invoice line rebate in percent */ @ApiMember(Description="The invoice line rebate in percent") public Integer Rebate = null; /** * The invoice line updated date */ @ApiMember(Description="The invoice line updated date") public Date Updated = null; /** * The invoice line created date */ @ApiMember(Description="The invoice line created date") public Date Created = null; public Integer getInvoiceId() { return InvoiceId; } public InvoiceLineResponse setInvoiceId(Integer value) { this.InvoiceId = value; return this; } public Integer getId() { return Id; } public InvoiceLineResponse setId(Integer value) { this.Id = value; return this; } public Date getPeriodFrom() { return PeriodFrom; } public InvoiceLineResponse setPeriodFrom(Date value) { this.PeriodFrom = value; return this; } public Date getPeriodTo() { return PeriodTo; } public InvoiceLineResponse setPeriodTo(Date value) { this.PeriodTo = value; return this; } public Integer getArticleNumber() { return ArticleNumber; } public InvoiceLineResponse setArticleNumber(Integer value) { this.ArticleNumber = value; return this; } public String getArticleName() { return ArticleName; } public InvoiceLineResponse setArticleName(String value) { this.ArticleName = value; return this; } public String getArticleDescription() { return ArticleDescription; } public InvoiceLineResponse setArticleDescription(String value) { this.ArticleDescription = value; return this; } public Integer getQuantity() { return Quantity; } public InvoiceLineResponse setQuantity(Integer value) { this.Quantity = value; return this; } public Double getUnitPrice() { return UnitPrice; } public InvoiceLineResponse setUnitPrice(Double value) { this.UnitPrice = value; return this; } public Double getSubTotal() { return SubTotal; } public InvoiceLineResponse setSubTotal(Double value) { this.SubTotal = value; return this; } public Integer getRebate() { return Rebate; } public InvoiceLineResponse setRebate(Integer value) { this.Rebate = value; return this; } public Date getUpdated() { return Updated; } public InvoiceLineResponse setUpdated(Date value) { this.Updated = value; return this; } public Date getCreated() { return Created; } public InvoiceLineResponse setCreated(Date value) { this.Created = value; return this; } } public static enum CompanyStatus { Registered(1), AwaitingApproval(2), Approved(3), Inactive(4), ClosedDown(5), NotApproved(6); private final int value; CompanyStatus(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class BookingSettings extends BaseModel { @References(FreeSpotTexts.class) public Integer FreeSpotTextsId = null; @Ignore() public Boolean SendEmailConfirmation = null; @Ignore() public ArrayList ScheduleViewOptions = null; @Ignore() public ArrayList WeekNumberSettingOptions = null; @Ignore() public ArrayList BookingTemplateOptions = null; @Ignore() public ArrayList CalendarTypeOptions = null; @Ignore() public ArrayList FreeSpotTextOptions = null; @Ignore() public ArrayList BookingStatusOptions = null; public FreeSpotTexts FreeSpotTextsInfo = null; @Ignore() public String FreeSpotsTextSingular = null; @Ignore() public String FreeSpotsTextPlural = null; @Required() public Integer BookingStatusId = null; @Required() public Integer ScheduleViewId = null; @Required() public Integer BookingTemplateId = null; @Required() public Integer CalendarTypeId = null; @Required() public Boolean AllowBookingOnUnbookedTimes = null; @Required() public Boolean SendEmailReminder = null; @Required() public Boolean SendSmsReminder = null; @Required() public Boolean SendSmsConfirmation = null; @Required() public Integer EmailReminderTime = null; @Required() public Integer SmsReminderTime = null; @Required() public Integer MaxActiveBookings = null; @Required() public Boolean SendNotifications = null; public String SendNotificationsEmail = null; @Required() public Boolean EnableMobileApp = null; public TimeSpan ScheduleStartTime = null; public TimeSpan ScheduleEndTime = null; public String ReceiptTemplate = null; @Required() public Integer ScheduleTimeSlotMinutes = null; @Required() public Boolean ShowFreeTimesLeft = null; @Required() public Boolean EnableICalGroupBookings = null; public String AgreementTemplate = null; @Required() public Boolean ScheduleShowTimeExeptions = null; @Required() public Boolean EnableBookingsOnSameTime = null; @Required() public Integer ShowWeekNumberSettingId = null; @Required() public Boolean EnableShowBookedTimes = null; @Required() public Boolean EnableSendFollowUpMessage = null; @Required() public Integer FollowUpMessageTime = null; public String MessageText = null; @Required() public Boolean ScheduleGroupResources = null; @Required() public Integer BookSpotUserResponseMinutes = null; @Required() public Boolean IsBookSpotDirectly = null; @Required() public Integer BookSpotDirectlyTimeLeftMinutes = null; @Required() public Boolean SendEmailNotificationQueue = null; @Required() public Boolean SendSMSNotificationQueue = null; @Required() public Boolean SchedulerDisableHorizontalScrolling = null; @Required() public Boolean BookOnlyOnExistingCustomers = null; @Required() public Boolean AutoGenerateUniquePinCode = null; @Required() public Boolean WeightedPrices = null; public Date ModifiedDate = null; @Required() public Boolean AutoCreateUserProfile = null; public Boolean ShowMultipleResourcesAsOne = null; public Boolean ShowMultiDayAsTime = null; @Required() public UUID Id = null; public Integer getFreeSpotTextsId() { return FreeSpotTextsId; } public BookingSettings setFreeSpotTextsId(Integer value) { this.FreeSpotTextsId = value; return this; } public Boolean isSendEmailConfirmation() { return SendEmailConfirmation; } public BookingSettings setSendEmailConfirmation(Boolean value) { this.SendEmailConfirmation = value; return this; } public ArrayList getScheduleViewOptions() { return ScheduleViewOptions; } public BookingSettings setScheduleViewOptions(ArrayList value) { this.ScheduleViewOptions = value; return this; } public ArrayList getWeekNumberSettingOptions() { return WeekNumberSettingOptions; } public BookingSettings setWeekNumberSettingOptions(ArrayList value) { this.WeekNumberSettingOptions = value; return this; } public ArrayList getBookingTemplateOptions() { return BookingTemplateOptions; } public BookingSettings setBookingTemplateOptions(ArrayList value) { this.BookingTemplateOptions = value; return this; } public ArrayList getCalendarTypeOptions() { return CalendarTypeOptions; } public BookingSettings setCalendarTypeOptions(ArrayList value) { this.CalendarTypeOptions = value; return this; } public ArrayList getFreeSpotTextOptions() { return FreeSpotTextOptions; } public BookingSettings setFreeSpotTextOptions(ArrayList value) { this.FreeSpotTextOptions = value; return this; } public ArrayList getBookingStatusOptions() { return BookingStatusOptions; } public BookingSettings setBookingStatusOptions(ArrayList value) { this.BookingStatusOptions = value; return this; } public FreeSpotTexts getFreeSpotTextsInfo() { return FreeSpotTextsInfo; } public BookingSettings setFreeSpotTextsInfo(FreeSpotTexts value) { this.FreeSpotTextsInfo = value; return this; } public String getFreeSpotsTextSingular() { return FreeSpotsTextSingular; } public BookingSettings setFreeSpotsTextSingular(String value) { this.FreeSpotsTextSingular = value; return this; } public String getFreeSpotsTextPlural() { return FreeSpotsTextPlural; } public BookingSettings setFreeSpotsTextPlural(String value) { this.FreeSpotsTextPlural = value; return this; } public Integer getBookingStatusId() { return BookingStatusId; } public BookingSettings setBookingStatusId(Integer value) { this.BookingStatusId = value; return this; } public Integer getScheduleViewId() { return ScheduleViewId; } public BookingSettings setScheduleViewId(Integer value) { this.ScheduleViewId = value; return this; } public Integer getBookingTemplateId() { return BookingTemplateId; } public BookingSettings setBookingTemplateId(Integer value) { this.BookingTemplateId = value; return this; } public Integer getCalendarTypeId() { return CalendarTypeId; } public BookingSettings setCalendarTypeId(Integer value) { this.CalendarTypeId = value; return this; } public Boolean isAllowBookingOnUnbookedTimes() { return AllowBookingOnUnbookedTimes; } public BookingSettings setAllowBookingOnUnbookedTimes(Boolean value) { this.AllowBookingOnUnbookedTimes = value; return this; } public Boolean isSendEmailReminder() { return SendEmailReminder; } public BookingSettings setSendEmailReminder(Boolean value) { this.SendEmailReminder = value; return this; } public Boolean isSendSmsReminder() { return SendSmsReminder; } public BookingSettings setSendSmsReminder(Boolean value) { this.SendSmsReminder = value; return this; } public Boolean isSendSmsConfirmation() { return SendSmsConfirmation; } public BookingSettings setSendSmsConfirmation(Boolean value) { this.SendSmsConfirmation = value; return this; } public Integer getEmailReminderTime() { return EmailReminderTime; } public BookingSettings setEmailReminderTime(Integer value) { this.EmailReminderTime = value; return this; } public Integer getSmsReminderTime() { return SmsReminderTime; } public BookingSettings setSmsReminderTime(Integer value) { this.SmsReminderTime = value; return this; } public Integer getMaxActiveBookings() { return MaxActiveBookings; } public BookingSettings setMaxActiveBookings(Integer value) { this.MaxActiveBookings = value; return this; } public Boolean isSendNotifications() { return SendNotifications; } public BookingSettings setSendNotifications(Boolean value) { this.SendNotifications = value; return this; } public String getSendNotificationsEmail() { return SendNotificationsEmail; } public BookingSettings setSendNotificationsEmail(String value) { this.SendNotificationsEmail = value; return this; } public Boolean isEnableMobileApp() { return EnableMobileApp; } public BookingSettings setEnableMobileApp(Boolean value) { this.EnableMobileApp = value; return this; } public TimeSpan getScheduleStartTime() { return ScheduleStartTime; } public BookingSettings setScheduleStartTime(TimeSpan value) { this.ScheduleStartTime = value; return this; } public TimeSpan getScheduleEndTime() { return ScheduleEndTime; } public BookingSettings setScheduleEndTime(TimeSpan value) { this.ScheduleEndTime = value; return this; } public String getReceiptTemplate() { return ReceiptTemplate; } public BookingSettings setReceiptTemplate(String value) { this.ReceiptTemplate = value; return this; } public Integer getScheduleTimeSlotMinutes() { return ScheduleTimeSlotMinutes; } public BookingSettings setScheduleTimeSlotMinutes(Integer value) { this.ScheduleTimeSlotMinutes = value; return this; } public Boolean isShowFreeTimesLeft() { return ShowFreeTimesLeft; } public BookingSettings setShowFreeTimesLeft(Boolean value) { this.ShowFreeTimesLeft = value; return this; } public Boolean isEnableICalGroupBookings() { return EnableICalGroupBookings; } public BookingSettings setEnableICalGroupBookings(Boolean value) { this.EnableICalGroupBookings = value; return this; } public String getAgreementTemplate() { return AgreementTemplate; } public BookingSettings setAgreementTemplate(String value) { this.AgreementTemplate = value; return this; } public Boolean isScheduleShowTimeExeptions() { return ScheduleShowTimeExeptions; } public BookingSettings setScheduleShowTimeExeptions(Boolean value) { this.ScheduleShowTimeExeptions = value; return this; } public Boolean isEnableBookingsOnSameTime() { return EnableBookingsOnSameTime; } public BookingSettings setEnableBookingsOnSameTime(Boolean value) { this.EnableBookingsOnSameTime = value; return this; } public Integer getShowWeekNumberSettingId() { return ShowWeekNumberSettingId; } public BookingSettings setShowWeekNumberSettingId(Integer value) { this.ShowWeekNumberSettingId = value; return this; } public Boolean isEnableShowBookedTimes() { return EnableShowBookedTimes; } public BookingSettings setEnableShowBookedTimes(Boolean value) { this.EnableShowBookedTimes = value; return this; } public Boolean isEnableSendFollowUpMessage() { return EnableSendFollowUpMessage; } public BookingSettings setEnableSendFollowUpMessage(Boolean value) { this.EnableSendFollowUpMessage = value; return this; } public Integer getFollowUpMessageTime() { return FollowUpMessageTime; } public BookingSettings setFollowUpMessageTime(Integer value) { this.FollowUpMessageTime = value; return this; } public String getMessageText() { return MessageText; } public BookingSettings setMessageText(String value) { this.MessageText = value; return this; } public Boolean isScheduleGroupResources() { return ScheduleGroupResources; } public BookingSettings setScheduleGroupResources(Boolean value) { this.ScheduleGroupResources = value; return this; } public Integer getBookSpotUserResponseMinutes() { return BookSpotUserResponseMinutes; } public BookingSettings setBookSpotUserResponseMinutes(Integer value) { this.BookSpotUserResponseMinutes = value; return this; } public Boolean getIsBookSpotDirectly() { return IsBookSpotDirectly; } public BookingSettings setIsBookSpotDirectly(Boolean value) { this.IsBookSpotDirectly = value; return this; } public Integer getBookSpotDirectlyTimeLeftMinutes() { return BookSpotDirectlyTimeLeftMinutes; } public BookingSettings setBookSpotDirectlyTimeLeftMinutes(Integer value) { this.BookSpotDirectlyTimeLeftMinutes = value; return this; } public Boolean isSendEmailNotificationQueue() { return SendEmailNotificationQueue; } public BookingSettings setSendEmailNotificationQueue(Boolean value) { this.SendEmailNotificationQueue = value; return this; } public Boolean isSendSMSNotificationQueue() { return SendSMSNotificationQueue; } public BookingSettings setSendSMSNotificationQueue(Boolean value) { this.SendSMSNotificationQueue = value; return this; } public Boolean isSchedulerDisableHorizontalScrolling() { return SchedulerDisableHorizontalScrolling; } public BookingSettings setSchedulerDisableHorizontalScrolling(Boolean value) { this.SchedulerDisableHorizontalScrolling = value; return this; } public Boolean isBookOnlyOnExistingCustomers() { return BookOnlyOnExistingCustomers; } public BookingSettings setBookOnlyOnExistingCustomers(Boolean value) { this.BookOnlyOnExistingCustomers = value; return this; } public Boolean isAutoGenerateUniquePinCode() { return AutoGenerateUniquePinCode; } public BookingSettings setAutoGenerateUniquePinCode(Boolean value) { this.AutoGenerateUniquePinCode = value; return this; } public Boolean isWeightedPrices() { return WeightedPrices; } public BookingSettings setWeightedPrices(Boolean value) { this.WeightedPrices = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public BookingSettings setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Boolean isAutoCreateUserProfile() { return AutoCreateUserProfile; } public BookingSettings setAutoCreateUserProfile(Boolean value) { this.AutoCreateUserProfile = value; return this; } public Boolean isShowMultipleResourcesAsOne() { return ShowMultipleResourcesAsOne; } public BookingSettings setShowMultipleResourcesAsOne(Boolean value) { this.ShowMultipleResourcesAsOne = value; return this; } public Boolean isShowMultiDayAsTime() { return ShowMultiDayAsTime; } public BookingSettings setShowMultiDayAsTime(Boolean value) { this.ShowMultiDayAsTime = value; return this; } public UUID getId() { return Id; } public BookingSettings setId(UUID value) { this.Id = value; return this; } } public static class CodeLockSetting extends BaseModel { @Ignore() public ArrayList CodeLockSystemOptions = null; @Required() public Boolean Active = null; @Required() public Integer CodeLockSystemsId = null; @Required() public Integer ValidBeforeMinutes = null; @Required() public Integer ValidAfterMinutes = null; @Required() public Boolean DeleteOldBySchedule = null; @Required() public Date Created = null; @Required() public Date Updated = null; public Date ModifiedDate = null; @Required() public Boolean SendEmailNotification = null; @Required() public Boolean SendSMSNotification = null; @Required() public Short EmailNotificationTime = null; @Required() public Short SMSNotificationTime = null; @Required() public UUID Id = null; public ArrayList getCodeLockSystemOptions() { return CodeLockSystemOptions; } public CodeLockSetting setCodeLockSystemOptions(ArrayList value) { this.CodeLockSystemOptions = value; return this; } public Boolean isActive() { return Active; } public CodeLockSetting setActive(Boolean value) { this.Active = value; return this; } public Integer getCodeLockSystemsId() { return CodeLockSystemsId; } public CodeLockSetting setCodeLockSystemsId(Integer value) { this.CodeLockSystemsId = value; return this; } public Integer getValidBeforeMinutes() { return ValidBeforeMinutes; } public CodeLockSetting setValidBeforeMinutes(Integer value) { this.ValidBeforeMinutes = value; return this; } public Integer getValidAfterMinutes() { return ValidAfterMinutes; } public CodeLockSetting setValidAfterMinutes(Integer value) { this.ValidAfterMinutes = value; return this; } public Boolean isDeleteOldBySchedule() { return DeleteOldBySchedule; } public CodeLockSetting setDeleteOldBySchedule(Boolean value) { this.DeleteOldBySchedule = value; return this; } public Date getCreated() { return Created; } public CodeLockSetting setCreated(Date value) { this.Created = value; return this; } public Date getUpdated() { return Updated; } public CodeLockSetting setUpdated(Date value) { this.Updated = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CodeLockSetting setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Boolean isSendEmailNotification() { return SendEmailNotification; } public CodeLockSetting setSendEmailNotification(Boolean value) { this.SendEmailNotification = value; return this; } public Boolean isSendSMSNotification() { return SendSMSNotification; } public CodeLockSetting setSendSMSNotification(Boolean value) { this.SendSMSNotification = value; return this; } public Short getEmailNotificationTime() { return EmailNotificationTime; } public CodeLockSetting setEmailNotificationTime(Short value) { this.EmailNotificationTime = value; return this; } public Short getSmsNotificationTime() { return SMSNotificationTime; } public CodeLockSetting setSmsNotificationTime(Short value) { this.SMSNotificationTime = value; return this; } public UUID getId() { return Id; } public CodeLockSetting setId(UUID value) { this.Id = value; return this; } } public static class PaymentSetting extends BaseModel { public AdminPaymentOptions AdminPaymentOption = null; @Ignore() public ArrayList AdminPaymentOptions = null; @Ignore() public ArrayList PaymentProviderOptions = null; @Required() public Boolean Enabled = null; @Required() public Integer InvoiceFee = null; @Required() public Boolean AllowCreditCardPayment = null; @Required() public Boolean AllowInvoicePayment = null; @Required() public Boolean AllowBankPayment = null; @Required() public Boolean GuaranteeOffered = null; @Required() public Boolean RefundOnCancelBooking = null; public Integer DefaultPaymentOptionId = null; @Required() public Integer PaymentProviderId = null; @Required() public Boolean SendPaymentRequestDirectly = null; public Date ModifiedDate = null; @Required() public UUID Id = null; public AdminPaymentOptions getAdminPaymentOption() { return AdminPaymentOption; } public PaymentSetting setAdminPaymentOption(AdminPaymentOptions value) { this.AdminPaymentOption = value; return this; } public ArrayList getAdminPaymentOptions() { return AdminPaymentOptions; } public PaymentSetting setAdminPaymentOptions(ArrayList value) { this.AdminPaymentOptions = value; return this; } public ArrayList getPaymentProviderOptions() { return PaymentProviderOptions; } public PaymentSetting setPaymentProviderOptions(ArrayList value) { this.PaymentProviderOptions = value; return this; } public Boolean isEnabled() { return Enabled; } public PaymentSetting setEnabled(Boolean value) { this.Enabled = value; return this; } public Integer getInvoiceFee() { return InvoiceFee; } public PaymentSetting setInvoiceFee(Integer value) { this.InvoiceFee = value; return this; } public Boolean isAllowCreditCardPayment() { return AllowCreditCardPayment; } public PaymentSetting setAllowCreditCardPayment(Boolean value) { this.AllowCreditCardPayment = value; return this; } public Boolean isAllowInvoicePayment() { return AllowInvoicePayment; } public PaymentSetting setAllowInvoicePayment(Boolean value) { this.AllowInvoicePayment = value; return this; } public Boolean isAllowBankPayment() { return AllowBankPayment; } public PaymentSetting setAllowBankPayment(Boolean value) { this.AllowBankPayment = value; return this; } public Boolean isGuaranteeOffered() { return GuaranteeOffered; } public PaymentSetting setGuaranteeOffered(Boolean value) { this.GuaranteeOffered = value; return this; } public Boolean isRefundOnCancelBooking() { return RefundOnCancelBooking; } public PaymentSetting setRefundOnCancelBooking(Boolean value) { this.RefundOnCancelBooking = value; return this; } public Integer getDefaultPaymentOptionId() { return DefaultPaymentOptionId; } public PaymentSetting setDefaultPaymentOptionId(Integer value) { this.DefaultPaymentOptionId = value; return this; } public Integer getPaymentProviderId() { return PaymentProviderId; } public PaymentSetting setPaymentProviderId(Integer value) { this.PaymentProviderId = value; return this; } public Boolean isSendPaymentRequestDirectly() { return SendPaymentRequestDirectly; } public PaymentSetting setSendPaymentRequestDirectly(Boolean value) { this.SendPaymentRequestDirectly = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public PaymentSetting setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public UUID getId() { return Id; } public PaymentSetting setId(UUID value) { this.Id = value; return this; } } public static class CompanySetting extends BaseModel { @Ignore() public ArrayList Languages = null; @Required() public Boolean Active = null; public String InactiveMessage = null; @Required() public Boolean Searchable = null; public String GATrackingId = null; public String FacebookPixelId = null; @Required() public Boolean MultiLanguage = null; @Required() public Boolean EnableAPITranslation = null; @Required() public String DefaultLanguage = null; public Date ModifiedDate = null; public String GTMTrackingId = null; @Required() public Boolean ShowOnMarketPlace = null; public String GoogleAdsConversionId = null; public String LinkedinTagId = null; public String GoogleAdsConversionLabel = null; public Boolean SendCustomerInformationToExternalProviders = null; @Required() public UUID Id = null; public ArrayList getLanguages() { return Languages; } public CompanySetting setLanguages(ArrayList value) { this.Languages = value; return this; } public Boolean isActive() { return Active; } public CompanySetting setActive(Boolean value) { this.Active = value; return this; } public String getInactiveMessage() { return InactiveMessage; } public CompanySetting setInactiveMessage(String value) { this.InactiveMessage = value; return this; } public Boolean isSearchable() { return Searchable; } public CompanySetting setSearchable(Boolean value) { this.Searchable = value; return this; } public String getGaTrackingId() { return GATrackingId; } public CompanySetting setGaTrackingId(String value) { this.GATrackingId = value; return this; } public String getFacebookPixelId() { return FacebookPixelId; } public CompanySetting setFacebookPixelId(String value) { this.FacebookPixelId = value; return this; } public Boolean isMultiLanguage() { return MultiLanguage; } public CompanySetting setMultiLanguage(Boolean value) { this.MultiLanguage = value; return this; } public Boolean isEnableAPITranslation() { return EnableAPITranslation; } public CompanySetting setEnableAPITranslation(Boolean value) { this.EnableAPITranslation = value; return this; } public String getDefaultLanguage() { return DefaultLanguage; } public CompanySetting setDefaultLanguage(String value) { this.DefaultLanguage = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CompanySetting setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public String getGtmTrackingId() { return GTMTrackingId; } public CompanySetting setGtmTrackingId(String value) { this.GTMTrackingId = value; return this; } public Boolean isShowOnMarketPlace() { return ShowOnMarketPlace; } public CompanySetting setShowOnMarketPlace(Boolean value) { this.ShowOnMarketPlace = value; return this; } public String getGoogleAdsConversionId() { return GoogleAdsConversionId; } public CompanySetting setGoogleAdsConversionId(String value) { this.GoogleAdsConversionId = value; return this; } public String getLinkedinTagId() { return LinkedinTagId; } public CompanySetting setLinkedinTagId(String value) { this.LinkedinTagId = value; return this; } public String getGoogleAdsConversionLabel() { return GoogleAdsConversionLabel; } public CompanySetting setGoogleAdsConversionLabel(String value) { this.GoogleAdsConversionLabel = value; return this; } public Boolean isSendCustomerInformationToExternalProviders() { return SendCustomerInformationToExternalProviders; } public CompanySetting setSendCustomerInformationToExternalProviders(Boolean value) { this.SendCustomerInformationToExternalProviders = value; return this; } public UUID getId() { return Id; } public CompanySetting setId(UUID value) { this.Id = value; return this; } } public static class HomepageWidgetSetting extends BaseModel { @Ignore() public ArrayList WidgetServiceLayoutOptions = null; @Ignore() public ArrayList WidgetTimeLayoutOptions = null; @Ignore() public ArrayList WidgetBookingLayoutOptions = null; @Ignore() public ArrayList WidgetBookingMethodOptions = null; @Required() public Integer ServiceLayoutId = null; @Required() public Integer TimeLayoutId = null; @Required() public Integer BookingLayoutId = null; @Required() public String PrimaryColor = null; @Required() public Boolean ShowServiceImage = null; @Required() public Boolean ShowNextAvailableTime = null; @Required() public Boolean ShowEndTime = null; public String BookedTimeSlotText = null; @Required() public Boolean DarkTheme = null; @Required() public Boolean ShowRebateCodeField = null; public Date ModifiedDate = null; @Required() public Boolean EnableCreateAccount = null; @Required() public Boolean EnableLogin = null; @Required() public Boolean EnableDirectBooking = null; @Required() public Boolean EnableFacebookLogin = null; @Required() public Boolean ShowSubscribeToNewsletter = null; @Required() public UUID Id = null; public ArrayList getWidgetServiceLayoutOptions() { return WidgetServiceLayoutOptions; } public HomepageWidgetSetting setWidgetServiceLayoutOptions(ArrayList value) { this.WidgetServiceLayoutOptions = value; return this; } public ArrayList getWidgetTimeLayoutOptions() { return WidgetTimeLayoutOptions; } public HomepageWidgetSetting setWidgetTimeLayoutOptions(ArrayList value) { this.WidgetTimeLayoutOptions = value; return this; } public ArrayList getWidgetBookingLayoutOptions() { return WidgetBookingLayoutOptions; } public HomepageWidgetSetting setWidgetBookingLayoutOptions(ArrayList value) { this.WidgetBookingLayoutOptions = value; return this; } public ArrayList getWidgetBookingMethodOptions() { return WidgetBookingMethodOptions; } public HomepageWidgetSetting setWidgetBookingMethodOptions(ArrayList value) { this.WidgetBookingMethodOptions = value; return this; } public Integer getServiceLayoutId() { return ServiceLayoutId; } public HomepageWidgetSetting setServiceLayoutId(Integer value) { this.ServiceLayoutId = value; return this; } public Integer getTimeLayoutId() { return TimeLayoutId; } public HomepageWidgetSetting setTimeLayoutId(Integer value) { this.TimeLayoutId = value; return this; } public Integer getBookingLayoutId() { return BookingLayoutId; } public HomepageWidgetSetting setBookingLayoutId(Integer value) { this.BookingLayoutId = value; return this; } public String getPrimaryColor() { return PrimaryColor; } public HomepageWidgetSetting setPrimaryColor(String value) { this.PrimaryColor = value; return this; } public Boolean isShowServiceImage() { return ShowServiceImage; } public HomepageWidgetSetting setShowServiceImage(Boolean value) { this.ShowServiceImage = value; return this; } public Boolean isShowNextAvailableTime() { return ShowNextAvailableTime; } public HomepageWidgetSetting setShowNextAvailableTime(Boolean value) { this.ShowNextAvailableTime = value; return this; } public Boolean isShowEndTime() { return ShowEndTime; } public HomepageWidgetSetting setShowEndTime(Boolean value) { this.ShowEndTime = value; return this; } public String getBookedTimeSlotText() { return BookedTimeSlotText; } public HomepageWidgetSetting setBookedTimeSlotText(String value) { this.BookedTimeSlotText = value; return this; } public Boolean isDarkTheme() { return DarkTheme; } public HomepageWidgetSetting setDarkTheme(Boolean value) { this.DarkTheme = value; return this; } public Boolean isShowRebateCodeField() { return ShowRebateCodeField; } public HomepageWidgetSetting setShowRebateCodeField(Boolean value) { this.ShowRebateCodeField = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public HomepageWidgetSetting setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Boolean isEnableCreateAccount() { return EnableCreateAccount; } public HomepageWidgetSetting setEnableCreateAccount(Boolean value) { this.EnableCreateAccount = value; return this; } public Boolean isEnableLogin() { return EnableLogin; } public HomepageWidgetSetting setEnableLogin(Boolean value) { this.EnableLogin = value; return this; } public Boolean isEnableDirectBooking() { return EnableDirectBooking; } public HomepageWidgetSetting setEnableDirectBooking(Boolean value) { this.EnableDirectBooking = value; return this; } public Boolean isEnableFacebookLogin() { return EnableFacebookLogin; } public HomepageWidgetSetting setEnableFacebookLogin(Boolean value) { this.EnableFacebookLogin = value; return this; } public Boolean isShowSubscribeToNewsletter() { return ShowSubscribeToNewsletter; } public HomepageWidgetSetting setShowSubscribeToNewsletter(Boolean value) { this.ShowSubscribeToNewsletter = value; return this; } public UUID getId() { return Id; } public HomepageWidgetSetting setId(UUID value) { this.Id = value; return this; } } public static class HomepageSetting extends BaseModel implements ICompany { @Ignore() public ArrayList HomepageTemplateOptions = null; @Ignore() public ArrayList HomepageHeroSectionStyleOptions = null; @Ignore() public UUID CompanyId = null; public String WelcomePageHeading = null; public String WelcomePageBody = null; public String AboutUsPageHeading = null; public String AboutUsPageBody = null; @Required() public Integer HomePageTemplateId = null; public String ImageUrl = null; @Required() public Date Updated = null; @Required() public Date Created = null; public String HomepageHeading = null; @Required() public Integer HeroSectionStyleId = null; public Date ModifiedDate = null; @Required() public Boolean ShowRating = null; @Required() public Boolean EnableHomepage = null; @Required() public UUID Id = null; public ArrayList getHomepageTemplateOptions() { return HomepageTemplateOptions; } public HomepageSetting setHomepageTemplateOptions(ArrayList value) { this.HomepageTemplateOptions = value; return this; } public ArrayList getHomepageHeroSectionStyleOptions() { return HomepageHeroSectionStyleOptions; } public HomepageSetting setHomepageHeroSectionStyleOptions(ArrayList value) { this.HomepageHeroSectionStyleOptions = value; return this; } public UUID getCompanyId() { return CompanyId; } public HomepageSetting setCompanyId(UUID value) { this.CompanyId = value; return this; } public String getWelcomePageHeading() { return WelcomePageHeading; } public HomepageSetting setWelcomePageHeading(String value) { this.WelcomePageHeading = value; return this; } public String getWelcomePageBody() { return WelcomePageBody; } public HomepageSetting setWelcomePageBody(String value) { this.WelcomePageBody = value; return this; } public String getAboutUsPageHeading() { return AboutUsPageHeading; } public HomepageSetting setAboutUsPageHeading(String value) { this.AboutUsPageHeading = value; return this; } public String getAboutUsPageBody() { return AboutUsPageBody; } public HomepageSetting setAboutUsPageBody(String value) { this.AboutUsPageBody = value; return this; } public Integer getHomePageTemplateId() { return HomePageTemplateId; } public HomepageSetting setHomePageTemplateId(Integer value) { this.HomePageTemplateId = value; return this; } public String getImageUrl() { return ImageUrl; } public HomepageSetting setImageUrl(String value) { this.ImageUrl = value; return this; } public Date getUpdated() { return Updated; } public HomepageSetting setUpdated(Date value) { this.Updated = value; return this; } public Date getCreated() { return Created; } public HomepageSetting setCreated(Date value) { this.Created = value; return this; } public String getHomepageHeading() { return HomepageHeading; } public HomepageSetting setHomepageHeading(String value) { this.HomepageHeading = value; return this; } public Integer getHeroSectionStyleId() { return HeroSectionStyleId; } public HomepageSetting setHeroSectionStyleId(Integer value) { this.HeroSectionStyleId = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public HomepageSetting setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Boolean isShowRating() { return ShowRating; } public HomepageSetting setShowRating(Boolean value) { this.ShowRating = value; return this; } public Boolean isEnableHomepage() { return EnableHomepage; } public HomepageSetting setEnableHomepage(Boolean value) { this.EnableHomepage = value; return this; } public UUID getId() { return Id; } public HomepageSetting setId(UUID value) { this.Id = value; return this; } } public static class AverageRatingScore { public Double AverageScore = null; public Integer Score1Count = null; public Integer Score2Count = null; public Integer Score3Count = null; public Integer Score4Count = null; public Integer Score5Count = null; public Integer Count = null; public Double getAverageScore() { return AverageScore; } public AverageRatingScore setAverageScore(Double value) { this.AverageScore = value; return this; } public Integer getScore1Count() { return Score1Count; } public AverageRatingScore setScore1Count(Integer value) { this.Score1Count = value; return this; } public Integer getScore2Count() { return Score2Count; } public AverageRatingScore setScore2Count(Integer value) { this.Score2Count = value; return this; } public Integer getScore3Count() { return Score3Count; } public AverageRatingScore setScore3Count(Integer value) { this.Score3Count = value; return this; } public Integer getScore4Count() { return Score4Count; } public AverageRatingScore setScore4Count(Integer value) { this.Score4Count = value; return this; } public Integer getScore5Count() { return Score5Count; } public AverageRatingScore setScore5Count(Integer value) { this.Score5Count = value; return this; } public Integer getCount() { return Count; } public AverageRatingScore setCount(Integer value) { this.Count = value; return this; } } public static class CustomFieldValue extends BaseModel { @Required() public UUID CompanyId = null; public Integer Id = null; @Required() public String Value = null; @Required() public Boolean Active = null; public Short SortOrder = null; public Date ModifiedDate = null; public UUID getCompanyId() { return CompanyId; } public CustomFieldValue setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public CustomFieldValue setId(Integer value) { this.Id = value; return this; } public String getValue() { return Value; } public CustomFieldValue setValue(String value) { this.Value = value; return this; } public Boolean isActive() { return Active; } public CustomFieldValue setActive(Boolean value) { this.Active = value; return this; } public Short getSortOrder() { return SortOrder; } public CustomFieldValue setSortOrder(Short value) { this.SortOrder = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CustomFieldValue setModifiedDate(Date value) { this.ModifiedDate = value; return this; } } public static class CustomField extends BaseModel { @Required() public String Table = null; @Required() public String Column = null; @Required() public String DataType = null; @Required() public String Description = null; @Required() public Boolean Active = null; public Date ModifiedDate = null; public Integer Id = null; public String getTable() { return Table; } public CustomField setTable(String value) { this.Table = value; return this; } public String getColumn() { return Column; } public CustomField setColumn(String value) { this.Column = value; return this; } public String getDataType() { return DataType; } public CustomField setDataType(String value) { this.DataType = value; return this; } public String getDescription() { return Description; } public CustomField setDescription(String value) { this.Description = value; return this; } public Boolean isActive() { return Active; } public CustomField setActive(Boolean value) { this.Active = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CustomField setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public CustomField setId(Integer value) { this.Id = value; return this; } } public static class RegEx extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; @Required() public String RegExCode = null; public String ErrorMessage = null; public Date ModifiedDate = null; public Integer Id = null; public String getName() { return Name; } public RegEx setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public RegEx setDescription(String value) { this.Description = value; return this; } public String getRegExCode() { return RegExCode; } public RegEx setRegExCode(String value) { this.RegExCode = value; return this; } public String getErrorMessage() { return ErrorMessage; } public RegEx setErrorMessage(String value) { this.ErrorMessage = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public RegEx setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public RegEx setId(Integer value) { this.Id = value; return this; } } public static class CustomFieldServiceRelation extends BaseModel { @Required() public UUID CompanyId = null; public Integer Id = null; @Required() public Integer CustomFieldConfigId = null; @Required() public Integer ServiceId = null; public Date ModifiedDate = null; public UUID getCompanyId() { return CompanyId; } public CustomFieldServiceRelation setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public CustomFieldServiceRelation setId(Integer value) { this.Id = value; return this; } public Integer getCustomFieldConfigId() { return CustomFieldConfigId; } public CustomFieldServiceRelation setCustomFieldConfigId(Integer value) { this.CustomFieldConfigId = value; return this; } public Integer getServiceId() { return ServiceId; } public CustomFieldServiceRelation setServiceId(Integer value) { this.ServiceId = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CustomFieldServiceRelation setModifiedDate(Date value) { this.ModifiedDate = value; return this; } } public static class LicensePrice extends BaseModel { @Ignore() public Country Country = null; @Ignore() public Boolean MonthlyPayment = null; @Required() public Integer LicenseTypeId = null; @Required() public String CountryId = null; @Required() public Integer Price = null; public Date ModifiedDate = null; public Country getCountry() { return Country; } public LicensePrice setCountry(Country value) { this.Country = value; return this; } public Boolean isMonthlyPayment() { return MonthlyPayment; } public LicensePrice setMonthlyPayment(Boolean value) { this.MonthlyPayment = value; return this; } public Integer getLicenseTypeId() { return LicenseTypeId; } public LicensePrice setLicenseTypeId(Integer value) { this.LicenseTypeId = value; return this; } public String getCountryId() { return CountryId; } public LicensePrice setCountryId(String value) { this.CountryId = value; return this; } public Integer getPrice() { return Price; } public LicensePrice setPrice(Integer value) { this.Price = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public LicensePrice setModifiedDate(Date value) { this.ModifiedDate = value; return this; } } public static class LicenseTypeItem extends BaseModel { @Ignore() public String Name = null; @Ignore() public LicenseType LicenseType = null; @Required() public Integer LicenseTypesId = null; @Required() public Integer LicenseItemsId = null; @Required() public Integer NumberOfItems = null; public Integer Id = null; public Date ModifiedDate = null; public String getName() { return Name; } public LicenseTypeItem setName(String value) { this.Name = value; return this; } public LicenseType getLicenseType() { return LicenseType; } public LicenseTypeItem setLicenseType(LicenseType value) { this.LicenseType = value; return this; } public Integer getLicenseTypesId() { return LicenseTypesId; } public LicenseTypeItem setLicenseTypesId(Integer value) { this.LicenseTypesId = value; return this; } public Integer getLicenseItemsId() { return LicenseItemsId; } public LicenseTypeItem setLicenseItemsId(Integer value) { this.LicenseItemsId = value; return this; } public Integer getNumberOfItems() { return NumberOfItems; } public LicenseTypeItem setNumberOfItems(Integer value) { this.NumberOfItems = value; return this; } public Integer getId() { return Id; } public LicenseTypeItem setId(Integer value) { this.Id = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public LicenseTypeItem setModifiedDate(Date value) { this.ModifiedDate = value; return this; } } public static class ScheduleView extends BaseModel { @Required() public String Name = null; public Date ModifiedDate = null; public Integer Id = null; public String getName() { return Name; } public ScheduleView setName(String value) { this.Name = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public ScheduleView setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public ScheduleView setId(Integer value) { this.Id = value; return this; } } public static class WeekNumberSetting extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; public Date ModifiedDate = null; @Required() public Integer Id = null; public String getName() { return Name; } public WeekNumberSetting setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public WeekNumberSetting setDescription(String value) { this.Description = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public WeekNumberSetting setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public WeekNumberSetting setId(Integer value) { this.Id = value; return this; } } public static class BookingTemplate extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; @Required() public String UsedByApplication = null; public Date ModifiedDate = null; public Integer Id = null; public String getName() { return Name; } public BookingTemplate setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public BookingTemplate setDescription(String value) { this.Description = value; return this; } public String getUsedByApplication() { return UsedByApplication; } public BookingTemplate setUsedByApplication(String value) { this.UsedByApplication = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public BookingTemplate setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public BookingTemplate setId(Integer value) { this.Id = value; return this; } } public static class CalendarType extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; @Required() public Boolean Active = null; public Date ModifiedDate = null; public Integer Id = null; public String getName() { return Name; } public CalendarType setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public CalendarType setDescription(String value) { this.Description = value; return this; } public Boolean isActive() { return Active; } public CalendarType setActive(Boolean value) { this.Active = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CalendarType setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public CalendarType setId(Integer value) { this.Id = value; return this; } } public static class FreeSpotTexts extends BaseModel { @Required() public String TextSingular = null; @Required() public String TextPlural = null; public Date ModifiedDate = null; @Required() public Integer Id = null; public String getTextSingular() { return TextSingular; } public FreeSpotTexts setTextSingular(String value) { this.TextSingular = value; return this; } public String getTextPlural() { return TextPlural; } public FreeSpotTexts setTextPlural(String value) { this.TextPlural = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public FreeSpotTexts setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public FreeSpotTexts setId(Integer value) { this.Id = value; return this; } } public static class CodeLockSystem extends BaseModel { @Required() public String Name = null; @Required() public String Supplier = null; public String LogoType = null; @Required() public String Description = null; public Date ModifiedDate = null; @Required() public Integer Id = null; public String getName() { return Name; } public CodeLockSystem setName(String value) { this.Name = value; return this; } public String getSupplier() { return Supplier; } public CodeLockSystem setSupplier(String value) { this.Supplier = value; return this; } public String getLogoType() { return LogoType; } public CodeLockSystem setLogoType(String value) { this.LogoType = value; return this; } public String getDescription() { return Description; } public CodeLockSystem setDescription(String value) { this.Description = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CodeLockSystem setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public CodeLockSystem setId(Integer value) { this.Id = value; return this; } } public static class AdminPaymentOptions extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; public Date ModifiedDate = null; @Required() public Integer Id = null; public String getName() { return Name; } public AdminPaymentOptions setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public AdminPaymentOptions setDescription(String value) { this.Description = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public AdminPaymentOptions setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public AdminPaymentOptions setId(Integer value) { this.Id = value; return this; } } public static class PaymentProviders extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; @Required() public String Category = null; public String Url = null; @Required() public Boolean Active = null; public Date ModifiedDate = null; @Required() public Integer Id = null; public String getName() { return Name; } public PaymentProviders setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public PaymentProviders setDescription(String value) { this.Description = value; return this; } public String getCategory() { return Category; } public PaymentProviders setCategory(String value) { this.Category = value; return this; } public String getUrl() { return Url; } public PaymentProviders setUrl(String value) { this.Url = value; return this; } public Boolean isActive() { return Active; } public PaymentProviders setActive(Boolean value) { this.Active = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public PaymentProviders setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public PaymentProviders setId(Integer value) { this.Id = value; return this; } } public static class WidgetServiceLayouts extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; @Required() public String Code = null; public Date ModifiedDate = null; @Required() public Integer Id = null; public String getName() { return Name; } public WidgetServiceLayouts setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public WidgetServiceLayouts setDescription(String value) { this.Description = value; return this; } public String getCode() { return Code; } public WidgetServiceLayouts setCode(String value) { this.Code = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public WidgetServiceLayouts setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public WidgetServiceLayouts setId(Integer value) { this.Id = value; return this; } } public static class WidgetTimeLayouts extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; @Required() public String Code = null; public Date ModifiedDate = null; @Required() public Integer Id = null; public String getName() { return Name; } public WidgetTimeLayouts setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public WidgetTimeLayouts setDescription(String value) { this.Description = value; return this; } public String getCode() { return Code; } public WidgetTimeLayouts setCode(String value) { this.Code = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public WidgetTimeLayouts setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public WidgetTimeLayouts setId(Integer value) { this.Id = value; return this; } } public static class WidgetBookingLayouts extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; @Required() public String Code = null; public Date ModifiedDate = null; @Required() public Integer Id = null; public String getName() { return Name; } public WidgetBookingLayouts setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public WidgetBookingLayouts setDescription(String value) { this.Description = value; return this; } public String getCode() { return Code; } public WidgetBookingLayouts setCode(String value) { this.Code = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public WidgetBookingLayouts setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public WidgetBookingLayouts setId(Integer value) { this.Id = value; return this; } } public static class WidgetBookingMethods extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; @Required() public String Code = null; public Date ModifiedDate = null; @Required() public Integer Id = null; public String getName() { return Name; } public WidgetBookingMethods setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public WidgetBookingMethods setDescription(String value) { this.Description = value; return this; } public String getCode() { return Code; } public WidgetBookingMethods setCode(String value) { this.Code = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public WidgetBookingMethods setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public WidgetBookingMethods setId(Integer value) { this.Id = value; return this; } } public static class HomepageTemplate extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; public Uri ImageUrl = null; @Required() public Boolean Premium = null; public Date ModifiedDate = null; public Integer Id = null; public String getName() { return Name; } public HomepageTemplate setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public HomepageTemplate setDescription(String value) { this.Description = value; return this; } public Uri getImageUrl() { return ImageUrl; } public HomepageTemplate setImageUrl(Uri value) { this.ImageUrl = value; return this; } public Boolean isPremium() { return Premium; } public HomepageTemplate setPremium(Boolean value) { this.Premium = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public HomepageTemplate setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public HomepageTemplate setId(Integer value) { this.Id = value; return this; } } public static class HeroSectionStyle extends BaseModel { @Required() public String Name = null; public String Description = null; public Date ModifiedDate = null; @Required() public Integer Id = null; public String getName() { return Name; } public HeroSectionStyle setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public HeroSectionStyle setDescription(String value) { this.Description = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public HeroSectionStyle setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public HeroSectionStyle setId(Integer value) { this.Id = value; return this; } } public static enum Currency { Sek(1), Eur(2); private final int value; Currency(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class BillingInformationResponse { /** * The company id. */ @ApiMember(Description="The company id.") public UUID CompanyId = null; /** * The prefered billing method. */ @ApiMember(Description="The prefered billing method.", IsRequired=true) public Integer BillingMethodId = null; /** * The name that should be printed on the billing information, normally this would be your company name. */ @ApiMember(Description="The name that should be printed on the billing information, normally this would be your company name.") public String Name = null; /** * If you want to add the attention to the billing address. */ @ApiMember(Description="If you want to add the attention to the billing address.") public String Attention = null; /** * The street for the billing adress. This is required when having postal invoice as billing method. */ @ApiMember(Description="The street for the billing adress. This is required when having postal invoice as billing method.") public String Street1 = null; /** * The street for the billing adress. */ @ApiMember(Description="The street for the billing adress.") public String Street2 = null; /** * The zip code (postal code) for the billing adress. This is required when having postal invoice as billing method. */ @ApiMember(Description="The zip code (postal code) for the billing adress. This is required when having postal invoice as billing method.") public String ZipCode = null; /** * The city for the billing adress. This is required when having postal invoice as billing method. */ @ApiMember(Description="The city for the billing adress. This is required when having postal invoice as billing method.") public String City = null; /** * The country for the billing adress. This is required when having postal invoice as billing method. */ @ApiMember(Description="The country for the billing adress. This is required when having postal invoice as billing method.") public String CountryId = null; /** * The billing email. This is required when having email invoice as billing method. */ @ApiMember(Description="The billing email. This is required when having email invoice as billing method.") public String Email = null; /** * The company global location number. */ @ApiMember(Description="The company global location number.") public String GLN = null; /** * You're internal rereference. */ @ApiMember(Description="You're internal rereference.") public String ReferenceLine1 = null; /** * You're internal rereference. */ @ApiMember(Description="You're internal rereference.") public String ReferenceLine2 = null; /** * The billing payment terms in days. This is default 15 days. */ @ApiMember(Description="The billing payment terms in days. This is default 15 days.") public Integer PaymentTermsDays = null; /** * The company vat registration number. */ @ApiMember(Description="The company vat registration number.") public String VatRegistrationNumber = null; /** * The billing method options to choose from */ @ApiMember(Description="The billing method options to choose from") public ArrayList BillingMethodOptions = null; public UUID getCompanyId() { return CompanyId; } public BillingInformationResponse setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getBillingMethodId() { return BillingMethodId; } public BillingInformationResponse setBillingMethodId(Integer value) { this.BillingMethodId = value; return this; } public String getName() { return Name; } public BillingInformationResponse setName(String value) { this.Name = value; return this; } public String getAttention() { return Attention; } public BillingInformationResponse setAttention(String value) { this.Attention = value; return this; } public String getStreet1() { return Street1; } public BillingInformationResponse setStreet1(String value) { this.Street1 = value; return this; } public String getStreet2() { return Street2; } public BillingInformationResponse setStreet2(String value) { this.Street2 = value; return this; } public String getZipCode() { return ZipCode; } public BillingInformationResponse setZipCode(String value) { this.ZipCode = value; return this; } public String getCity() { return City; } public BillingInformationResponse setCity(String value) { this.City = value; return this; } public String getCountryId() { return CountryId; } public BillingInformationResponse setCountryId(String value) { this.CountryId = value; return this; } public String getEmail() { return Email; } public BillingInformationResponse setEmail(String value) { this.Email = value; return this; } public String getGln() { return GLN; } public BillingInformationResponse setGln(String value) { this.GLN = value; return this; } public String getReferenceLine1() { return ReferenceLine1; } public BillingInformationResponse setReferenceLine1(String value) { this.ReferenceLine1 = value; return this; } public String getReferenceLine2() { return ReferenceLine2; } public BillingInformationResponse setReferenceLine2(String value) { this.ReferenceLine2 = value; return this; } public Integer getPaymentTermsDays() { return PaymentTermsDays; } public BillingInformationResponse setPaymentTermsDays(Integer value) { this.PaymentTermsDays = value; return this; } public String getVatRegistrationNumber() { return VatRegistrationNumber; } public BillingInformationResponse setVatRegistrationNumber(String value) { this.VatRegistrationNumber = value; return this; } public ArrayList getBillingMethodOptions() { return BillingMethodOptions; } public BillingInformationResponse setBillingMethodOptions(ArrayList value) { this.BillingMethodOptions = value; return this; } } }