/* Options: Date: 2025-12-06 06:59:31 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //Package: //GlobalNamespace: BusinessApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: AddOrUpdateBillingRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class BusinessApi { @Route(Path="/business/add_or_update_billing", Verbs="PUT") public static class AddOrUpdateBillingRequest implements IReturn, IPut, IHasBusinessId { public Long businessId = null; public String emailForBillingNotification = null; public String customReference = null; public Long getBusinessId() { return businessId; } public AddOrUpdateBillingRequest setBusinessId(Long value) { this.businessId = value; return this; } public String getEmailForBillingNotification() { return emailForBillingNotification; } public AddOrUpdateBillingRequest setEmailForBillingNotification(String value) { this.emailForBillingNotification = value; return this; } public String getCustomReference() { return customReference; } public AddOrUpdateBillingRequest setCustomReference(String value) { this.customReference = value; return this; } private static Object responseType = AddOrUpdateBillingResponse.class; public Object getResponseType() { return responseType; } } public static class AddOrUpdateBillingResponse { public BillingEntity entity = null; public BillingContact contactPerson = null; public String emailForBillingNotifications = null; public String customReference = null; public BillingEntity getEntity() { return entity; } public AddOrUpdateBillingResponse setEntity(BillingEntity value) { this.entity = value; return this; } public BillingContact getContactPerson() { return contactPerson; } public AddOrUpdateBillingResponse setContactPerson(BillingContact value) { this.contactPerson = value; return this; } public String getEmailForBillingNotifications() { return emailForBillingNotifications; } public AddOrUpdateBillingResponse setEmailForBillingNotifications(String value) { this.emailForBillingNotifications = value; return this; } public String getCustomReference() { return customReference; } public AddOrUpdateBillingResponse setCustomReference(String value) { this.customReference = value; return this; } } public static interface IHasBusinessId { public Long businessId = null; } public static class BillingEntity { public String name = null; public String organizationNumber = null; public String postalAddress = null; public String postalCode = null; public String city = null; public String countryCode = null; public String getName() { return name; } public BillingEntity setName(String value) { this.name = value; return this; } public String getOrganizationNumber() { return organizationNumber; } public BillingEntity setOrganizationNumber(String value) { this.organizationNumber = value; return this; } public String getPostalAddress() { return postalAddress; } public BillingEntity setPostalAddress(String value) { this.postalAddress = value; return this; } public String getPostalCode() { return postalCode; } public BillingEntity setPostalCode(String value) { this.postalCode = value; return this; } public String getCity() { return city; } public BillingEntity setCity(String value) { this.city = value; return this; } public String getCountryCode() { return countryCode; } public BillingEntity setCountryCode(String value) { this.countryCode = value; return this; } } public static class BillingContact { public String person = null; public String phone = null; public String email = null; public String getPerson() { return person; } public BillingContact setPerson(String value) { this.person = value; return this; } public String getPhone() { return phone; } public BillingContact setPhone(String value) { this.phone = value; return this; } public String getEmail() { return email; } public BillingContact setEmail(String value) { this.email = value; return this; } } }