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

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

02 Oct 2023 02:08PM UTC coverage: 12.623%. First build
#2676

push

web-flow
Merge 8c2a459f7 into 9e36e9c01

9362 of 9362 new or added lines in 164 files covered. (100.0%)

11051 of 87544 relevant lines covered (12.62%)

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/marketpayaccount/StoreDetail.java
1
/*
2
 * Account 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 Account API provides endpoints for managing account-related entities on your platform. These related entities include account holders, accounts, bank accounts, shareholders, and verification-related documents. The management operations include actions such as creation, retrieval, updating, and deletion of them.  For more information, refer to our [documentation](https://docs.adyen.com/marketplaces-and-platforms/classic). ## 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 Account 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/Account/v6/createAccountHolder ```
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.marketpayaccount;
15

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

32

33
/**
34
 * StoreDetail
35
 */
36
@JsonPropertyOrder({
37
  StoreDetail.JSON_PROPERTY_ADDRESS,
38
  StoreDetail.JSON_PROPERTY_FULL_PHONE_NUMBER,
39
  StoreDetail.JSON_PROPERTY_LOGO,
40
  StoreDetail.JSON_PROPERTY_MERCHANT_ACCOUNT,
41
  StoreDetail.JSON_PROPERTY_MERCHANT_CATEGORY_CODE,
42
  StoreDetail.JSON_PROPERTY_MERCHANT_HOUSE_NUMBER,
43
  StoreDetail.JSON_PROPERTY_PHONE_NUMBER,
44
  StoreDetail.JSON_PROPERTY_SHOPPER_INTERACTION,
45
  StoreDetail.JSON_PROPERTY_SPLIT_CONFIGURATION_U_U_I_D,
46
  StoreDetail.JSON_PROPERTY_STATUS,
47
  StoreDetail.JSON_PROPERTY_STORE,
48
  StoreDetail.JSON_PROPERTY_STORE_NAME,
49
  StoreDetail.JSON_PROPERTY_STORE_REFERENCE,
50
  StoreDetail.JSON_PROPERTY_VIRTUAL_ACCOUNT,
51
  StoreDetail.JSON_PROPERTY_WEB_ADDRESS
52
})
53

54
public class StoreDetail {
55
  public static final String JSON_PROPERTY_ADDRESS = "address";
56
  private ViasAddress address;
57

58
  public static final String JSON_PROPERTY_FULL_PHONE_NUMBER = "fullPhoneNumber";
59
  private String fullPhoneNumber;
60

61
  public static final String JSON_PROPERTY_LOGO = "logo";
62
  private String logo;
63

64
  public static final String JSON_PROPERTY_MERCHANT_ACCOUNT = "merchantAccount";
65
  private String merchantAccount;
66

67
  public static final String JSON_PROPERTY_MERCHANT_CATEGORY_CODE = "merchantCategoryCode";
68
  private String merchantCategoryCode;
69

70
  public static final String JSON_PROPERTY_MERCHANT_HOUSE_NUMBER = "merchantHouseNumber";
71
  private String merchantHouseNumber;
72

73
  public static final String JSON_PROPERTY_PHONE_NUMBER = "phoneNumber";
74
  private ViasPhoneNumber phoneNumber;
75

76
  /**
77
   * The sales channel. Possible values: **Ecommerce**, **POS**.
78
   */
79
  public enum ShopperInteractionEnum {
×
80
    ECOMMERCE("Ecommerce"),
×
81
    
82
    POS("POS");
×
83

84
    private String value;
85

86
    ShopperInteractionEnum(String value) {
×
87
      this.value = value;
×
88
    }
×
89

90
    @JsonValue
91
    public String getValue() {
92
      return value;
×
93
    }
94

95
    @Override
96
    public String toString() {
97
      return String.valueOf(value);
×
98
    }
99

100
    @JsonCreator
101
    public static ShopperInteractionEnum fromValue(String value) {
102
      for (ShopperInteractionEnum b : ShopperInteractionEnum.values()) {
×
103
        if (b.value.equals(value)) {
×
104
          return b;
×
105
        }
106
      }
107
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
108
    }
109
  }
110

111
  public static final String JSON_PROPERTY_SHOPPER_INTERACTION = "shopperInteraction";
112
  private ShopperInteractionEnum shopperInteraction;
113

114
  public static final String JSON_PROPERTY_SPLIT_CONFIGURATION_U_U_I_D = "splitConfigurationUUID";
115
  private String splitConfigurationUUID;
116

117
  /**
118
   * The status of the store. Possible values: **Pending**, **Active**, **Inactive**, **InactiveWithModifications**, **Closed**.
119
   */
120
  public enum StatusEnum {
×
121
    ACTIVE("Active"),
×
122
    
123
    CLOSED("Closed"),
×
124
    
125
    INACTIVE("Inactive"),
×
126
    
127
    INACTIVEWITHMODIFICATIONS("InactiveWithModifications"),
×
128
    
129
    PENDING("Pending");
×
130

131
    private String value;
132

133
    StatusEnum(String value) {
×
134
      this.value = value;
×
135
    }
×
136

137
    @JsonValue
138
    public String getValue() {
139
      return value;
×
140
    }
141

142
    @Override
143
    public String toString() {
144
      return String.valueOf(value);
×
145
    }
146

147
    @JsonCreator
148
    public static StatusEnum fromValue(String value) {
149
      for (StatusEnum b : StatusEnum.values()) {
×
150
        if (b.value.equals(value)) {
×
151
          return b;
×
152
        }
153
      }
154
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
155
    }
156
  }
157

158
  public static final String JSON_PROPERTY_STATUS = "status";
159
  private StatusEnum status;
160

161
  public static final String JSON_PROPERTY_STORE = "store";
162
  private String store;
163

164
  public static final String JSON_PROPERTY_STORE_NAME = "storeName";
165
  private String storeName;
166

167
  public static final String JSON_PROPERTY_STORE_REFERENCE = "storeReference";
168
  private String storeReference;
169

170
  public static final String JSON_PROPERTY_VIRTUAL_ACCOUNT = "virtualAccount";
171
  private String virtualAccount;
172

173
  public static final String JSON_PROPERTY_WEB_ADDRESS = "webAddress";
174
  private String webAddress;
175

176
  public StoreDetail() { 
×
177
  }
×
178

179
  public StoreDetail address(ViasAddress address) {
180
    this.address = address;
×
181
    return this;
×
182
  }
183

184
   /**
185
   * Get address
186
   * @return address
187
  **/
188
  @ApiModelProperty(required = true, value = "")
189
  @JsonProperty(JSON_PROPERTY_ADDRESS)
190
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
191

192
  public ViasAddress getAddress() {
193
    return address;
×
194
  }
195

196

197
  @JsonProperty(JSON_PROPERTY_ADDRESS)
198
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
199
  public void setAddress(ViasAddress address) {
200
    this.address = address;
×
201
  }
×
202

203

204
  public StoreDetail fullPhoneNumber(String fullPhoneNumber) {
205
    this.fullPhoneNumber = fullPhoneNumber;
×
206
    return this;
×
207
  }
208

209
   /**
210
   * The phone number of the store provided as a single string.  It will be handled as a landline phone.  Examples: \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\"
211
   * @return fullPhoneNumber
212
  **/
213
  @ApiModelProperty(value = "The phone number of the store provided as a single string.  It will be handled as a landline phone.  Examples: \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\"")
214
  @JsonProperty(JSON_PROPERTY_FULL_PHONE_NUMBER)
215
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
216

217
  public String getFullPhoneNumber() {
218
    return fullPhoneNumber;
×
219
  }
220

221

222
  @JsonProperty(JSON_PROPERTY_FULL_PHONE_NUMBER)
223
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
224
  public void setFullPhoneNumber(String fullPhoneNumber) {
225
    this.fullPhoneNumber = fullPhoneNumber;
×
226
  }
×
227

228

229
  public StoreDetail logo(String logo) {
230
    this.logo = logo;
×
231
    return this;
×
232
  }
233

234
   /**
235
   * Store logo for payment method setup.
236
   * @return logo
237
  **/
238
  @ApiModelProperty(value = "Store logo for payment method setup.")
239
  @JsonProperty(JSON_PROPERTY_LOGO)
240
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
241

242
  public String getLogo() {
243
    return logo;
×
244
  }
245

246

247
  @JsonProperty(JSON_PROPERTY_LOGO)
248
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
249
  public void setLogo(String logo) {
250
    this.logo = logo;
×
251
  }
×
252

253

254
  public StoreDetail merchantAccount(String merchantAccount) {
255
    this.merchantAccount = merchantAccount;
×
256
    return this;
×
257
  }
258

259
   /**
260
   * The merchant account to which the store belongs.
261
   * @return merchantAccount
262
  **/
263
  @ApiModelProperty(required = true, value = "The merchant account to which the store belongs.")
264
  @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT)
265
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
266

267
  public String getMerchantAccount() {
268
    return merchantAccount;
×
269
  }
270

271

272
  @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT)
273
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
274
  public void setMerchantAccount(String merchantAccount) {
275
    this.merchantAccount = merchantAccount;
×
276
  }
×
277

278

279
  public StoreDetail merchantCategoryCode(String merchantCategoryCode) {
280
    this.merchantCategoryCode = merchantCategoryCode;
×
281
    return this;
×
282
  }
283

284
   /**
285
   * The merchant category code (MCC) that classifies the business of the account holder.
286
   * @return merchantCategoryCode
287
  **/
288
  @ApiModelProperty(required = true, value = "The merchant category code (MCC) that classifies the business of the account holder.")
289
  @JsonProperty(JSON_PROPERTY_MERCHANT_CATEGORY_CODE)
290
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
291

292
  public String getMerchantCategoryCode() {
293
    return merchantCategoryCode;
×
294
  }
295

296

297
  @JsonProperty(JSON_PROPERTY_MERCHANT_CATEGORY_CODE)
298
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
299
  public void setMerchantCategoryCode(String merchantCategoryCode) {
300
    this.merchantCategoryCode = merchantCategoryCode;
×
301
  }
×
302

303

304
  public StoreDetail merchantHouseNumber(String merchantHouseNumber) {
305
    this.merchantHouseNumber = merchantHouseNumber;
×
306
    return this;
×
307
  }
308

309
   /**
310
   * Merchant house number for payment method setup.
311
   * @return merchantHouseNumber
312
  **/
313
  @ApiModelProperty(value = "Merchant house number for payment method setup.")
314
  @JsonProperty(JSON_PROPERTY_MERCHANT_HOUSE_NUMBER)
315
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
316

317
  public String getMerchantHouseNumber() {
318
    return merchantHouseNumber;
×
319
  }
320

321

322
  @JsonProperty(JSON_PROPERTY_MERCHANT_HOUSE_NUMBER)
323
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
324
  public void setMerchantHouseNumber(String merchantHouseNumber) {
325
    this.merchantHouseNumber = merchantHouseNumber;
×
326
  }
×
327

328

329
  public StoreDetail phoneNumber(ViasPhoneNumber phoneNumber) {
330
    this.phoneNumber = phoneNumber;
×
331
    return this;
×
332
  }
333

334
   /**
335
   * Get phoneNumber
336
   * @return phoneNumber
337
  **/
338
  @ApiModelProperty(value = "")
339
  @JsonProperty(JSON_PROPERTY_PHONE_NUMBER)
340
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
341

342
  public ViasPhoneNumber getPhoneNumber() {
343
    return phoneNumber;
×
344
  }
345

346

347
  @JsonProperty(JSON_PROPERTY_PHONE_NUMBER)
348
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
349
  public void setPhoneNumber(ViasPhoneNumber phoneNumber) {
350
    this.phoneNumber = phoneNumber;
×
351
  }
×
352

353

354
  public StoreDetail shopperInteraction(ShopperInteractionEnum shopperInteraction) {
355
    this.shopperInteraction = shopperInteraction;
×
356
    return this;
×
357
  }
358

359
   /**
360
   * The sales channel. Possible values: **Ecommerce**, **POS**.
361
   * @return shopperInteraction
362
  **/
363
  @ApiModelProperty(value = "The sales channel. Possible values: **Ecommerce**, **POS**.")
364
  @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION)
365
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
366

367
  public ShopperInteractionEnum getShopperInteraction() {
368
    return shopperInteraction;
×
369
  }
370

371

372
  @JsonProperty(JSON_PROPERTY_SHOPPER_INTERACTION)
373
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
374
  public void setShopperInteraction(ShopperInteractionEnum shopperInteraction) {
375
    this.shopperInteraction = shopperInteraction;
×
376
  }
×
377

378

379
  public StoreDetail splitConfigurationUUID(String splitConfigurationUUID) {
380
    this.splitConfigurationUUID = splitConfigurationUUID;
×
381
    return this;
×
382
  }
383

384
   /**
385
   * The unique reference for the split configuration, returned when you configure splits in your Customer Area. When this is provided, the `virtualAccount` is also required. Adyen uses the configuration and the `virtualAccount` to split funds between accounts in your platform.
386
   * @return splitConfigurationUUID
387
  **/
388
  @ApiModelProperty(value = "The unique reference for the split configuration, returned when you configure splits in your Customer Area. When this is provided, the `virtualAccount` is also required. Adyen uses the configuration and the `virtualAccount` to split funds between accounts in your platform.")
389
  @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION_U_U_I_D)
390
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
391

392
  public String getSplitConfigurationUUID() {
393
    return splitConfigurationUUID;
×
394
  }
395

396

397
  @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION_U_U_I_D)
398
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
399
  public void setSplitConfigurationUUID(String splitConfigurationUUID) {
400
    this.splitConfigurationUUID = splitConfigurationUUID;
×
401
  }
×
402

403

404
  public StoreDetail status(StatusEnum status) {
405
    this.status = status;
×
406
    return this;
×
407
  }
408

409
   /**
410
   * The status of the store. Possible values: **Pending**, **Active**, **Inactive**, **InactiveWithModifications**, **Closed**.
411
   * @return status
412
  **/
413
  @ApiModelProperty(value = "The status of the store. Possible values: **Pending**, **Active**, **Inactive**, **InactiveWithModifications**, **Closed**.")
414
  @JsonProperty(JSON_PROPERTY_STATUS)
415
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
416

417
  public StatusEnum getStatus() {
418
    return status;
×
419
  }
420

421

422
  @JsonProperty(JSON_PROPERTY_STATUS)
423
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
424
  public void setStatus(StatusEnum status) {
425
    this.status = status;
×
426
  }
×
427

428

429
  public StoreDetail store(String store) {
430
    this.store = store;
×
431
    return this;
×
432
  }
433

434
   /**
435
   * Adyen-generated unique alphanumeric identifier (UUID) for the store, returned in the response when you create a store. Required when updating an existing store in an `/updateAccountHolder` request.
436
   * @return store
437
  **/
438
  @ApiModelProperty(value = "Adyen-generated unique alphanumeric identifier (UUID) for the store, returned in the response when you create a store. Required when updating an existing store in an `/updateAccountHolder` request.")
439
  @JsonProperty(JSON_PROPERTY_STORE)
440
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
441

442
  public String getStore() {
443
    return store;
×
444
  }
445

446

447
  @JsonProperty(JSON_PROPERTY_STORE)
448
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
449
  public void setStore(String store) {
450
    this.store = store;
×
451
  }
×
452

453

454
  public StoreDetail storeName(String storeName) {
455
    this.storeName = storeName;
×
456
    return this;
×
457
  }
458

459
   /**
460
   * The name of the account holder's store. This value is shown in shopper statements.  * Length: Between 3 to 22 characters   * The following characters are *not* supported: **:;}{$#@!|<>%^*+=\\\\**
461
   * @return storeName
462
  **/
463
  @ApiModelProperty(value = "The name of the account holder's store. This value is shown in shopper statements.  * Length: Between 3 to 22 characters   * The following characters are *not* supported: **:;}{$#@!|<>%^*+=\\\\**")
464
  @JsonProperty(JSON_PROPERTY_STORE_NAME)
465
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
466

467
  public String getStoreName() {
468
    return storeName;
×
469
  }
470

471

472
  @JsonProperty(JSON_PROPERTY_STORE_NAME)
473
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
474
  public void setStoreName(String storeName) {
475
    this.storeName = storeName;
×
476
  }
×
477

478

479
  public StoreDetail storeReference(String storeReference) {
480
    this.storeReference = storeReference;
×
481
    return this;
×
482
  }
483

484
   /**
485
   * Your unique identifier for the store. The Customer Area also uses this value for the store description.   * Length: Between 3 to 128 characters  * The following characters are *not* supported: **:;}{$#@!|&lt;&gt;%^*+&#x3D;\\\\**
486
   * @return storeReference
487
  **/
488
  @ApiModelProperty(value = "Your unique identifier for the store. The Customer Area also uses this value for the store description.   * Length: Between 3 to 128 characters  * The following characters are *not* supported: **:;}{$#@!|<>%^*+=\\\\**")
489
  @JsonProperty(JSON_PROPERTY_STORE_REFERENCE)
490
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
491

492
  public String getStoreReference() {
493
    return storeReference;
×
494
  }
495

496

497
  @JsonProperty(JSON_PROPERTY_STORE_REFERENCE)
498
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
499
  public void setStoreReference(String storeReference) {
500
    this.storeReference = storeReference;
×
501
  }
×
502

503

504
  public StoreDetail virtualAccount(String virtualAccount) {
505
    this.virtualAccount = virtualAccount;
×
506
    return this;
×
507
  }
508

509
   /**
510
   * The account holder&#39;s &#x60;accountCode&#x60; where the split amount will be sent. Required when you provide the &#x60;splitConfigurationUUID&#x60;.
511
   * @return virtualAccount
512
  **/
513
  @ApiModelProperty(value = "The account holder's `accountCode` where the split amount will be sent. Required when you provide the `splitConfigurationUUID`.")
514
  @JsonProperty(JSON_PROPERTY_VIRTUAL_ACCOUNT)
515
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
516

517
  public String getVirtualAccount() {
518
    return virtualAccount;
×
519
  }
520

521

522
  @JsonProperty(JSON_PROPERTY_VIRTUAL_ACCOUNT)
523
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
524
  public void setVirtualAccount(String virtualAccount) {
525
    this.virtualAccount = virtualAccount;
×
526
  }
×
527

528

529
  public StoreDetail webAddress(String webAddress) {
530
    this.webAddress = webAddress;
×
531
    return this;
×
532
  }
533

534
   /**
535
   * URL of the ecommerce store.
536
   * @return webAddress
537
  **/
538
  @ApiModelProperty(value = "URL of the ecommerce store.")
539
  @JsonProperty(JSON_PROPERTY_WEB_ADDRESS)
540
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
541

542
  public String getWebAddress() {
543
    return webAddress;
×
544
  }
545

546

547
  @JsonProperty(JSON_PROPERTY_WEB_ADDRESS)
548
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
549
  public void setWebAddress(String webAddress) {
550
    this.webAddress = webAddress;
×
551
  }
×
552

553

554
  /**
555
   * Return true if this StoreDetail object is equal to o.
556
   */
557
  @Override
558
  public boolean equals(Object o) {
559
    if (this == o) {
×
560
      return true;
×
561
    }
562
    if (o == null || getClass() != o.getClass()) {
×
563
      return false;
×
564
    }
565
    StoreDetail storeDetail = (StoreDetail) o;
×
566
    return Objects.equals(this.address, storeDetail.address) &&
×
567
        Objects.equals(this.fullPhoneNumber, storeDetail.fullPhoneNumber) &&
×
568
        Objects.equals(this.logo, storeDetail.logo) &&
×
569
        Objects.equals(this.merchantAccount, storeDetail.merchantAccount) &&
×
570
        Objects.equals(this.merchantCategoryCode, storeDetail.merchantCategoryCode) &&
×
571
        Objects.equals(this.merchantHouseNumber, storeDetail.merchantHouseNumber) &&
×
572
        Objects.equals(this.phoneNumber, storeDetail.phoneNumber) &&
×
573
        Objects.equals(this.shopperInteraction, storeDetail.shopperInteraction) &&
×
574
        Objects.equals(this.splitConfigurationUUID, storeDetail.splitConfigurationUUID) &&
×
575
        Objects.equals(this.status, storeDetail.status) &&
×
576
        Objects.equals(this.store, storeDetail.store) &&
×
577
        Objects.equals(this.storeName, storeDetail.storeName) &&
×
578
        Objects.equals(this.storeReference, storeDetail.storeReference) &&
×
579
        Objects.equals(this.virtualAccount, storeDetail.virtualAccount) &&
×
580
        Objects.equals(this.webAddress, storeDetail.webAddress);
×
581
  }
582

583
  @Override
584
  public int hashCode() {
585
    return Objects.hash(address, fullPhoneNumber, logo, merchantAccount, merchantCategoryCode, merchantHouseNumber, phoneNumber, shopperInteraction, splitConfigurationUUID, status, store, storeName, storeReference, virtualAccount, webAddress);
×
586
  }
587

588
  @Override
589
  public String toString() {
590
    StringBuilder sb = new StringBuilder();
×
591
    sb.append("class StoreDetail {\n");
×
592
    sb.append("    address: ").append(toIndentedString(address)).append("\n");
×
593
    sb.append("    fullPhoneNumber: ").append(toIndentedString(fullPhoneNumber)).append("\n");
×
594
    sb.append("    logo: ").append(toIndentedString(logo)).append("\n");
×
595
    sb.append("    merchantAccount: ").append(toIndentedString(merchantAccount)).append("\n");
×
596
    sb.append("    merchantCategoryCode: ").append(toIndentedString(merchantCategoryCode)).append("\n");
×
597
    sb.append("    merchantHouseNumber: ").append(toIndentedString(merchantHouseNumber)).append("\n");
×
598
    sb.append("    phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
×
599
    sb.append("    shopperInteraction: ").append(toIndentedString(shopperInteraction)).append("\n");
×
600
    sb.append("    splitConfigurationUUID: ").append(toIndentedString(splitConfigurationUUID)).append("\n");
×
601
    sb.append("    status: ").append(toIndentedString(status)).append("\n");
×
602
    sb.append("    store: ").append(toIndentedString(store)).append("\n");
×
603
    sb.append("    storeName: ").append(toIndentedString(storeName)).append("\n");
×
604
    sb.append("    storeReference: ").append(toIndentedString(storeReference)).append("\n");
×
605
    sb.append("    virtualAccount: ").append(toIndentedString(virtualAccount)).append("\n");
×
606
    sb.append("    webAddress: ").append(toIndentedString(webAddress)).append("\n");
×
607
    sb.append("}");
×
608
    return sb.toString();
×
609
  }
610

611
  /**
612
   * Convert the given object to string with each line indented by 4 spaces
613
   * (except the first line).
614
   */
615
  private String toIndentedString(Object o) {
616
    if (o == null) {
×
617
      return "null";
×
618
    }
619
    return o.toString().replace("\n", "\n    ");
×
620
  }
621

622
/**
623
   * Create an instance of StoreDetail given an JSON string
624
   *
625
   * @param jsonString JSON string
626
   * @return An instance of StoreDetail
627
   * @throws JsonProcessingException if the JSON string is invalid with respect to StoreDetail
628
   */
629
  public static StoreDetail fromJson(String jsonString) throws JsonProcessingException {
630
    return JSON.getMapper().readValue(jsonString, StoreDetail.class);
×
631
  }
632
/**
633
  * Convert an instance of StoreDetail to an JSON string
634
  *
635
  * @return JSON string
636
  */
637
  public String toJson() throws JsonProcessingException {
638
    return JSON.getMapper().writeValueAsString(this);
×
639
  }
640
}
641

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