
ch.codeblock.qrinvoice.rest.model.PaymentAmountInformation 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.661")
public class PaymentAmountInformation {
@javax.validation.constraints.Size(min = 0, max = 999999999)
@io.swagger.v3.oas.annotations.media.Schema(required = false, description = "The payment amount
The amount element is to be entered without leading zeroes, including decimal separators and two decimal places.
Decimal, maximum 12-digits permitted, including decimal separators. Only decimal points (\".\") are permitted as decimal separators.", deprecated = false, example = "199.95")
@com.fasterxml.jackson.annotation.JsonProperty("amount")
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY)
private java.math.BigDecimal amount;
@javax.validation.constraints.Size(min = 3, max = 3)
@javax.validation.constraints.NotNull
@io.swagger.v3.oas.annotations.media.Schema(required = true, description = "The payment currency, 3-digit alphanumeric currency code according to ISO 4217
Only CHF and EUR are permitted.", deprecated = false, example = "CHF")
@com.fasterxml.jackson.annotation.JsonProperty("currency")
@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY)
private ch.codeblock.qrinvoice.rest.model.CurrencyEnum currency;
public java.math.BigDecimal getAmount() {
return this.amount;
}
public void setAmount(java.math.BigDecimal amount) {
this.amount = amount;
}
public ch.codeblock.qrinvoice.rest.model.CurrencyEnum getCurrency() {
return this.currency;
}
public void setCurrency(ch.codeblock.qrinvoice.rest.model.CurrencyEnum currency) {
this.currency = currency;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy