com.plaid.client.response.IdentityGetResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plaid-java Show documentation
Show all versions of plaid-java Show documentation
Bindings for the Plaid (plaid.com) API.
package com.plaid.client.response;
import java.util.List;
public final class IdentityGetResponse extends BaseResponse {
private List accounts;
private ItemStatus item;
private Identity identity;
public ItemStatus getItem() {
return item;
}
public Identity getIdentity() {
return identity;
}
public List getAccounts() {
return accounts;
}
public static final class Identity {
private List names;
private List emails;
private List addresses;
private List phoneNumbers;
public List getNames() {
return names;
}
public List getEmails() {
return emails;
}
public List getAddresses() {
return addresses;
}
public List getPhoneNumbers() {
return phoneNumbers;
}
}
public static final class Email {
private Boolean primary;
private String data;
private String type;
public Boolean isPrimary() {
return primary;
}
public String getData() {
return data;
}
public String getType() {
return type;
}
}
public static final class Address {
private List accounts;
private Boolean primary;
private AddressData data;
public Boolean isPrimary() {
return primary;
}
public List getAccounts() {
return accounts;
}
public AddressData getData() {
return data;
}
}
public static final class AddressData {
private String street;
private String city;
private String state;
private String zip;
public String getStreet() {
return street;
}
public String getCity() {
return city;
}
public String getState() {
return state;
}
public String getZip() {
return zip;
}
}
public static final class PhoneNumber {
private Boolean primary;
private String data;
private String type;
public Boolean isPrimary() {
return primary;
}
public String getData() {
return data;
}
public String getType() {
return type;
}
}
}