Skip to content

Commit 342b722

Browse files
authored
Merge pull request #1373 from Adyen/sdk-automation/models
Update all services
2 parents 996bbc4 + e640428 commit 342b722

File tree

1,064 files changed

+85191
-64820
lines changed

Some content is hidden

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

1,064 files changed

+85191
-64820
lines changed

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

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -45,66 +45,72 @@ public class Amount {
4545
public Amount() {
4646
}
4747

48+
/**
49+
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
50+
*
51+
* @param currency
52+
* @return the current {@code Amount} instance, allowing for method chaining
53+
*/
4854
public Amount currency(String currency) {
4955
this.currency = currency;
5056
return this;
5157
}
5258

53-
/**
59+
/**
5460
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
5561
* @return currency
56-
**/
62+
*/
5763
@ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).")
5864
@JsonProperty(JSON_PROPERTY_CURRENCY)
5965
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
60-
6166
public String getCurrency() {
6267
return currency;
6368
}
6469

65-
66-
/**
67-
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
68-
*
69-
* @param currency
70-
*/
70+
/**
71+
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
72+
*
73+
* @param currency
74+
*/
7175
@JsonProperty(JSON_PROPERTY_CURRENCY)
7276
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
7377
public void setCurrency(String currency) {
7478
this.currency = currency;
7579
}
7680

77-
81+
/**
82+
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
83+
*
84+
* @param value
85+
* @return the current {@code Amount} instance, allowing for method chaining
86+
*/
7887
public Amount value(Long value) {
7988
this.value = value;
8089
return this;
8190
}
8291

83-
/**
92+
/**
8493
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
8594
* @return value
86-
**/
95+
*/
8796
@ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).")
8897
@JsonProperty(JSON_PROPERTY_VALUE)
8998
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
90-
9199
public Long getValue() {
92100
return value;
93101
}
94102

95-
96-
/**
97-
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
98-
*
99-
* @param value
100-
*/
103+
/**
104+
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
105+
*
106+
* @param value
107+
*/
101108
@JsonProperty(JSON_PROPERTY_VALUE)
102109
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
103110
public void setValue(Long value) {
104111
this.value = value;
105112
}
106113

107-
108114
/**
109115
* Return true if this Amount object is equal to o.
110116
*/
@@ -166,4 +172,3 @@ public String toJson() throws JsonProcessingException {
166172
return JSON.getMapper().writeValueAsString(this);
167173
}
168174
}
169-

0 commit comments

Comments
 (0)