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

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

02 Oct 2024 09:06PM UTC coverage: 11.801%. First build
#3613

push

web-flow
Merge 5fe104e2f into 3aab4fab9

0 of 134 new or added lines in 12 files covered. (0.0%)

12578 of 106584 relevant lines covered (11.8%)

0.12 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/SetTaxElectronicDeliveryConsentRequest.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.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
 * SetTaxElectronicDeliveryConsentRequest
32
 */
33
@JsonPropertyOrder({
34
  SetTaxElectronicDeliveryConsentRequest.JSON_PROPERTY_US1099K
35
})
36

37
public class SetTaxElectronicDeliveryConsentRequest {
38
  public static final String JSON_PROPERTY_US1099K = "US1099k";
39
  private Boolean us1099k;
40

NEW
41
  public SetTaxElectronicDeliveryConsentRequest() { 
×
NEW
42
  }
×
43

44
  public SetTaxElectronicDeliveryConsentRequest us1099k(Boolean us1099k) {
NEW
45
    this.us1099k = us1099k;
×
NEW
46
    return this;
×
47
  }
48

49
   /**
50
   * Consent to electronically deliver tax form US1099-K.
51
   * @return us1099k
52
  **/
53
  @ApiModelProperty(value = "Consent to electronically deliver tax form US1099-K.")
54
  @JsonProperty(JSON_PROPERTY_US1099K)
55
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
56

57
  public Boolean getUs1099k() {
NEW
58
    return us1099k;
×
59
  }
60

61

62
 /**
63
  * Consent to electronically deliver tax form US1099-K.
64
  *
65
  * @param us1099k
66
  */ 
67
  @JsonProperty(JSON_PROPERTY_US1099K)
68
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
69
  public void setUs1099k(Boolean us1099k) {
NEW
70
    this.us1099k = us1099k;
×
NEW
71
  }
×
72

73

74
  /**
75
   * Return true if this SetTaxElectronicDeliveryConsentRequest object is equal to o.
76
   */
77
  @Override
78
  public boolean equals(Object o) {
NEW
79
    if (this == o) {
×
NEW
80
      return true;
×
81
    }
NEW
82
    if (o == null || getClass() != o.getClass()) {
×
NEW
83
      return false;
×
84
    }
NEW
85
    SetTaxElectronicDeliveryConsentRequest setTaxElectronicDeliveryConsentRequest = (SetTaxElectronicDeliveryConsentRequest) o;
×
NEW
86
    return Objects.equals(this.us1099k, setTaxElectronicDeliveryConsentRequest.us1099k);
×
87
  }
88

89
  @Override
90
  public int hashCode() {
NEW
91
    return Objects.hash(us1099k);
×
92
  }
93

94
  @Override
95
  public String toString() {
NEW
96
    StringBuilder sb = new StringBuilder();
×
NEW
97
    sb.append("class SetTaxElectronicDeliveryConsentRequest {\n");
×
NEW
98
    sb.append("    us1099k: ").append(toIndentedString(us1099k)).append("\n");
×
NEW
99
    sb.append("}");
×
NEW
100
    return sb.toString();
×
101
  }
102

103
  /**
104
   * Convert the given object to string with each line indented by 4 spaces
105
   * (except the first line).
106
   */
107
  private String toIndentedString(Object o) {
NEW
108
    if (o == null) {
×
NEW
109
      return "null";
×
110
    }
NEW
111
    return o.toString().replace("\n", "\n    ");
×
112
  }
113

114
/**
115
   * Create an instance of SetTaxElectronicDeliveryConsentRequest given an JSON string
116
   *
117
   * @param jsonString JSON string
118
   * @return An instance of SetTaxElectronicDeliveryConsentRequest
119
   * @throws JsonProcessingException if the JSON string is invalid with respect to SetTaxElectronicDeliveryConsentRequest
120
   */
121
  public static SetTaxElectronicDeliveryConsentRequest fromJson(String jsonString) throws JsonProcessingException {
NEW
122
    return JSON.getMapper().readValue(jsonString, SetTaxElectronicDeliveryConsentRequest.class);
×
123
  }
124
/**
125
  * Convert an instance of SetTaxElectronicDeliveryConsentRequest to an JSON string
126
  *
127
  * @return JSON string
128
  */
129
  public String toJson() throws JsonProcessingException {
NEW
130
    return JSON.getMapper().writeValueAsString(this);
×
131
  }
132
}
133

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