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

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

package ch.codeblock.qrinvoice.rest.model;

@javax.annotation.Generated(value = "ch.codeblock.qrinvoice.tools.ch.codeblock.qrinvoice.tools.generator.RestModelGenerator", date = "2024-10-23T15:17:26.665")
public class UltimateCreditor {

    @javax.validation.constraints.Size(min = 1, max = 1)
    @javax.validation.constraints.NotNull
    @io.swagger.v3.oas.annotations.media.Schema(required = true, description = "Address type
The address type is specified using a code. The following codes are defined:
\"S\" - structured address
\"K\" - combined address elements (2 lines). DEPRECATED - discontinued and no longer supported after 21.11.2025", deprecated = false, example = "STRUCTURED") @com.fasterxml.jackson.annotation.JsonProperty("addressType") @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY) private ch.codeblock.qrinvoice.rest.model.AddressTypeEnum addressType; @javax.validation.constraints.Size(min = 1, max = 70) @io.swagger.v3.oas.annotations.media.Schema(required = false, description = "Name or company of the ultimate creditor
Maximum 70 characters permitted. first name (optional, if available) and last name or company name.", deprecated = false, example = "Robert Schneider Services Switzerland AG") @com.fasterxml.jackson.annotation.JsonProperty("name") @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY) private java.lang.String name; @javax.validation.constraints.Size(min = 1, max = 70) @io.swagger.v3.oas.annotations.media.Schema(required = false, description = "Street/P.O. box of the ultimate creditor
Maximum 70 characters permitted; may not include any house or building number.", deprecated = false, example = "Rue du Lac") @com.fasterxml.jackson.annotation.JsonProperty("streetName") @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY) private java.lang.String streetName; @javax.validation.constraints.Size(min = 1, max = 16) @io.swagger.v3.oas.annotations.media.Schema(required = false, description = "House number of the ultimate creditor
Maximum 16 characters permitted", deprecated = false, example = "1268/3/1") @com.fasterxml.jackson.annotation.JsonProperty("houseNumber") @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY) private java.lang.String houseNumber; @javax.validation.constraints.Size(min = 1, max = 16) @io.swagger.v3.oas.annotations.media.Schema(required = false, description = "Postal code of the ultimate creditor
Maximum 16 characters permitted; is always to be entered without a country code prefix.", deprecated = false, example = "2501") @com.fasterxml.jackson.annotation.JsonProperty("postalCode") @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY) private java.lang.String postalCode; @javax.validation.constraints.Size(min = 1, max = 35) @io.swagger.v3.oas.annotations.media.Schema(required = false, description = "City of the ultimate creditor
Maximum 35 characters permitted", deprecated = false, example = "Biel") @com.fasterxml.jackson.annotation.JsonProperty("city") @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY) private java.lang.String city; @javax.validation.constraints.Size(min = 1, max = 70) @io.swagger.v3.oas.annotations.media.Schema(required = false, description = "Address line 1 including street and building number or P.O. Box
Maximum 70 characters permitted", deprecated = true, example = "Rue du Lac 1268/3/1") @com.fasterxml.jackson.annotation.JsonProperty("addressLine1") @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY) private java.lang.String addressLine1; @javax.validation.constraints.Size(min = 1, max = 70) @io.swagger.v3.oas.annotations.media.Schema(required = false, description = "Address line 2 including postal code and town from ultimate creditor’s address
Maximum 70 characters permitted
Must be provided for address type \"K\".", deprecated = true, example = "2501 Biel") @com.fasterxml.jackson.annotation.JsonProperty("addressLine2") @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY) private java.lang.String addressLine2; @javax.validation.constraints.Size(min = 2, max = 2) @io.swagger.v3.oas.annotations.media.Schema(required = false, description = "Country of the ultimate creditor
Two-digit country code according to ISO 3166-1", deprecated = false, example = "CH") @com.fasterxml.jackson.annotation.JsonProperty("country") @com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY) 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 - 2025 Weber Informatics LLC | Privacy Policy