File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
src/main/java/com/adyen/model/nexo Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1919 * <enumeration value="Code25"/>
2020 * <enumeration value="Code128"/>
2121 * <enumeration value="PDF417"/>
22- * <enumeration value="QRCODE "/>
22+ * <enumeration value="QRCode "/>
2323 * </restriction>
2424 * </simpleType>
2525 * </pre>
@@ -60,7 +60,8 @@ public enum BarcodeType {
6060 /**
6161 * Qrcode barcode type.
6262 */
63- QRCODE ("QRCODE" );
63+ @ XmlEnumValue ("QRCode" )
64+ QRCODE ("QRCode" );
6465 private final String value ;
6566
6667 BarcodeType (String v ) {
Original file line number Diff line number Diff line change 44import javax .xml .bind .annotation .XmlAccessorType ;
55import javax .xml .bind .annotation .XmlAttribute ;
66import javax .xml .bind .annotation .XmlType ;
7- import javax .xml .bind .annotation .XmlValue ;
87
98
109/**
2625 */
2726@ XmlAccessorType (XmlAccessType .FIELD )
2827@ XmlType (name = "OutputBarcode" , propOrder = {
29- "value "
28+ "barcodeValue "
3029})
3130public class OutputBarcode {
3231
3332 /**
3433 * The Value.
3534 */
36- @ XmlValue
37- protected String value ;
35+ @ XmlAttribute ( name = "BarcodeValue" )
36+ protected String barcodeValue ;
3837 /**
3938 * The Barcode.
4039 */
@@ -47,16 +46,16 @@ public class OutputBarcode {
4746 * @return possible object is {@link String }
4847 */
4948 public String getValue () {
50- return value ;
49+ return barcodeValue ;
5150 }
5251
5352 /**
54- * Sets the value of the value property.
53+ * Sets the value of the barcodeValue property.
5554 *
56- * @param value allowed object is {@link String }
55+ * @param barcodeValue allowed object is {@link String }
5756 */
58- public void setValue (String value ) {
59- this .value = value ;
57+ public void setBarcodeValue (String barcodeValue ) {
58+ this .barcodeValue = barcodeValue ;
6059 }
6160
6261 /**
You can’t perform that action at this time.
0 commit comments