• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Adyen / adyen-java-api-library / #2703

16 Oct 2023 09:08AM UTC coverage: 12.568%. First build
#2703

push

web-flow
Merge 5bb3765b7 into fe719ccb3

6014 of 6014 new or added lines in 86 files covered. (100.0%)

11852 of 94302 relevant lines covered (12.57%)

0.13 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/adyen/model/marketpaywebhooks/UltimateParentCompanyBusinessDetails.java
1
/*
2
 * Classic Platforms - Notifications
3
 *
4
 * The version of the OpenAPI document: 6
5
 * 
6
 *
7
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
 * https://openapi-generator.tech
9
 * Do not edit the class manually.
10
 */
11

12

13
package com.adyen.model.marketpaywebhooks;
14

15
import java.util.Objects;
16
import java.util.Arrays;
17
import java.util.Map;
18
import java.util.HashMap;
19
import com.fasterxml.jackson.annotation.JsonInclude;
20
import com.fasterxml.jackson.annotation.JsonProperty;
21
import com.fasterxml.jackson.annotation.JsonCreator;
22
import com.fasterxml.jackson.annotation.JsonTypeName;
23
import com.fasterxml.jackson.annotation.JsonValue;
24
import io.swagger.annotations.ApiModel;
25
import io.swagger.annotations.ApiModelProperty;
26
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
27
import com.fasterxml.jackson.core.JsonProcessingException;
28

29

30
/**
31
 * UltimateParentCompanyBusinessDetails
32
 */
33
@JsonPropertyOrder({
34
  UltimateParentCompanyBusinessDetails.JSON_PROPERTY_LEGAL_BUSINESS_NAME,
35
  UltimateParentCompanyBusinessDetails.JSON_PROPERTY_REGISTRATION_NUMBER,
36
  UltimateParentCompanyBusinessDetails.JSON_PROPERTY_STOCK_EXCHANGE,
37
  UltimateParentCompanyBusinessDetails.JSON_PROPERTY_STOCK_NUMBER,
38
  UltimateParentCompanyBusinessDetails.JSON_PROPERTY_STOCK_TICKER
39
})
40

41
public class UltimateParentCompanyBusinessDetails {
42
  public static final String JSON_PROPERTY_LEGAL_BUSINESS_NAME = "legalBusinessName";
43
  private String legalBusinessName;
44

45
  public static final String JSON_PROPERTY_REGISTRATION_NUMBER = "registrationNumber";
46
  private String registrationNumber;
47

48
  public static final String JSON_PROPERTY_STOCK_EXCHANGE = "stockExchange";
49
  private String stockExchange;
50

51
  public static final String JSON_PROPERTY_STOCK_NUMBER = "stockNumber";
52
  private String stockNumber;
53

54
  public static final String JSON_PROPERTY_STOCK_TICKER = "stockTicker";
55
  private String stockTicker;
56

57
  public UltimateParentCompanyBusinessDetails() { 
×
58
  }
×
59

60
  public UltimateParentCompanyBusinessDetails legalBusinessName(String legalBusinessName) {
61
    this.legalBusinessName = legalBusinessName;
×
62
    return this;
×
63
  }
64

65
   /**
66
   * The legal name of the company.
67
   * @return legalBusinessName
68
  **/
69
  @ApiModelProperty(value = "The legal name of the company.")
70
  @JsonProperty(JSON_PROPERTY_LEGAL_BUSINESS_NAME)
71
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
72

73
  public String getLegalBusinessName() {
74
    return legalBusinessName;
×
75
  }
76

77

78
  @JsonProperty(JSON_PROPERTY_LEGAL_BUSINESS_NAME)
79
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
80
  public void setLegalBusinessName(String legalBusinessName) {
81
    this.legalBusinessName = legalBusinessName;
×
82
  }
×
83

84

85
  public UltimateParentCompanyBusinessDetails registrationNumber(String registrationNumber) {
86
    this.registrationNumber = registrationNumber;
×
87
    return this;
×
88
  }
89

90
   /**
91
   * The registration number of the company.
92
   * @return registrationNumber
93
  **/
94
  @ApiModelProperty(value = "The registration number of the company.")
95
  @JsonProperty(JSON_PROPERTY_REGISTRATION_NUMBER)
96
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
97

98
  public String getRegistrationNumber() {
99
    return registrationNumber;
×
100
  }
101

102

103
  @JsonProperty(JSON_PROPERTY_REGISTRATION_NUMBER)
104
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
105
  public void setRegistrationNumber(String registrationNumber) {
106
    this.registrationNumber = registrationNumber;
×
107
  }
×
108

109

110
  public UltimateParentCompanyBusinessDetails stockExchange(String stockExchange) {
111
    this.stockExchange = stockExchange;
×
112
    return this;
×
113
  }
114

115
   /**
116
   * Market Identifier Code (MIC).
117
   * @return stockExchange
118
  **/
119
  @ApiModelProperty(value = "Market Identifier Code (MIC).")
120
  @JsonProperty(JSON_PROPERTY_STOCK_EXCHANGE)
121
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
122

123
  public String getStockExchange() {
124
    return stockExchange;
×
125
  }
126

127

128
  @JsonProperty(JSON_PROPERTY_STOCK_EXCHANGE)
129
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
130
  public void setStockExchange(String stockExchange) {
131
    this.stockExchange = stockExchange;
×
132
  }
×
133

134

135
  public UltimateParentCompanyBusinessDetails stockNumber(String stockNumber) {
136
    this.stockNumber = stockNumber;
×
137
    return this;
×
138
  }
139

140
   /**
141
   * International Securities Identification Number (ISIN).
142
   * @return stockNumber
143
  **/
144
  @ApiModelProperty(value = "International Securities Identification Number (ISIN).")
145
  @JsonProperty(JSON_PROPERTY_STOCK_NUMBER)
146
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
147

148
  public String getStockNumber() {
149
    return stockNumber;
×
150
  }
151

152

153
  @JsonProperty(JSON_PROPERTY_STOCK_NUMBER)
154
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
155
  public void setStockNumber(String stockNumber) {
156
    this.stockNumber = stockNumber;
×
157
  }
×
158

159

160
  public UltimateParentCompanyBusinessDetails stockTicker(String stockTicker) {
161
    this.stockTicker = stockTicker;
×
162
    return this;
×
163
  }
164

165
   /**
166
   * Stock Ticker symbol.
167
   * @return stockTicker
168
  **/
169
  @ApiModelProperty(value = "Stock Ticker symbol.")
170
  @JsonProperty(JSON_PROPERTY_STOCK_TICKER)
171
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
172

173
  public String getStockTicker() {
174
    return stockTicker;
×
175
  }
176

177

178
  @JsonProperty(JSON_PROPERTY_STOCK_TICKER)
179
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
180
  public void setStockTicker(String stockTicker) {
181
    this.stockTicker = stockTicker;
×
182
  }
×
183

184

185
  /**
186
   * Return true if this UltimateParentCompanyBusinessDetails object is equal to o.
187
   */
188
  @Override
189
  public boolean equals(Object o) {
190
    if (this == o) {
×
191
      return true;
×
192
    }
193
    if (o == null || getClass() != o.getClass()) {
×
194
      return false;
×
195
    }
196
    UltimateParentCompanyBusinessDetails ultimateParentCompanyBusinessDetails = (UltimateParentCompanyBusinessDetails) o;
×
197
    return Objects.equals(this.legalBusinessName, ultimateParentCompanyBusinessDetails.legalBusinessName) &&
×
198
        Objects.equals(this.registrationNumber, ultimateParentCompanyBusinessDetails.registrationNumber) &&
×
199
        Objects.equals(this.stockExchange, ultimateParentCompanyBusinessDetails.stockExchange) &&
×
200
        Objects.equals(this.stockNumber, ultimateParentCompanyBusinessDetails.stockNumber) &&
×
201
        Objects.equals(this.stockTicker, ultimateParentCompanyBusinessDetails.stockTicker);
×
202
  }
203

204
  @Override
205
  public int hashCode() {
206
    return Objects.hash(legalBusinessName, registrationNumber, stockExchange, stockNumber, stockTicker);
×
207
  }
208

209
  @Override
210
  public String toString() {
211
    StringBuilder sb = new StringBuilder();
×
212
    sb.append("class UltimateParentCompanyBusinessDetails {\n");
×
213
    sb.append("    legalBusinessName: ").append(toIndentedString(legalBusinessName)).append("\n");
×
214
    sb.append("    registrationNumber: ").append(toIndentedString(registrationNumber)).append("\n");
×
215
    sb.append("    stockExchange: ").append(toIndentedString(stockExchange)).append("\n");
×
216
    sb.append("    stockNumber: ").append(toIndentedString(stockNumber)).append("\n");
×
217
    sb.append("    stockTicker: ").append(toIndentedString(stockTicker)).append("\n");
×
218
    sb.append("}");
×
219
    return sb.toString();
×
220
  }
221

222
  /**
223
   * Convert the given object to string with each line indented by 4 spaces
224
   * (except the first line).
225
   */
226
  private String toIndentedString(Object o) {
227
    if (o == null) {
×
228
      return "null";
×
229
    }
230
    return o.toString().replace("\n", "\n    ");
×
231
  }
232

233
/**
234
   * Create an instance of UltimateParentCompanyBusinessDetails given an JSON string
235
   *
236
   * @param jsonString JSON string
237
   * @return An instance of UltimateParentCompanyBusinessDetails
238
   * @throws JsonProcessingException if the JSON string is invalid with respect to UltimateParentCompanyBusinessDetails
239
   */
240
  public static UltimateParentCompanyBusinessDetails fromJson(String jsonString) throws JsonProcessingException {
241
    return JSON.getMapper().readValue(jsonString, UltimateParentCompanyBusinessDetails.class);
×
242
  }
243
/**
244
  * Convert an instance of UltimateParentCompanyBusinessDetails to an JSON string
245
  *
246
  * @return JSON string
247
  */
248
  public String toJson() throws JsonProcessingException {
249
    return JSON.getMapper().writeValueAsString(this);
×
250
  }
251
}
252

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc