/* Options: Date: 2024-06-26 10:46:15 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: EAccountingUpdatePricesMapping.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/eaccounting/article/mappings", Verbs="PUT") @ValidateRequest(Validator="IsAuthenticated") public static class EAccountingUpdatePricesMapping implements IReturn, ICompany { public ArrayList ServicePriceMappings = null; /** * Company to show services for */ @ApiMember(Description="Company to show services for") public UUID CompanyId = null; public ArrayList getServicePriceMappings() { return ServicePriceMappings; } public EAccountingUpdatePricesMapping setServicePriceMappings(ArrayList value) { this.ServicePriceMappings = value; return this; } public UUID getCompanyId() { return CompanyId; } public EAccountingUpdatePricesMapping setCompanyId(UUID value) { this.CompanyId = value; return this; } private static Object responseType = ServicePriceMappingResponse.class; public Object getResponseType() { return responseType; } } public static class ServicePriceMappingResponse { /** * The company id */ @ApiMember(Description="The company id") public UUID CompanyId = null; public UUID Id = null; /** * The price id */ @ApiMember(Description="The price id") public Integer PriceId = null; /** * The external reference */ @ApiMember(Description="The external reference") public String ExternalReference = null; /** * The Reference Type */ @ApiMember(Description="The Reference Type") public String ReferenceType = null; public UUID getCompanyId() { return CompanyId; } public ServicePriceMappingResponse setCompanyId(UUID value) { this.CompanyId = value; return this; } public UUID getId() { return Id; } public ServicePriceMappingResponse setId(UUID value) { this.Id = value; return this; } public Integer getPriceId() { return PriceId; } public ServicePriceMappingResponse setPriceId(Integer value) { this.PriceId = value; return this; } public String getExternalReference() { return ExternalReference; } public ServicePriceMappingResponse setExternalReference(String value) { this.ExternalReference = value; return this; } public String getReferenceType() { return ReferenceType; } public ServicePriceMappingResponse setReferenceType(String value) { this.ReferenceType = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } public static class ServicePriceMapping { /** * The id */ @ApiMember(Description="The id") public UUID Id = null; /** * The price id */ @ApiMember(Description="The price id") public Integer PriceId = null; /** * The Reference Type */ @ApiMember(Description="The Reference Type") public String ReferenceType = null; /** * The external reference; Values for e-accounting; EAccountingCustomerId, EAccountingArticle, EAccountingInvoice, EAccountingDraftInvoice */ @ApiMember(Description="The external reference; Values for e-accounting; EAccountingCustomerId, EAccountingArticle, EAccountingInvoice, EAccountingDraftInvoice") public String ExternalReference = null; public UUID getId() { return Id; } public ServicePriceMapping setId(UUID value) { this.Id = value; return this; } public Integer getPriceId() { return PriceId; } public ServicePriceMapping setPriceId(Integer value) { this.PriceId = value; return this; } public String getReferenceType() { return ReferenceType; } public ServicePriceMapping setReferenceType(String value) { this.ReferenceType = value; return this; } public String getExternalReference() { return ExternalReference; } public ServicePriceMapping setExternalReference(String value) { this.ExternalReference = value; return this; } } }