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

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

08 Dec 2023 12:05PM UTC coverage: 12.838%. First build
#2905

push

web-flow
Merge caa3554a7 into ec0c20882

1 of 151 new or added lines in 12 files covered. (0.66%)

12463 of 97080 relevant lines covered (12.84%)

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/legalentitymanagement/UnincorporatedPartnership.java
1
/*
2
 * Legal Entity Management API
3
 *
4
 * The version of the OpenAPI document: 3
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.legalentitymanagement;
14

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

33

34
/**
35
 * UnincorporatedPartnership
36
 */
37
@JsonPropertyOrder({
38
  UnincorporatedPartnership.JSON_PROPERTY_COUNTRY_OF_GOVERNING_LAW,
39
  UnincorporatedPartnership.JSON_PROPERTY_DATE_OF_INCORPORATION,
40
  UnincorporatedPartnership.JSON_PROPERTY_DESCRIPTION,
41
  UnincorporatedPartnership.JSON_PROPERTY_DOING_BUSINESS_AS,
42
  UnincorporatedPartnership.JSON_PROPERTY_NAME,
43
  UnincorporatedPartnership.JSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESS,
44
  UnincorporatedPartnership.JSON_PROPERTY_REGISTERED_ADDRESS,
45
  UnincorporatedPartnership.JSON_PROPERTY_REGISTRATION_NUMBER,
46
  UnincorporatedPartnership.JSON_PROPERTY_TAX_INFORMATION,
47
  UnincorporatedPartnership.JSON_PROPERTY_TYPE,
48
  UnincorporatedPartnership.JSON_PROPERTY_VAT_ABSENCE_REASON,
49
  UnincorporatedPartnership.JSON_PROPERTY_VAT_NUMBER
50
})
51

52
public class UnincorporatedPartnership {
53
  public static final String JSON_PROPERTY_COUNTRY_OF_GOVERNING_LAW = "countryOfGoverningLaw";
54
  private String countryOfGoverningLaw;
55

56
  public static final String JSON_PROPERTY_DATE_OF_INCORPORATION = "dateOfIncorporation";
57
  private String dateOfIncorporation;
58

59
  public static final String JSON_PROPERTY_DESCRIPTION = "description";
60
  private String description;
61

62
  public static final String JSON_PROPERTY_DOING_BUSINESS_AS = "doingBusinessAs";
63
  private String doingBusinessAs;
64

65
  public static final String JSON_PROPERTY_NAME = "name";
66
  private String name;
67

68
  public static final String JSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESS = "principalPlaceOfBusiness";
69
  private Address principalPlaceOfBusiness;
70

71
  public static final String JSON_PROPERTY_REGISTERED_ADDRESS = "registeredAddress";
72
  private Address registeredAddress;
73

74
  public static final String JSON_PROPERTY_REGISTRATION_NUMBER = "registrationNumber";
75
  private String registrationNumber;
76

77
  public static final String JSON_PROPERTY_TAX_INFORMATION = "taxInformation";
78
  private List<TaxInformation> taxInformation = null;
×
79

80
  /**
81
   * Type of Partnership. Possible values:  **limitedPartnership**, **generalPartnership**, **familyPartnership**, **commercialPartnership**, **publicPartnership**, **otherPartnership**, **gbr**, **kgaa**, **cv**, **vof**, **maatschap**, **privateFundLimitedPartnership**, **businessTrustEntity**, or **businessPartnership**.
82
   */
83
  public enum TypeEnum {
×
84
    LIMITEDPARTNERSHIP("limitedPartnership"),
×
85
    
86
    GENERALPARTNERSHIP("generalPartnership"),
×
87
    
88
    FAMILYPARTNERSHIP("familyPartnership"),
×
89
    
90
    COMMERCIALPARTNERSHIP("commercialPartnership"),
×
91
    
92
    PUBLICPARTNERSHIP("publicPartnership"),
×
93
    
94
    OTHERPARTNERSHIP("otherPartnership"),
×
95
    
96
    GBR("gbr"),
×
97
    
98
    GMBH("gmbh"),
×
99
    
100
    KGAA("kgaa"),
×
101
    
102
    CV("cv"),
×
103
    
104
    VOF("vof"),
×
105
    
106
    MAATSCHAP("maatschap"),
×
107
    
108
    PRIVATEFUNDLIMITEDPARTNERSHIP("privateFundLimitedPartnership"),
×
109
    
110
    BUSINESSTRUSTENTITY("businessTrustEntity"),
×
111
    
112
    BUSINESSPARTNERSHIP("businessPartnership");
×
113

114
    private String value;
115

116
    TypeEnum(String value) {
×
117
      this.value = value;
×
118
    }
×
119

120
    @JsonValue
121
    public String getValue() {
122
      return value;
×
123
    }
124

125
    @Override
126
    public String toString() {
127
      return String.valueOf(value);
×
128
    }
129

130
    @JsonCreator
131
    public static TypeEnum fromValue(String value) {
132
      for (TypeEnum b : TypeEnum.values()) {
×
133
        if (b.value.equals(value)) {
×
134
          return b;
×
135
        }
136
      }
137
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
138
    }
139
  }
140

141
  public static final String JSON_PROPERTY_TYPE = "type";
142
  private TypeEnum type;
143

144
  /**
145
   * The reason for not providing a VAT number.  Possible values: **industryExemption**, **belowTaxThreshold**.
146
   */
147
  public enum VatAbsenceReasonEnum {
×
148
    INDUSTRYEXEMPTION("industryExemption"),
×
149
    
150
    BELOWTAXTHRESHOLD("belowTaxThreshold");
×
151

152
    private String value;
153

154
    VatAbsenceReasonEnum(String value) {
×
155
      this.value = value;
×
156
    }
×
157

158
    @JsonValue
159
    public String getValue() {
160
      return value;
×
161
    }
162

163
    @Override
164
    public String toString() {
165
      return String.valueOf(value);
×
166
    }
167

168
    @JsonCreator
169
    public static VatAbsenceReasonEnum fromValue(String value) {
170
      for (VatAbsenceReasonEnum b : VatAbsenceReasonEnum.values()) {
×
171
        if (b.value.equals(value)) {
×
172
          return b;
×
173
        }
174
      }
175
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
176
    }
177
  }
178

179
  public static final String JSON_PROPERTY_VAT_ABSENCE_REASON = "vatAbsenceReason";
180
  private VatAbsenceReasonEnum vatAbsenceReason;
181

182
  public static final String JSON_PROPERTY_VAT_NUMBER = "vatNumber";
183
  private String vatNumber;
184

185
  public UnincorporatedPartnership() { 
×
186
  }
×
187

188
  public UnincorporatedPartnership countryOfGoverningLaw(String countryOfGoverningLaw) {
189
    this.countryOfGoverningLaw = countryOfGoverningLaw;
×
190
    return this;
×
191
  }
192

193
   /**
194
   * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country.
195
   * @return countryOfGoverningLaw
196
  **/
197
  @ApiModelProperty(required = true, value = "The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country.")
198
  @JsonProperty(JSON_PROPERTY_COUNTRY_OF_GOVERNING_LAW)
199
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
200

201
  public String getCountryOfGoverningLaw() {
202
    return countryOfGoverningLaw;
×
203
  }
204

205

206
  @JsonProperty(JSON_PROPERTY_COUNTRY_OF_GOVERNING_LAW)
207
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
208
  public void setCountryOfGoverningLaw(String countryOfGoverningLaw) {
209
    this.countryOfGoverningLaw = countryOfGoverningLaw;
×
210
  }
×
211

212

213
  public UnincorporatedPartnership dateOfIncorporation(String dateOfIncorporation) {
214
    this.dateOfIncorporation = dateOfIncorporation;
×
215
    return this;
×
216
  }
217

218
   /**
219
   * The date when the legal arrangement was incorporated in YYYY-MM-DD format.
220
   * @return dateOfIncorporation
221
  **/
222
  @ApiModelProperty(value = "The date when the legal arrangement was incorporated in YYYY-MM-DD format.")
223
  @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION)
224
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
225

226
  public String getDateOfIncorporation() {
227
    return dateOfIncorporation;
×
228
  }
229

230

231
  @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION)
232
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
233
  public void setDateOfIncorporation(String dateOfIncorporation) {
234
    this.dateOfIncorporation = dateOfIncorporation;
×
235
  }
×
236

237

238
  public UnincorporatedPartnership description(String description) {
NEW
239
    this.description = description;
×
NEW
240
    return this;
×
241
  }
242

243
   /**
244
   * Short description about the Legal Arrangement.
245
   * @return description
246
  **/
247
  @ApiModelProperty(value = "Short description about the Legal Arrangement.")
248
  @JsonProperty(JSON_PROPERTY_DESCRIPTION)
249
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
250

251
  public String getDescription() {
NEW
252
    return description;
×
253
  }
254

255

256
  @JsonProperty(JSON_PROPERTY_DESCRIPTION)
257
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
258
  public void setDescription(String description) {
NEW
259
    this.description = description;
×
NEW
260
  }
×
261

262

263
  public UnincorporatedPartnership doingBusinessAs(String doingBusinessAs) {
264
    this.doingBusinessAs = doingBusinessAs;
×
265
    return this;
×
266
  }
267

268
   /**
269
   * The registered name, if different from the &#x60;name&#x60;.
270
   * @return doingBusinessAs
271
  **/
272
  @ApiModelProperty(value = "The registered name, if different from the `name`.")
273
  @JsonProperty(JSON_PROPERTY_DOING_BUSINESS_AS)
274
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
275

276
  public String getDoingBusinessAs() {
277
    return doingBusinessAs;
×
278
  }
279

280

281
  @JsonProperty(JSON_PROPERTY_DOING_BUSINESS_AS)
282
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
283
  public void setDoingBusinessAs(String doingBusinessAs) {
284
    this.doingBusinessAs = doingBusinessAs;
×
285
  }
×
286

287

288
  public UnincorporatedPartnership name(String name) {
289
    this.name = name;
×
290
    return this;
×
291
  }
292

293
   /**
294
   * The legal name.
295
   * @return name
296
  **/
297
  @ApiModelProperty(required = true, value = "The legal name.")
298
  @JsonProperty(JSON_PROPERTY_NAME)
299
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
300

301
  public String getName() {
302
    return name;
×
303
  }
304

305

306
  @JsonProperty(JSON_PROPERTY_NAME)
307
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
308
  public void setName(String name) {
309
    this.name = name;
×
310
  }
×
311

312

313
  public UnincorporatedPartnership principalPlaceOfBusiness(Address principalPlaceOfBusiness) {
314
    this.principalPlaceOfBusiness = principalPlaceOfBusiness;
×
315
    return this;
×
316
  }
317

318
   /**
319
   * Get principalPlaceOfBusiness
320
   * @return principalPlaceOfBusiness
321
  **/
322
  @ApiModelProperty(value = "")
323
  @JsonProperty(JSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESS)
324
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
325

326
  public Address getPrincipalPlaceOfBusiness() {
327
    return principalPlaceOfBusiness;
×
328
  }
329

330

331
  @JsonProperty(JSON_PROPERTY_PRINCIPAL_PLACE_OF_BUSINESS)
332
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
333
  public void setPrincipalPlaceOfBusiness(Address principalPlaceOfBusiness) {
334
    this.principalPlaceOfBusiness = principalPlaceOfBusiness;
×
335
  }
×
336

337

338
  public UnincorporatedPartnership registeredAddress(Address registeredAddress) {
339
    this.registeredAddress = registeredAddress;
×
340
    return this;
×
341
  }
342

343
   /**
344
   * Get registeredAddress
345
   * @return registeredAddress
346
  **/
347
  @ApiModelProperty(required = true, value = "")
348
  @JsonProperty(JSON_PROPERTY_REGISTERED_ADDRESS)
349
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
350

351
  public Address getRegisteredAddress() {
352
    return registeredAddress;
×
353
  }
354

355

356
  @JsonProperty(JSON_PROPERTY_REGISTERED_ADDRESS)
357
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
358
  public void setRegisteredAddress(Address registeredAddress) {
359
    this.registeredAddress = registeredAddress;
×
360
  }
×
361

362

363
  public UnincorporatedPartnership registrationNumber(String registrationNumber) {
364
    this.registrationNumber = registrationNumber;
×
365
    return this;
×
366
  }
367

368
   /**
369
   * The registration number.
370
   * @return registrationNumber
371
  **/
372
  @ApiModelProperty(value = "The registration number.")
373
  @JsonProperty(JSON_PROPERTY_REGISTRATION_NUMBER)
374
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
375

376
  public String getRegistrationNumber() {
377
    return registrationNumber;
×
378
  }
379

380

381
  @JsonProperty(JSON_PROPERTY_REGISTRATION_NUMBER)
382
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
383
  public void setRegistrationNumber(String registrationNumber) {
384
    this.registrationNumber = registrationNumber;
×
385
  }
×
386

387

388
  public UnincorporatedPartnership taxInformation(List<TaxInformation> taxInformation) {
389
    this.taxInformation = taxInformation;
×
390
    return this;
×
391
  }
392

393
  public UnincorporatedPartnership addTaxInformationItem(TaxInformation taxInformationItem) {
394
    if (this.taxInformation == null) {
×
395
      this.taxInformation = new ArrayList<>();
×
396
    }
397
    this.taxInformation.add(taxInformationItem);
×
398
    return this;
×
399
  }
400

401
   /**
402
   * The tax information of the entity.
403
   * @return taxInformation
404
  **/
405
  @ApiModelProperty(value = "The tax information of the entity.")
406
  @JsonProperty(JSON_PROPERTY_TAX_INFORMATION)
407
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
408

409
  public List<TaxInformation> getTaxInformation() {
410
    return taxInformation;
×
411
  }
412

413

414
  @JsonProperty(JSON_PROPERTY_TAX_INFORMATION)
415
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
416
  public void setTaxInformation(List<TaxInformation> taxInformation) {
417
    this.taxInformation = taxInformation;
×
418
  }
×
419

420

421
  public UnincorporatedPartnership type(TypeEnum type) {
422
    this.type = type;
×
423
    return this;
×
424
  }
425

426
   /**
427
   * Type of Partnership. Possible values:  **limitedPartnership**, **generalPartnership**, **familyPartnership**, **commercialPartnership**, **publicPartnership**, **otherPartnership**, **gbr**, **kgaa**, **cv**, **vof**, **maatschap**, **privateFundLimitedPartnership**, **businessTrustEntity**, or **businessPartnership**.
428
   * @return type
429
  **/
430
  @ApiModelProperty(required = true, value = "Type of Partnership. Possible values:  **limitedPartnership**, **generalPartnership**, **familyPartnership**, **commercialPartnership**, **publicPartnership**, **otherPartnership**, **gbr**, **kgaa**, **cv**, **vof**, **maatschap**, **privateFundLimitedPartnership**, **businessTrustEntity**, or **businessPartnership**.")
431
  @JsonProperty(JSON_PROPERTY_TYPE)
432
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
433

434
  public TypeEnum getType() {
435
    return type;
×
436
  }
437

438

439
  @JsonProperty(JSON_PROPERTY_TYPE)
440
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
441
  public void setType(TypeEnum type) {
442
    this.type = type;
×
443
  }
×
444

445

446
  public UnincorporatedPartnership vatAbsenceReason(VatAbsenceReasonEnum vatAbsenceReason) {
447
    this.vatAbsenceReason = vatAbsenceReason;
×
448
    return this;
×
449
  }
450

451
   /**
452
   * The reason for not providing a VAT number.  Possible values: **industryExemption**, **belowTaxThreshold**.
453
   * @return vatAbsenceReason
454
  **/
455
  @ApiModelProperty(value = "The reason for not providing a VAT number.  Possible values: **industryExemption**, **belowTaxThreshold**.")
456
  @JsonProperty(JSON_PROPERTY_VAT_ABSENCE_REASON)
457
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
458

459
  public VatAbsenceReasonEnum getVatAbsenceReason() {
460
    return vatAbsenceReason;
×
461
  }
462

463

464
  @JsonProperty(JSON_PROPERTY_VAT_ABSENCE_REASON)
465
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
466
  public void setVatAbsenceReason(VatAbsenceReasonEnum vatAbsenceReason) {
467
    this.vatAbsenceReason = vatAbsenceReason;
×
468
  }
×
469

470

471
  public UnincorporatedPartnership vatNumber(String vatNumber) {
472
    this.vatNumber = vatNumber;
×
473
    return this;
×
474
  }
475

476
   /**
477
   * The VAT number.
478
   * @return vatNumber
479
  **/
480
  @ApiModelProperty(value = "The VAT number.")
481
  @JsonProperty(JSON_PROPERTY_VAT_NUMBER)
482
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
483

484
  public String getVatNumber() {
485
    return vatNumber;
×
486
  }
487

488

489
  @JsonProperty(JSON_PROPERTY_VAT_NUMBER)
490
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
491
  public void setVatNumber(String vatNumber) {
492
    this.vatNumber = vatNumber;
×
493
  }
×
494

495

496
  /**
497
   * Return true if this UnincorporatedPartnership object is equal to o.
498
   */
499
  @Override
500
  public boolean equals(Object o) {
501
    if (this == o) {
×
502
      return true;
×
503
    }
504
    if (o == null || getClass() != o.getClass()) {
×
505
      return false;
×
506
    }
507
    UnincorporatedPartnership unincorporatedPartnership = (UnincorporatedPartnership) o;
×
508
    return Objects.equals(this.countryOfGoverningLaw, unincorporatedPartnership.countryOfGoverningLaw) &&
×
509
        Objects.equals(this.dateOfIncorporation, unincorporatedPartnership.dateOfIncorporation) &&
×
NEW
510
        Objects.equals(this.description, unincorporatedPartnership.description) &&
×
511
        Objects.equals(this.doingBusinessAs, unincorporatedPartnership.doingBusinessAs) &&
×
512
        Objects.equals(this.name, unincorporatedPartnership.name) &&
×
513
        Objects.equals(this.principalPlaceOfBusiness, unincorporatedPartnership.principalPlaceOfBusiness) &&
×
514
        Objects.equals(this.registeredAddress, unincorporatedPartnership.registeredAddress) &&
×
515
        Objects.equals(this.registrationNumber, unincorporatedPartnership.registrationNumber) &&
×
516
        Objects.equals(this.taxInformation, unincorporatedPartnership.taxInformation) &&
×
517
        Objects.equals(this.type, unincorporatedPartnership.type) &&
×
518
        Objects.equals(this.vatAbsenceReason, unincorporatedPartnership.vatAbsenceReason) &&
×
519
        Objects.equals(this.vatNumber, unincorporatedPartnership.vatNumber);
×
520
  }
521

522
  @Override
523
  public int hashCode() {
NEW
524
    return Objects.hash(countryOfGoverningLaw, dateOfIncorporation, description, doingBusinessAs, name, principalPlaceOfBusiness, registeredAddress, registrationNumber, taxInformation, type, vatAbsenceReason, vatNumber);
×
525
  }
526

527
  @Override
528
  public String toString() {
529
    StringBuilder sb = new StringBuilder();
×
530
    sb.append("class UnincorporatedPartnership {\n");
×
531
    sb.append("    countryOfGoverningLaw: ").append(toIndentedString(countryOfGoverningLaw)).append("\n");
×
532
    sb.append("    dateOfIncorporation: ").append(toIndentedString(dateOfIncorporation)).append("\n");
×
NEW
533
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
×
534
    sb.append("    doingBusinessAs: ").append(toIndentedString(doingBusinessAs)).append("\n");
×
535
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
×
536
    sb.append("    principalPlaceOfBusiness: ").append(toIndentedString(principalPlaceOfBusiness)).append("\n");
×
537
    sb.append("    registeredAddress: ").append(toIndentedString(registeredAddress)).append("\n");
×
538
    sb.append("    registrationNumber: ").append(toIndentedString(registrationNumber)).append("\n");
×
539
    sb.append("    taxInformation: ").append(toIndentedString(taxInformation)).append("\n");
×
540
    sb.append("    type: ").append(toIndentedString(type)).append("\n");
×
541
    sb.append("    vatAbsenceReason: ").append(toIndentedString(vatAbsenceReason)).append("\n");
×
542
    sb.append("    vatNumber: ").append(toIndentedString(vatNumber)).append("\n");
×
543
    sb.append("}");
×
544
    return sb.toString();
×
545
  }
546

547
  /**
548
   * Convert the given object to string with each line indented by 4 spaces
549
   * (except the first line).
550
   */
551
  private String toIndentedString(Object o) {
552
    if (o == null) {
×
553
      return "null";
×
554
    }
555
    return o.toString().replace("\n", "\n    ");
×
556
  }
557

558
/**
559
   * Create an instance of UnincorporatedPartnership given an JSON string
560
   *
561
   * @param jsonString JSON string
562
   * @return An instance of UnincorporatedPartnership
563
   * @throws JsonProcessingException if the JSON string is invalid with respect to UnincorporatedPartnership
564
   */
565
  public static UnincorporatedPartnership fromJson(String jsonString) throws JsonProcessingException {
566
    return JSON.getMapper().readValue(jsonString, UnincorporatedPartnership.class);
×
567
  }
568
/**
569
  * Convert an instance of UnincorporatedPartnership to an JSON string
570
  *
571
  * @return JSON string
572
  */
573
  public String toJson() throws JsonProcessingException {
574
    return JSON.getMapper().writeValueAsString(this);
×
575
  }
576
}
577

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

© 2026 Coveralls, Inc