Package net.webpdf.wsclient.openapi
Class OperationQrSwissPaymentPdf
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationQrSwissPaymentPdf
-
public class OperationQrSwissPaymentPdf extends Object
Used to position the barcode in a PDF document.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationQrSwissPaymentPdf.ModeEnumSelects the page relative position to place the barcode at
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MODEstatic StringJSON_PROPERTY_PAGE
-
Constructor Summary
Constructors Constructor Description OperationQrSwissPaymentPdf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable OperationQrSwissPaymentPdf.ModeEnumgetMode()Selects the page relative position to place the barcode at@Nullable IntegergetPage()The number of the page, the barcode shall be placed at or relative to.inthashCode()OperationQrSwissPaymentPdfmode(OperationQrSwissPaymentPdf.ModeEnum mode)OperationQrSwissPaymentPdfpage(Integer page)voidsetMode(OperationQrSwissPaymentPdf.ModeEnum mode)voidsetPage(Integer page)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_MODE
public static final String JSON_PROPERTY_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGE
public static final String JSON_PROPERTY_PAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
mode
public OperationQrSwissPaymentPdf mode(OperationQrSwissPaymentPdf.ModeEnum mode)
-
getMode
@Nullable public @Nullable OperationQrSwissPaymentPdf.ModeEnum getMode()
Selects the page relative position to place the barcode at. * insertBefore = Places the barcode on a new, empty page before the selected page. * appendAtEnd = Places the barcode on a new, empty page at the end of the document. * addToPage = Place the barcode on the selected page.- Returns:
- mode
-
setMode
public void setMode(OperationQrSwissPaymentPdf.ModeEnum mode)
-
page
public OperationQrSwissPaymentPdf page(Integer page)
-
getPage
@Nullable public @Nullable Integer getPage()
The number of the page, the barcode shall be placed at or relative to. (depending on the selected placement \"mode\".)- Returns:
- page
-
setPage
public void setPage(Integer page)
-
-