Package net.webpdf.wsclient.openapi
Class OperationQrSwissPaymentBarcode
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationQrSwissPaymentBarcode
-
public class OperationQrSwissPaymentBarcode extends Object
A swiss QR payment barcode.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationQrSwissPaymentBarcode.FormatEnumUsed to select the parts, that shall be included in the barcodestatic classOperationQrSwissPaymentBarcode.LanguageEnumSelects the language of the barcode's payment summarystatic classOperationQrSwissPaymentBarcode.SeparatorEnumThe border style for separators in between the different parts of the barcode
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTENTstatic StringJSON_PROPERTY_DPIstatic StringJSON_PROPERTY_FORMATstatic StringJSON_PROPERTY_LANGUAGEstatic StringJSON_PROPERTY_PDFstatic StringJSON_PROPERTY_POSITIONstatic StringJSON_PROPERTY_SEPARATOR
-
Constructor Summary
Constructors Constructor Description OperationQrSwissPaymentBarcode()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_CONTENT
public static final String JSON_PROPERTY_CONTENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DPI
public static final String JSON_PROPERTY_DPI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FORMAT
public static final String JSON_PROPERTY_FORMAT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LANGUAGE
public static final String JSON_PROPERTY_LANGUAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PDF
public static final String JSON_PROPERTY_PDF
- See Also:
- Constant Field Values
-
JSON_PROPERTY_POSITION
public static final String JSON_PROPERTY_POSITION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEPARATOR
public static final String JSON_PROPERTY_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
content
public OperationQrSwissPaymentBarcode content(OperationQrSwissPaymentContent content)
-
getContent
@NotNull public @NotNull OperationQrSwissPaymentContent getContent()
Get content- Returns:
- content
-
setContent
public void setContent(OperationQrSwissPaymentContent content)
-
dpi
public OperationQrSwissPaymentBarcode dpi(Integer dpi)
-
getDpi
@Nullable public @Nullable Integer getDpi()
Used to select the resolution of the barcode.- Returns:
- dpi
-
setDpi
public void setDpi(Integer dpi)
-
format
public OperationQrSwissPaymentBarcode format(OperationQrSwissPaymentBarcode.FormatEnum format)
-
getFormat
@Nullable public @Nullable OperationQrSwissPaymentBarcode.FormatEnum getFormat()
Used to select the parts, that shall be included in the barcode. * codeOnly = Only the barcode itself shall be shown. * billOnly = The barcode and the payment summary shall be shown. * billPortraitSheet = The dimensions of the barcode and the payment summary shall be optimized for placement in the lower left corner of a page in DIN-A4 format. * billExtraSpace = The same as \"billPortraitSheet\", but with extra spacings.- Returns:
- format
-
setFormat
public void setFormat(OperationQrSwissPaymentBarcode.FormatEnum format)
-
language
public OperationQrSwissPaymentBarcode language(OperationQrSwissPaymentBarcode.LanguageEnum language)
-
getLanguage
@Nullable public @Nullable OperationQrSwissPaymentBarcode.LanguageEnum getLanguage()
Selects the language of the barcode's payment summary. * de = german * fr = french * it = italian * en = english- Returns:
- language
-
setLanguage
public void setLanguage(OperationQrSwissPaymentBarcode.LanguageEnum language)
-
pdf
public OperationQrSwissPaymentBarcode pdf(OperationQrSwissPaymentPdf pdf)
-
getPdf
@Nullable public @Nullable OperationQrSwissPaymentPdf getPdf()
Get pdf- Returns:
-
setPdf
public void setPdf(OperationQrSwissPaymentPdf pdf)
-
position
public OperationQrSwissPaymentBarcode position(OperationRectangle position)
-
getPosition
@Nullable public @Nullable OperationRectangle getPosition()
Get position- Returns:
- position
-
setPosition
public void setPosition(OperationRectangle position)
-
separator
public OperationQrSwissPaymentBarcode separator(OperationQrSwissPaymentBarcode.SeparatorEnum separator)
-
getSeparator
@Nullable public @Nullable OperationQrSwissPaymentBarcode.SeparatorEnum getSeparator()
The border style for separators in between the different parts of the barcode. * none = No separator shall be used. * solidLine = A solid separator line. * solidLineWithScissors = A solid separator line with a scissor icon. * dashedLine = A dashed separator line. * dashedLineWithScissors = A dashed separator line with a scissor icon. * dottedLine = A dotted separator line. * dottedLineWithScissors = A dotted separator line with a scissor icon.- Returns:
- separator
-
setSeparator
public void setSeparator(OperationQrSwissPaymentBarcode.SeparatorEnum separator)
-
-