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

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

22 Sep 2023 11:24AM UTC coverage: 12.611%. First build
#2661

push

web-flow
Merge 251f6ff51 into 9e36e9c01

9262 of 9262 new or added lines in 142 files covered. (100.0%)

11033 of 87486 relevant lines covered (12.61%)

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/marketpayhop/ShowPages.java
1
/*
2
 * Hosted onboarding API
3
 * This API is used for the classic integration. If you are just starting your implementation, refer to our [new integration guide](https://docs.adyen.com/marketplaces-and-platforms) instead.  The Hosted onboarding API provides endpoints that you can use to generate links to Adyen-hosted pages, such as an [onboarding page](https://docs.adyen.com/marketplaces-and-platforms/classic/hosted-onboarding-page) or a [PCI compliance questionnaire](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners). You can provide these links to your account holders so that they can complete their onboarding.  ## Authentication Your Adyen contact will provide your API credential and an API key. To connect to the API, add an `X-API-Key` header with the API key as the value, for example:   ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: YOUR_API_KEY\" \\ ... ```  Alternatively, you can use the username and password to connect to the API using basic authentication. For example:  ``` curl -U \"ws@MarketPlace.YOUR_PLATFORM_ACCOUNT\":\"YOUR_WS_PASSWORD\" \\ -H \"Content-Type: application/json\" \\ ... ``` When going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints).  ## Versioning The Hosted onboarding API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number.  For example: ``` https://cal-test.adyen.com/cal/services/Hop/v6/getOnboardingUrl ```
4
 *
5
 * The version of the OpenAPI document: 6
6
 * 
7
 *
8
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
 * https://openapi-generator.tech
10
 * Do not edit the class manually.
11
 */
12

13

14
package com.adyen.model.marketpayhop;
15

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

30

31
/**
32
 * ShowPages
33
 */
34
@JsonPropertyOrder({
35
  ShowPages.JSON_PROPERTY_BANK_DETAILS_SUMMARY_PAGE,
36
  ShowPages.JSON_PROPERTY_BANK_VERIFICATION_PAGE,
37
  ShowPages.JSON_PROPERTY_BUSINESS_DETAILS_SUMMARY_PAGE,
38
  ShowPages.JSON_PROPERTY_CHECKS_OVERVIEW_PAGE,
39
  ShowPages.JSON_PROPERTY_INDIVIDUAL_DETAILS_SUMMARY_PAGE,
40
  ShowPages.JSON_PROPERTY_LEGAL_ARRANGEMENTS_DETAILS_SUMMARY_PAGE,
41
  ShowPages.JSON_PROPERTY_MANUAL_BANK_ACCOUNT_PAGE,
42
  ShowPages.JSON_PROPERTY_SHAREHOLDER_DETAILS_SUMMARY_PAGE,
43
  ShowPages.JSON_PROPERTY_WELCOME_PAGE
44
})
45

46
public class ShowPages {
47
  public static final String JSON_PROPERTY_BANK_DETAILS_SUMMARY_PAGE = "bankDetailsSummaryPage";
48
  private Boolean bankDetailsSummaryPage;
49

50
  public static final String JSON_PROPERTY_BANK_VERIFICATION_PAGE = "bankVerificationPage";
51
  private Boolean bankVerificationPage;
52

53
  public static final String JSON_PROPERTY_BUSINESS_DETAILS_SUMMARY_PAGE = "businessDetailsSummaryPage";
54
  private Boolean businessDetailsSummaryPage;
55

56
  public static final String JSON_PROPERTY_CHECKS_OVERVIEW_PAGE = "checksOverviewPage";
57
  private Boolean checksOverviewPage;
58

59
  public static final String JSON_PROPERTY_INDIVIDUAL_DETAILS_SUMMARY_PAGE = "individualDetailsSummaryPage";
60
  private Boolean individualDetailsSummaryPage;
61

62
  public static final String JSON_PROPERTY_LEGAL_ARRANGEMENTS_DETAILS_SUMMARY_PAGE = "legalArrangementsDetailsSummaryPage";
63
  private Boolean legalArrangementsDetailsSummaryPage;
64

65
  public static final String JSON_PROPERTY_MANUAL_BANK_ACCOUNT_PAGE = "manualBankAccountPage";
66
  private Boolean manualBankAccountPage;
67

68
  public static final String JSON_PROPERTY_SHAREHOLDER_DETAILS_SUMMARY_PAGE = "shareholderDetailsSummaryPage";
69
  private Boolean shareholderDetailsSummaryPage;
70

71
  public static final String JSON_PROPERTY_WELCOME_PAGE = "welcomePage";
72
  private Boolean welcomePage;
73

74
  public ShowPages() { 
×
75
  }
×
76

77
  public ShowPages bankDetailsSummaryPage(Boolean bankDetailsSummaryPage) {
78
    this.bankDetailsSummaryPage = bankDetailsSummaryPage;
×
79
    return this;
×
80
  }
81

82
   /**
83
   * Indicates whether the page with bank account details must be shown. Defaults to **true**.
84
   * @return bankDetailsSummaryPage
85
  **/
86
  @ApiModelProperty(value = "Indicates whether the page with bank account details must be shown. Defaults to **true**.")
87
  @JsonProperty(JSON_PROPERTY_BANK_DETAILS_SUMMARY_PAGE)
88
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
89

90
  public Boolean getBankDetailsSummaryPage() {
91
    return bankDetailsSummaryPage;
×
92
  }
93

94

95
  @JsonProperty(JSON_PROPERTY_BANK_DETAILS_SUMMARY_PAGE)
96
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
97
  public void setBankDetailsSummaryPage(Boolean bankDetailsSummaryPage) {
98
    this.bankDetailsSummaryPage = bankDetailsSummaryPage;
×
99
  }
×
100

101

102
  public ShowPages bankVerificationPage(Boolean bankVerificationPage) {
103
    this.bankVerificationPage = bankVerificationPage;
×
104
    return this;
×
105
  }
106

107
   /**
108
   * Indicates whether the bank check instant verification' details must be shown. Defaults to **true**.
109
   * @return bankVerificationPage
110
  **/
111
  @ApiModelProperty(value = "Indicates whether the bank check instant verification' details must be shown. Defaults to **true**.")
112
  @JsonProperty(JSON_PROPERTY_BANK_VERIFICATION_PAGE)
113
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
114

115
  public Boolean getBankVerificationPage() {
116
    return bankVerificationPage;
×
117
  }
118

119

120
  @JsonProperty(JSON_PROPERTY_BANK_VERIFICATION_PAGE)
121
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
122
  public void setBankVerificationPage(Boolean bankVerificationPage) {
123
    this.bankVerificationPage = bankVerificationPage;
×
124
  }
×
125

126

127
  public ShowPages businessDetailsSummaryPage(Boolean businessDetailsSummaryPage) {
128
    this.businessDetailsSummaryPage = businessDetailsSummaryPage;
×
129
    return this;
×
130
  }
131

132
   /**
133
   * Indicates whether the page with the company's or organization's details must be shown. Defaults to **true**.
134
   * @return businessDetailsSummaryPage
135
  **/
136
  @ApiModelProperty(value = "Indicates whether the page with the company's or organization's details must be shown. Defaults to **true**.")
137
  @JsonProperty(JSON_PROPERTY_BUSINESS_DETAILS_SUMMARY_PAGE)
138
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
139

140
  public Boolean getBusinessDetailsSummaryPage() {
141
    return businessDetailsSummaryPage;
×
142
  }
143

144

145
  @JsonProperty(JSON_PROPERTY_BUSINESS_DETAILS_SUMMARY_PAGE)
146
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
147
  public void setBusinessDetailsSummaryPage(Boolean businessDetailsSummaryPage) {
148
    this.businessDetailsSummaryPage = businessDetailsSummaryPage;
×
149
  }
×
150

151

152
  public ShowPages checksOverviewPage(Boolean checksOverviewPage) {
153
    this.checksOverviewPage = checksOverviewPage;
×
154
    return this;
×
155
  }
156

157
   /**
158
   * Indicates whether the checks overview page must be shown. Defaults to **false**.
159
   * @return checksOverviewPage
160
  **/
161
  @ApiModelProperty(value = "Indicates whether the checks overview page must be shown. Defaults to **false**.")
162
  @JsonProperty(JSON_PROPERTY_CHECKS_OVERVIEW_PAGE)
163
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
164

165
  public Boolean getChecksOverviewPage() {
166
    return checksOverviewPage;
×
167
  }
168

169

170
  @JsonProperty(JSON_PROPERTY_CHECKS_OVERVIEW_PAGE)
171
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
172
  public void setChecksOverviewPage(Boolean checksOverviewPage) {
173
    this.checksOverviewPage = checksOverviewPage;
×
174
  }
×
175

176

177
  public ShowPages individualDetailsSummaryPage(Boolean individualDetailsSummaryPage) {
178
    this.individualDetailsSummaryPage = individualDetailsSummaryPage;
×
179
    return this;
×
180
  }
181

182
   /**
183
   * Indicates whether the page with the individual's details must be shown. Defaults to **true**.
184
   * @return individualDetailsSummaryPage
185
  **/
186
  @ApiModelProperty(value = "Indicates whether the page with the individual's details must be shown. Defaults to **true**.")
187
  @JsonProperty(JSON_PROPERTY_INDIVIDUAL_DETAILS_SUMMARY_PAGE)
188
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
189

190
  public Boolean getIndividualDetailsSummaryPage() {
191
    return individualDetailsSummaryPage;
×
192
  }
193

194

195
  @JsonProperty(JSON_PROPERTY_INDIVIDUAL_DETAILS_SUMMARY_PAGE)
196
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
197
  public void setIndividualDetailsSummaryPage(Boolean individualDetailsSummaryPage) {
198
    this.individualDetailsSummaryPage = individualDetailsSummaryPage;
×
199
  }
×
200

201

202
  public ShowPages legalArrangementsDetailsSummaryPage(Boolean legalArrangementsDetailsSummaryPage) {
203
    this.legalArrangementsDetailsSummaryPage = legalArrangementsDetailsSummaryPage;
×
204
    return this;
×
205
  }
206

207
   /**
208
   * Indicates whether the page with the legal arrangements' details must be shown. Defaults to **true**.
209
   * @return legalArrangementsDetailsSummaryPage
210
  **/
211
  @ApiModelProperty(value = "Indicates whether the page with the legal arrangements' details must be shown. Defaults to **true**.")
212
  @JsonProperty(JSON_PROPERTY_LEGAL_ARRANGEMENTS_DETAILS_SUMMARY_PAGE)
213
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
214

215
  public Boolean getLegalArrangementsDetailsSummaryPage() {
216
    return legalArrangementsDetailsSummaryPage;
×
217
  }
218

219

220
  @JsonProperty(JSON_PROPERTY_LEGAL_ARRANGEMENTS_DETAILS_SUMMARY_PAGE)
221
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
222
  public void setLegalArrangementsDetailsSummaryPage(Boolean legalArrangementsDetailsSummaryPage) {
223
    this.legalArrangementsDetailsSummaryPage = legalArrangementsDetailsSummaryPage;
×
224
  }
×
225

226

227
  public ShowPages manualBankAccountPage(Boolean manualBankAccountPage) {
228
    this.manualBankAccountPage = manualBankAccountPage;
×
229
    return this;
×
230
  }
231

232
   /**
233
   * Indicates whether the page to manually add bank account' details must be shown. Defaults to **true**.
234
   * @return manualBankAccountPage
235
  **/
236
  @ApiModelProperty(value = "Indicates whether the page to manually add bank account' details must be shown. Defaults to **true**.")
237
  @JsonProperty(JSON_PROPERTY_MANUAL_BANK_ACCOUNT_PAGE)
238
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
239

240
  public Boolean getManualBankAccountPage() {
241
    return manualBankAccountPage;
×
242
  }
243

244

245
  @JsonProperty(JSON_PROPERTY_MANUAL_BANK_ACCOUNT_PAGE)
246
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
247
  public void setManualBankAccountPage(Boolean manualBankAccountPage) {
248
    this.manualBankAccountPage = manualBankAccountPage;
×
249
  }
×
250

251

252
  public ShowPages shareholderDetailsSummaryPage(Boolean shareholderDetailsSummaryPage) {
253
    this.shareholderDetailsSummaryPage = shareholderDetailsSummaryPage;
×
254
    return this;
×
255
  }
256

257
   /**
258
   * Indicates whether the page with the shareholders' details must be shown. Defaults to **true**.
259
   * @return shareholderDetailsSummaryPage
260
  **/
261
  @ApiModelProperty(value = "Indicates whether the page with the shareholders' details must be shown. Defaults to **true**.")
262
  @JsonProperty(JSON_PROPERTY_SHAREHOLDER_DETAILS_SUMMARY_PAGE)
263
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
264

265
  public Boolean getShareholderDetailsSummaryPage() {
266
    return shareholderDetailsSummaryPage;
×
267
  }
268

269

270
  @JsonProperty(JSON_PROPERTY_SHAREHOLDER_DETAILS_SUMMARY_PAGE)
271
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
272
  public void setShareholderDetailsSummaryPage(Boolean shareholderDetailsSummaryPage) {
273
    this.shareholderDetailsSummaryPage = shareholderDetailsSummaryPage;
×
274
  }
×
275

276

277
  public ShowPages welcomePage(Boolean welcomePage) {
278
    this.welcomePage = welcomePage;
×
279
    return this;
×
280
  }
281

282
   /**
283
   * Indicates whether the welcome page must be shown. Defaults to **false**.
284
   * @return welcomePage
285
  **/
286
  @ApiModelProperty(value = "Indicates whether the welcome page must be shown. Defaults to **false**.")
287
  @JsonProperty(JSON_PROPERTY_WELCOME_PAGE)
288
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
289

290
  public Boolean getWelcomePage() {
291
    return welcomePage;
×
292
  }
293

294

295
  @JsonProperty(JSON_PROPERTY_WELCOME_PAGE)
296
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
297
  public void setWelcomePage(Boolean welcomePage) {
298
    this.welcomePage = welcomePage;
×
299
  }
×
300

301

302
  /**
303
   * Return true if this ShowPages object is equal to o.
304
   */
305
  @Override
306
  public boolean equals(Object o) {
307
    if (this == o) {
×
308
      return true;
×
309
    }
310
    if (o == null || getClass() != o.getClass()) {
×
311
      return false;
×
312
    }
313
    ShowPages showPages = (ShowPages) o;
×
314
    return Objects.equals(this.bankDetailsSummaryPage, showPages.bankDetailsSummaryPage) &&
×
315
        Objects.equals(this.bankVerificationPage, showPages.bankVerificationPage) &&
×
316
        Objects.equals(this.businessDetailsSummaryPage, showPages.businessDetailsSummaryPage) &&
×
317
        Objects.equals(this.checksOverviewPage, showPages.checksOverviewPage) &&
×
318
        Objects.equals(this.individualDetailsSummaryPage, showPages.individualDetailsSummaryPage) &&
×
319
        Objects.equals(this.legalArrangementsDetailsSummaryPage, showPages.legalArrangementsDetailsSummaryPage) &&
×
320
        Objects.equals(this.manualBankAccountPage, showPages.manualBankAccountPage) &&
×
321
        Objects.equals(this.shareholderDetailsSummaryPage, showPages.shareholderDetailsSummaryPage) &&
×
322
        Objects.equals(this.welcomePage, showPages.welcomePage);
×
323
  }
324

325
  @Override
326
  public int hashCode() {
327
    return Objects.hash(bankDetailsSummaryPage, bankVerificationPage, businessDetailsSummaryPage, checksOverviewPage, individualDetailsSummaryPage, legalArrangementsDetailsSummaryPage, manualBankAccountPage, shareholderDetailsSummaryPage, welcomePage);
×
328
  }
329

330
  @Override
331
  public String toString() {
332
    StringBuilder sb = new StringBuilder();
×
333
    sb.append("class ShowPages {\n");
×
334
    sb.append("    bankDetailsSummaryPage: ").append(toIndentedString(bankDetailsSummaryPage)).append("\n");
×
335
    sb.append("    bankVerificationPage: ").append(toIndentedString(bankVerificationPage)).append("\n");
×
336
    sb.append("    businessDetailsSummaryPage: ").append(toIndentedString(businessDetailsSummaryPage)).append("\n");
×
337
    sb.append("    checksOverviewPage: ").append(toIndentedString(checksOverviewPage)).append("\n");
×
338
    sb.append("    individualDetailsSummaryPage: ").append(toIndentedString(individualDetailsSummaryPage)).append("\n");
×
339
    sb.append("    legalArrangementsDetailsSummaryPage: ").append(toIndentedString(legalArrangementsDetailsSummaryPage)).append("\n");
×
340
    sb.append("    manualBankAccountPage: ").append(toIndentedString(manualBankAccountPage)).append("\n");
×
341
    sb.append("    shareholderDetailsSummaryPage: ").append(toIndentedString(shareholderDetailsSummaryPage)).append("\n");
×
342
    sb.append("    welcomePage: ").append(toIndentedString(welcomePage)).append("\n");
×
343
    sb.append("}");
×
344
    return sb.toString();
×
345
  }
346

347
  /**
348
   * Convert the given object to string with each line indented by 4 spaces
349
   * (except the first line).
350
   */
351
  private String toIndentedString(Object o) {
352
    if (o == null) {
×
353
      return "null";
×
354
    }
355
    return o.toString().replace("\n", "\n    ");
×
356
  }
357

358
/**
359
   * Create an instance of ShowPages given an JSON string
360
   *
361
   * @param jsonString JSON string
362
   * @return An instance of ShowPages
363
   * @throws JsonProcessingException if the JSON string is invalid with respect to ShowPages
364
   */
365
  public static ShowPages fromJson(String jsonString) throws JsonProcessingException {
366
    return JSON.getMapper().readValue(jsonString, ShowPages.class);
×
367
  }
368
/**
369
  * Convert an instance of ShowPages to an JSON string
370
  *
371
  * @return JSON string
372
  */
373
  public String toJson() throws JsonProcessingException {
374
    return JSON.getMapper().writeValueAsString(this);
×
375
  }
376
}
377

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