ch.codeblock.qrinvoice.rest.model.CreditorInformation Maven / Gradle / Ivy
/*-
* #%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.092")
public class CreditorInformation {
@javax.validation.constraints.Size(min = 21, max = 21)
@javax.validation.constraints.NotNull
@io.swagger.annotations.ApiModelProperty(required = true, value = "IBAN or QR-IBAN of the creditor.
Fixed length: 21 alphanumeric characters, only IBANs with CH or LI country code permitted.", notes = "IBAN or QR-IBAN of the creditor.
Fixed length: 21 alphanumeric characters, only IBANs with CH or LI country code permitted.", example = "CH3908704016075473007")
@com.fasterxml.jackson.annotation.JsonProperty("iban")
private java.lang.String iban;
@javax.validation.constraints.NotNull
@io.swagger.annotations.ApiModelProperty(required = true, value = "", notes = "", example = "")
@com.fasterxml.jackson.annotation.JsonProperty("creditor")
private ch.codeblock.qrinvoice.rest.model.Creditor creditor;
public java.lang.String getIban() {
return this.iban;
}
public void setIban(java.lang.String iban) {
this.iban = iban;
}
public ch.codeblock.qrinvoice.rest.model.Creditor getCreditor() {
return this.creditor;
}
public void setCreditor(ch.codeblock.qrinvoice.rest.model.Creditor creditor) {
this.creditor = creditor;
}
}