All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ch.codeblock.qrinvoice.rest.model.UltimateCreditor Maven / Gradle / Ivy

There is a newer version: 1.19
Show newest version
/*-
 * #%L
 * QR Invoice Solutions
 * %%
 * Copyright (C) 2017 - 2019 Codeblock GmbH
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 * -
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * -
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see .
 * -
 * Other licenses:
 * -----------------------------------------------------------------------------
 * Commercial licenses are available for this software. These replace the above
 * AGPLv3 terms and offer support, maintenance and allow the use in commercial /
 * proprietary products.
 * -
 * More information on commercial licenses are available at the following page:
 * https://www.qr-invoice.ch/licenses/
 * #L%
 */
package ch.codeblock.qrinvoice.rest.model;

@javax.annotation.Generated(value = "ch.codeblock.qrinvoice.tools.ch.codeblock.qrinvoice.tools.generator.RestModelGenerator", date = "2019-02-22T12:23:13.225")
public class UltimateCreditor {

    @javax.validation.constraints.Size(min = 1, max = 1)
    @javax.validation.constraints.NotNull
    @io.swagger.annotations.ApiModelProperty(required = true, value = "Address type
The address type is specified using a code. The following codes are defined:
\"S\" - structured address
\"K\" - combined address elements (2 lines)", notes = "Address type
The address type is specified using a code. The following codes are defined:
\"S\" - structured address
\"K\" - combined address elements (2 lines)", example = "STRUCTURED") @com.fasterxml.jackson.annotation.JsonProperty("addressType") private ch.codeblock.qrinvoice.rest.model.AddressTypeEnum addressType; @javax.validation.constraints.Size(min = 1, max = 70) @io.swagger.annotations.ApiModelProperty(required = false, value = "Name or company of the ultimate creditor
Maximum 70 characters permitted. first name (optional, if available) and last name or company name.", notes = "Name or company of the ultimate creditor
Maximum 70 characters permitted. first name (optional, if available) and last name or company name.", example = "Robert Schneider Services Switzerland AG") @com.fasterxml.jackson.annotation.JsonProperty("name") private java.lang.String name; @javax.validation.constraints.Size(min = 1, max = 70) @io.swagger.annotations.ApiModelProperty(required = false, value = "Street/P.O. box of the ultimate creditor
Maximum 70 characters permitted; may not include any house or building number.", notes = "Street/P.O. box of the ultimate creditor
Maximum 70 characters permitted; may not include any house or building number.", example = "Rue du Lac") @com.fasterxml.jackson.annotation.JsonProperty("streetName") private java.lang.String streetName; @javax.validation.constraints.Size(min = 1, max = 16) @io.swagger.annotations.ApiModelProperty(required = false, value = "House number of the ultimate creditor
Maximum 16 characters permitted", notes = "House number of the ultimate creditor
Maximum 16 characters permitted", example = "1268/3/1") @com.fasterxml.jackson.annotation.JsonProperty("houseNumber") private java.lang.String houseNumber; @javax.validation.constraints.Size(min = 1, max = 16) @io.swagger.annotations.ApiModelProperty(required = false, value = "Postal code of the ultimate creditor
Maximum 16 characters permitted; is always to be entered without a country code prefix.", notes = "Postal code of the ultimate creditor
Maximum 16 characters permitted; is always to be entered without a country code prefix.", example = "2501") @com.fasterxml.jackson.annotation.JsonProperty("postalCode") private java.lang.String postalCode; @javax.validation.constraints.Size(min = 1, max = 35) @io.swagger.annotations.ApiModelProperty(required = false, value = "City of the ultimate creditor
Maximum 35 characters permitted", notes = "City of the ultimate creditor
Maximum 35 characters permitted", example = "Biel") @com.fasterxml.jackson.annotation.JsonProperty("city") private java.lang.String city; @javax.validation.constraints.Size(min = 1, max = 70) @io.swagger.annotations.ApiModelProperty(required = false, value = "Address line 1 including street and building number or P.O. Box
Maximum 70 characters permitted", notes = "Address line 1 including street and building number or P.O. Box
Maximum 70 characters permitted", example = "Rue du Lac 1268/3/1") @com.fasterxml.jackson.annotation.JsonProperty("addressLine1") private java.lang.String addressLine1; @javax.validation.constraints.Size(min = 1, max = 70) @io.swagger.annotations.ApiModelProperty(required = false, value = "Address line 2 including postal code and town from ultimate creditor’s address
Maximum 70 characters permitted
Must be provided for address type \"K\".", notes = "Address line 2 including postal code and town from ultimate creditor’s address
Maximum 70 characters permitted
Must be provided for address type \"K\".", example = "2501 Biel") @com.fasterxml.jackson.annotation.JsonProperty("addressLine2") private java.lang.String addressLine2; @javax.validation.constraints.Size(min = 2, max = 2) @io.swagger.annotations.ApiModelProperty(required = false, value = "Country of the ultimate creditor
Two-digit country code according to ISO 3166-1", notes = "Country of the ultimate creditor
Two-digit country code according to ISO 3166-1", example = "CH") @com.fasterxml.jackson.annotation.JsonProperty("country") private java.lang.String country; public ch.codeblock.qrinvoice.rest.model.AddressTypeEnum getAddressType() { return this.addressType; } public void setAddressType(ch.codeblock.qrinvoice.rest.model.AddressTypeEnum addressType) { this.addressType = addressType; } public java.lang.String getName() { return this.name; } public void setName(java.lang.String name) { this.name = name; } public java.lang.String getStreetName() { return this.streetName; } public void setStreetName(java.lang.String streetName) { this.streetName = streetName; } public java.lang.String getHouseNumber() { return this.houseNumber; } public void setHouseNumber(java.lang.String houseNumber) { this.houseNumber = houseNumber; } public java.lang.String getPostalCode() { return this.postalCode; } public void setPostalCode(java.lang.String postalCode) { this.postalCode = postalCode; } public java.lang.String getCity() { return this.city; } public void setCity(java.lang.String city) { this.city = city; } public java.lang.String getAddressLine1() { return this.addressLine1; } public void setAddressLine1(java.lang.String addressLine1) { this.addressLine1 = addressLine1; } public java.lang.String getAddressLine2() { return this.addressLine2; } public void setAddressLine2(java.lang.String addressLine2) { this.addressLine2 = addressLine2; } public java.lang.String getCountry() { return this.country; } public void setCountry(java.lang.String country) { this.country = country; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy