Package io.voucherify.client.model
Class VoucherAssets
java.lang.Object
io.voucherify.client.model.VoucherAssets
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class VoucherAssets
extends Object
Stores links to images of QR and barcode that correspond to an encrypted voucher code.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbarcode(VoucherAssetsBarcode barcode) booleanstatic VoucherAssetsCreate an instance of VoucherAssets given an JSON stringGet barcodegetQr()Get qrinthashCode()qr(VoucherAssetsQr qr) voidsetBarcode(VoucherAssetsBarcode barcode) voidsetQr(VoucherAssetsQr qr) toJson()Convert an instance of VoucherAssets to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_QR
- See Also:
-
SERIALIZED_NAME_BARCODE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VoucherAssets
public VoucherAssets()
-
-
Method Details
-
qr
-
getQr
Get qr- Returns:
- qr
-
setQr
-
barcode
-
getBarcode
Get barcode- Returns:
- barcode
-
setBarcode
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of VoucherAssets given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VoucherAssets
- Throws:
IOException- if the JSON string is invalid with respect to VoucherAssets
-
toJson
Convert an instance of VoucherAssets to an JSON string- Returns:
- JSON string
-