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

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

08 Sep 2023 09:02AM UTC coverage: 13.177%. First build
#2626

push

web-flow
Merge 8f6b640e7 into ba706cfa8

1503 of 1503 new or added lines in 27 files covered. (100.0%)

10221 of 77568 relevant lines covered (13.18%)

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/balanceplatform/BankAccount.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.adyen.model.balanceplatform.BankAccountAccountIdentification;
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
 * BankAccount
33
 */
34
@JsonPropertyOrder({
35
  BankAccount.JSON_PROPERTY_ACCOUNT_IDENTIFICATION
36
})
37

38
public class BankAccount {
39
  public static final String JSON_PROPERTY_ACCOUNT_IDENTIFICATION = "accountIdentification";
40
  private BankAccountAccountIdentification accountIdentification;
41

42
  public BankAccount() { 
×
43
  }
×
44

45
  public BankAccount accountIdentification(BankAccountAccountIdentification accountIdentification) {
46
    this.accountIdentification = accountIdentification;
×
47
    return this;
×
48
  }
49

50
   /**
51
   * Get accountIdentification
52
   * @return accountIdentification
53
  **/
54
  @ApiModelProperty(required = true, value = "")
55
  @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFICATION)
56
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
57

58
  public BankAccountAccountIdentification getAccountIdentification() {
59
    return accountIdentification;
×
60
  }
61

62

63
  @JsonProperty(JSON_PROPERTY_ACCOUNT_IDENTIFICATION)
64
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
65
  public void setAccountIdentification(BankAccountAccountIdentification accountIdentification) {
66
    this.accountIdentification = accountIdentification;
×
67
  }
×
68

69

70
  /**
71
   * Return true if this BankAccount object is equal to o.
72
   */
73
  @Override
74
  public boolean equals(Object o) {
75
    if (this == o) {
×
76
      return true;
×
77
    }
78
    if (o == null || getClass() != o.getClass()) {
×
79
      return false;
×
80
    }
81
    BankAccount bankAccount = (BankAccount) o;
×
82
    return Objects.equals(this.accountIdentification, bankAccount.accountIdentification);
×
83
  }
84

85
  @Override
86
  public int hashCode() {
87
    return Objects.hash(accountIdentification);
×
88
  }
89

90
  @Override
91
  public String toString() {
92
    StringBuilder sb = new StringBuilder();
×
93
    sb.append("class BankAccount {\n");
×
94
    sb.append("    accountIdentification: ").append(toIndentedString(accountIdentification)).append("\n");
×
95
    sb.append("}");
×
96
    return sb.toString();
×
97
  }
98

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

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

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