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

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

16 May 2024 08:16AM UTC coverage: 12.058%. First build
#3282

push

web-flow
Merge 18d742d7d into 043846b65

22 of 2357 new or added lines in 112 files covered. (0.93%)

12467 of 103388 relevant lines covered (12.06%)

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/balanceplatform/DelegatedAuthenticationData.java
1
/*
2
 * Configuration API
3
 *
4
 * The version of the OpenAPI document: 2
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.balanceplatform;
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
 * RegisterSCAFinalResponse
32
 */
33
@JsonPropertyOrder({
34
  RegisterSCAFinalResponse.JSON_PROPERTY_SUCCESS
35
})
36

37
public class RegisterSCAFinalResponse {
38
  public static final String JSON_PROPERTY_SUCCESS = "success";
39
  private Boolean success;
40

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

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

49
   /**
50
   * Specifies if the registration was initiated successfully.
51
   * @return success
52
  **/
53
  @ApiModelProperty(value = "Specifies if the registration was initiated successfully.")
54
  @JsonProperty(JSON_PROPERTY_SUCCESS)
55
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
56

57
  public Boolean getSuccess() {
NEW
58
    return success;
×
59
  }
60

61

62
 /**
63
  * Specifies if the registration was initiated successfully.
64
  *
65
  * @param success
66
  */ 
67
  @JsonProperty(JSON_PROPERTY_SUCCESS)
68
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
69
  public void setSuccess(Boolean success) {
NEW
70
    this.success = success;
×
NEW
71
  }
×
72

73

74
  /**
75
   * Return true if this RegisterSCAFinalResponse 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
    RegisterSCAFinalResponse registerSCAFinalResponse = (RegisterSCAFinalResponse) o;
×
NEW
86
    return Objects.equals(this.success, registerSCAFinalResponse.success);
×
87
  }
88

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

94
  @Override
95
  public String toString() {
NEW
96
    StringBuilder sb = new StringBuilder();
×
NEW
97
    sb.append("class RegisterSCAFinalResponse {\n");
×
NEW
98
    sb.append("    success: ").append(toIndentedString(success)).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 RegisterSCAFinalResponse given an JSON string
116
   *
117
   * @param jsonString JSON string
118
   * @return An instance of RegisterSCAFinalResponse
119
   * @throws JsonProcessingException if the JSON string is invalid with respect to RegisterSCAFinalResponse
120
   */
121
  public static RegisterSCAFinalResponse fromJson(String jsonString) throws JsonProcessingException {
NEW
122
    return JSON.getMapper().readValue(jsonString, RegisterSCAFinalResponse.class);
×
123
  }
124
/**
125
  * Convert an instance of RegisterSCAFinalResponse 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

© 2025 Coveralls, Inc