Package net.webpdf.wsclient.openapi
Class OperationQrSwissPaymentContent
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationQrSwissPaymentContent
-
public class OperationQrSwissPaymentContent extends Object
Used to select the content encoded in the barcode.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationQrSwissPaymentContent.FormatEnumSelects the format of the encoded datastatic classOperationQrSwissPaymentContent.SourceEnumSelects the data source for the hereby expressed resource.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FORMATstatic StringJSON_PROPERTY_SOURCEstatic StringJSON_PROPERTY_URIstatic StringJSON_PROPERTY_VALUE
-
Constructor Summary
Constructors Constructor Description OperationQrSwissPaymentContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)OperationQrSwissPaymentContentformat(OperationQrSwissPaymentContent.FormatEnum format)@Nullable OperationQrSwissPaymentContent.FormatEnumgetFormat()Selects the format of the encoded data@Nullable OperationQrSwissPaymentContent.SourceEnumgetSource()Selects the data source for the hereby expressed resource.@Nullable StringgetUri()The uri the data shall be located at.@org.jetbrains.annotations.Nullable byte[]getValue()Get valueinthashCode()voidsetFormat(OperationQrSwissPaymentContent.FormatEnum format)voidsetSource(OperationQrSwissPaymentContent.SourceEnum source)voidsetUri(String uri)voidsetValue(byte[] value)OperationQrSwissPaymentContentsource(OperationQrSwissPaymentContent.SourceEnum source)StringtoString()OperationQrSwissPaymentContenturi(String uri)OperationQrSwissPaymentContentvalue(byte[] value)
-
-
-
Field Detail
-
JSON_PROPERTY_FORMAT
public static final String JSON_PROPERTY_FORMAT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOURCE
public static final String JSON_PROPERTY_SOURCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URI
public static final String JSON_PROPERTY_URI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUE
public static final String JSON_PROPERTY_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
format
public OperationQrSwissPaymentContent format(OperationQrSwissPaymentContent.FormatEnum format)
-
getFormat
@Nullable public @Nullable OperationQrSwissPaymentContent.FormatEnum getFormat()
Selects the format of the encoded data. * plain = The code shall contain plain text. * json = The code shall contain structured json data.- Returns:
- format
-
setFormat
public void setFormat(OperationQrSwissPaymentContent.FormatEnum format)
-
source
public OperationQrSwissPaymentContent source(OperationQrSwissPaymentContent.SourceEnum source)
-
getSource
@Nullable public @Nullable OperationQrSwissPaymentContent.SourceEnum getSource()
Selects the data source for the hereby expressed resource. Possible values are: * value = The element's value shall contain the BASE64 encoded data. * uri = The data shall be located at the given uri.- Returns:
- source
-
setSource
public void setSource(OperationQrSwissPaymentContent.SourceEnum source)
-
uri
public OperationQrSwissPaymentContent uri(String uri)
-
getUri
@Nullable public @Nullable String getUri()
The uri the data shall be located at. (This shall only have effect, if the \"source\" is \"uri\".)- Returns:
- uri
-
setUri
public void setUri(String uri)
-
value
public OperationQrSwissPaymentContent value(byte[] value)
-
getValue
@Nullable public @org.jetbrains.annotations.Nullable byte[] getValue()
Get value- Returns:
- value
-
setValue
public void setValue(byte[] value)
-
-