Skip to content

Commit 54bca93

Browse files
committed
bulk migration
1 parent bdcbb16 commit 54bca93

216 files changed

Lines changed: 1306 additions & 2739 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/java/com/adyen/model/nexo/AccountType.java

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
package com.adyen.model.nexo;
22

3+
import com.google.gson.annotations.SerializedName;
34
import io.swagger.v3.oas.annotations.media.Schema;
45
import java.util.Arrays;
5-
import javax.xml.bind.annotation.XmlEnum;
6-
import javax.xml.bind.annotation.XmlEnumValue;
7-
import javax.xml.bind.annotation.XmlType;
86

97
/**
108
* Java class for AccountType.
@@ -26,47 +24,45 @@
2624
* </simpleType>
2725
* </pre>
2826
*/
29-
@XmlType(name = "AccountType")
30-
@XmlEnum
3127
public enum AccountType {
3228

3329
/** Default account */
34-
@XmlEnumValue("Default")
30+
@SerializedName("Default")
3531
@Schema(description = "Default account")
3632
DEFAULT("Default"),
3733

3834
/** Savings account */
39-
@XmlEnumValue("Savings")
35+
@SerializedName("Savings")
4036
@Schema(description = "Savings account")
4137
SAVINGS("Savings"),
4238

4339
/** Checking account */
44-
@XmlEnumValue("Checking")
40+
@SerializedName("Checking")
4541
@Schema(description = "Checking account")
4642
CHECKING("Checking"),
4743

4844
/** Credit card account */
49-
@XmlEnumValue("CreditCard")
45+
@SerializedName("CreditCard")
5046
@Schema(description = "Credit card account")
5147
CREDIT_CARD("CreditCard"),
5248

5349
/** Universal account */
54-
@XmlEnumValue("Universal")
50+
@SerializedName("Universal")
5551
@Schema(description = "Universal account")
5652
UNIVERSAL("Universal"),
5753

5854
/** Investment account */
59-
@XmlEnumValue("Investment")
55+
@SerializedName("Investment")
6056
@Schema(description = "Investment account")
6157
INVESTMENT("Investment"),
6258

6359
/** Card totals */
64-
@XmlEnumValue("CardTotals")
60+
@SerializedName("CardTotals")
6561
@Schema(description = "Card totals")
6662
CARD_TOTALS("CardTotals"),
6763

6864
/** e-Purse card account */
69-
@XmlEnumValue("EpurseCard")
65+
@SerializedName("EpurseCard")
7066
@Schema(description = "e-Purse card account")
7167
EPURSE_CARD("EpurseCard");
7268

src/main/java/com/adyen/model/nexo/AdminRequest.java

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
package com.adyen.model.nexo;
22

3+
import com.google.gson.annotations.SerializedName;
34
import io.swagger.v3.oas.annotations.media.Schema;
4-
import javax.xml.bind.annotation.XmlAccessType;
5-
import javax.xml.bind.annotation.XmlAccessorType;
6-
import javax.xml.bind.annotation.XmlElement;
7-
import javax.xml.bind.annotation.XmlType;
85

96
/**
107
* Definition: Content of the Custom Admin Request messageType. -- Usage: Empty
@@ -25,14 +22,10 @@
2522
* &lt;/complexType&gt;
2623
* </pre>
2724
*/
28-
@XmlAccessorType(XmlAccessType.FIELD)
29-
@XmlType(
30-
name = "AdminRequest",
31-
propOrder = {"serviceIdentification"})
3225
public class AdminRequest {
3326

3427
/** The Service identification. */
35-
@XmlElement(name = "ServiceIdentification")
28+
@SerializedName("ServiceIdentification")
3629
@Schema(description = "Identification of the administrative service to process.")
3730
protected String serviceIdentification;
3831

src/main/java/com/adyen/model/nexo/AdminResponse.java

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
package com.adyen.model.nexo;
22

3+
import com.google.gson.annotations.SerializedName;
34
import io.swagger.v3.oas.annotations.media.Schema;
4-
import javax.xml.bind.annotation.XmlAccessType;
5-
import javax.xml.bind.annotation.XmlAccessorType;
6-
import javax.xml.bind.annotation.XmlElement;
7-
import javax.xml.bind.annotation.XmlType;
85

96
/**
107
* Definition: Content of the Custom Admin Response messageType. -- Usage: It conveys the result of
@@ -26,14 +23,10 @@
2623
* &lt;/complexType&gt;
2724
* </pre>
2825
*/
29-
@XmlAccessorType(XmlAccessType.FIELD)
30-
@XmlType(
31-
name = "AdminResponse",
32-
propOrder = {"response"})
3326
public class AdminResponse {
3427

3528
/** The Response. */
36-
@XmlElement(name = "Response", required = true)
29+
@SerializedName("Response")
3730
@Schema(description = "Result of a message request processing.")
3831
protected Response response;
3932

src/main/java/com/adyen/model/nexo/AlgorithmIdentifier.java

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package com.adyen.model.nexo;
22

3-
import javax.xml.bind.annotation.XmlAccessType;
4-
import javax.xml.bind.annotation.XmlAccessorType;
5-
import javax.xml.bind.annotation.XmlElement;
6-
import javax.xml.bind.annotation.XmlType;
3+
import com.google.gson.annotations.SerializedName;
74

85
/**
96
* Definition: Identification of a cryptographic algorithm -- Reference: RFC 3880: Internet X.509
@@ -27,18 +24,14 @@
2724
* &lt;/complexType&gt;
2825
* </pre>
2926
*/
30-
@XmlAccessorType(XmlAccessType.FIELD)
31-
@XmlType(
32-
name = "AlgorithmIdentifier",
33-
propOrder = {"parameter"})
3427
public class AlgorithmIdentifier {
3528

3629
/** The Parameter. */
37-
@XmlElement(name = "Parameter")
30+
@SerializedName("Parameter")
3831
protected Parameter parameter;
3932

4033
/** The Algorithm. */
41-
@XmlElement(name = "Algorithm", required = true)
34+
@SerializedName("Algorithm")
4235
protected AlgorithmType algorithm;
4336

4437
/**

src/main/java/com/adyen/model/nexo/AlgorithmType.java

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
package com.adyen.model.nexo;
22

3+
import com.google.gson.annotations.SerializedName;
34
import java.util.Arrays;
4-
import javax.xml.bind.annotation.XmlEnum;
5-
import javax.xml.bind.annotation.XmlEnumValue;
6-
import javax.xml.bind.annotation.XmlType;
75

86
/**
97
* Java class for AlgorithmType.
@@ -26,68 +24,66 @@
2624
* &lt;/simpleType&gt;
2725
* </pre>
2826
*/
29-
@XmlType(name = "AlgorithmType")
30-
@XmlEnum
3127
public enum AlgorithmType {
3228

3329
/**
3430
* Retail CBC-MAC (cf. ISO 9807, ANSI X9.19) - (OID: iso(1) member-body(2) fr(250) type-org (1)
3531
* gie-cb(79) algorithm(10) epas(1) 2)
3632
*/
37-
@XmlEnumValue("id-retail-cbc-mac")
33+
@SerializedName("id-retail-cbc-mac")
3834
ID_RETAIL_CBC_MAC("id-retail-cbc-mac"),
3935

4036
/**
4137
* Retail-CBC-MAC with SHA-256 - (OID: iso(1) member-body(2) fr(250) type-org (1) gie-cb(79)
4238
* algorithm(10) epas(1) 3)
4339
*/
44-
@XmlEnumValue("id-retail-cbc-mac-sha-256")
40+
@SerializedName("id-retail-cbc-mac-sha-256")
4541
ID_RETAIL_CBC_MAC_SHA_256("id-retail-cbc-mac-sha-256"),
4642

4743
/**
4844
* The UKPT or Master Session Key key encryption - (OID: iso(1) member-body(2) fr(250) type-org
4945
* (1) gie-cb(79) algorithm(10) epas(1) 4)
5046
*/
51-
@XmlEnumValue("id-ukpt-wrap ")
47+
@SerializedName("id-ukpt-wrap ")
5248
ID_UKPT_WRAP("id-ukpt-wrap "),
5349

5450
/**
5551
* DUKPT is specified in ANS X9.24-2004, Annex A, and ISO/DIS 13492-2006. - (OID: iso(1)
5652
* member-body(2) fr(250) type-org (1) gie-cb(79) algorithm(10) epas(1) 1)
5753
*/
58-
@XmlEnumValue("id-dukpt-wrap")
54+
@SerializedName("id-dukpt-wrap")
5955
ID_DUKPT_WRAP("id-dukpt-wrap"),
6056

6157
/**
6258
* Triple DES ECB encryption with double length key (112 Bit) as defined in FIPS PUB 46-3 - (OID:
6359
* iso(1) member-body(2) fr(250) type-org (1) gie-cb(79)
6460
*/
65-
@XmlEnumValue("des-ede3-ecb")
61+
@SerializedName("des-ede3-ecb")
6662
DES_EDE_3_ECB("des-ede3-ecb"),
6763

6864
/**
6965
* Triple DES CBC encryption with double length key (112 Bit) as defined in FIPS PUB 46-3 - (OID:
7066
* iso(1) member-body(2) us(840) rsadsi(113549)
7167
*/
72-
@XmlEnumValue("des-ede3-cbc")
68+
@SerializedName("des-ede3-cbc")
7369
DES_EDE_3_CBC("des-ede3-cbc"),
7470

7571
/** Message Digest Algorithm SHA-256 as defined in FIPS 180-1 and 2 - (ISO20022 Label: SHA256) */
76-
@XmlEnumValue("id-sha256")
72+
@SerializedName("id-sha256")
7773
ID_SHA_256("id-sha256"),
7874

7975
/**
8076
* Signature Algorithms SHA-256 with RSA - (OID: iso(1) member-body(2) us(840) rsadsi(113549)
8177
* pkcs(1) pkcs-1(1) 11)
8278
*/
83-
@XmlEnumValue("sha256WithRSAEncryption")
79+
@SerializedName("sha256WithRSAEncryption")
8480
SHA_256_WITH_RSA_ENCRYPTION("sha256WithRSAEncryption"),
8581

8682
/**
8783
* Key Transport Algorithm RSA - (OID: iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1)
8884
* pkcs-1(1) 1)
8985
*/
90-
@XmlEnumValue("rsaEncryption")
86+
@SerializedName("rsaEncryption")
9187
RSA_ENCRYPTION("rsaEncryption");
9288
private final String value;
9389

src/main/java/com/adyen/model/nexo/AlignmentType.java

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
package com.adyen.model.nexo;
22

3+
import com.google.gson.annotations.SerializedName;
34
import java.util.Arrays;
4-
import javax.xml.bind.annotation.XmlEnum;
5-
import javax.xml.bind.annotation.XmlEnumValue;
6-
import javax.xml.bind.annotation.XmlType;
75

86
/**
97
* Java class for AlignmentType.
@@ -21,21 +19,19 @@
2119
* &lt;/simpleType&gt;
2220
* </pre>
2321
*/
24-
@XmlType(name = "AlignmentType")
25-
@XmlEnum
2622
public enum AlignmentType {
2723

2824
/** Left alignment type. */
29-
@XmlEnumValue("Left")
25+
@SerializedName("Left")
3026
LEFT("Left"),
3127
/** Right alignment type. */
32-
@XmlEnumValue("Right")
28+
@SerializedName("Right")
3329
RIGHT("Right"),
3430
/** Centred alignment type. */
35-
@XmlEnumValue("Centred")
31+
@SerializedName("Centred")
3632
CENTRED("Centred"),
3733
/** Justified alignment type. */
38-
@XmlEnumValue("Justified")
34+
@SerializedName("Justified")
3935
JUSTIFIED("Justified");
4036
private final String value;
4137

src/main/java/com/adyen/model/nexo/AllowedProduct.java

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
package com.adyen.model.nexo;
22

3+
import com.google.gson.annotations.SerializedName;
34
import io.swagger.v3.oas.annotations.media.Schema;
4-
import javax.xml.bind.annotation.XmlAccessType;
5-
import javax.xml.bind.annotation.XmlAccessorType;
6-
import javax.xml.bind.annotation.XmlElement;
7-
import javax.xml.bind.annotation.XmlType;
85

96
/**
107
* Definition: Product that are payable by the payment card. -- Usage: Restriction of product
@@ -29,29 +26,25 @@
2926
* &lt;/complexType&gt;
3027
* </pre>
3128
*/
32-
@XmlAccessorType(XmlAccessType.FIELD)
33-
@XmlType(
34-
name = "AllowedProduct",
35-
propOrder = {"productLabel", "additionalProductInfo"})
3629
public class AllowedProduct {
3730

3831
/** The Product label. */
39-
@XmlElement(name = "ProductLabel")
32+
@SerializedName("ProductLabel")
4033
@Schema(description = "Product name of an item purchased with the transaction.")
4134
protected String productLabel;
4235

4336
/** The Additional product info. */
44-
@XmlElement(name = "AdditionalProductInfo")
37+
@SerializedName("AdditionalProductInfo")
4538
@Schema(description = "Additionl information related to the line item.")
4639
protected String additionalProductInfo;
4740

4841
/** The Product code. */
49-
@XmlElement(name = "ProductCode", required = true)
42+
@SerializedName("ProductCode")
5043
@Schema(description = "Product code of item purchased with the transaction.")
5144
protected String productCode;
5245

5346
/** The Ean upc. */
54-
@XmlElement(name = "EanUpc")
47+
@SerializedName("EanUpc")
5548
@Schema(description = "Standard product code of item purchased with the transaction.")
5649
protected String eanUpc;
5750

src/main/java/com/adyen/model/nexo/Amount.java

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
package com.adyen.model.nexo;
22

3+
import com.google.gson.annotations.SerializedName;
34
import java.math.BigDecimal;
4-
import javax.xml.bind.annotation.XmlAccessType;
5-
import javax.xml.bind.annotation.XmlAccessorType;
6-
import javax.xml.bind.annotation.XmlElement;
7-
import javax.xml.bind.annotation.XmlType;
85

96
/**
107
* Definition: Common amount definition with currency -- Usage: Decimal unsigned amount with
@@ -24,18 +21,14 @@
2421
* &lt;/complexType&gt;
2522
* </pre>
2623
*/
27-
@XmlAccessorType(XmlAccessType.FIELD)
28-
@XmlType(
29-
name = "Amount",
30-
propOrder = {"amountValue", "currency"})
3124
public class Amount {
3225

3326
/** The Value. */
34-
@XmlElement(name = "AmountValue")
27+
@SerializedName("AmountValue")
3528
protected BigDecimal amountValue;
3629

3730
/** The Currency. */
38-
@XmlElement(name = "Currency")
31+
@SerializedName("Currency")
3932
protected String currency;
4033

4134
/**

0 commit comments

Comments
 (0)