@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-17T22:44:09.100608Z[Etc/UTC]") public class PhoneNumber extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PhoneNumber.TypeEnum
The type of phone number.
|
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_DATA |
static String |
SERIALIZED_NAME_PRIMARY |
static String |
SERIALIZED_NAME_TYPE |
Constructor and Description |
---|
PhoneNumber() |
Modifier and Type | Method and Description |
---|---|
PhoneNumber |
data(String data) |
boolean |
equals(Object o) |
String |
getData()
The phone number.
|
Boolean |
getPrimary()
When `true`, identifies the phone number as the primary number on an account.
|
PhoneNumber.TypeEnum |
getType()
The type of phone number.
|
int |
hashCode() |
PhoneNumber |
primary(Boolean primary) |
void |
setData(String data) |
void |
setPrimary(Boolean primary) |
void |
setType(PhoneNumber.TypeEnum type) |
String |
toString() |
PhoneNumber |
type(PhoneNumber.TypeEnum type) |
public static final String SERIALIZED_NAME_DATA
public static final String SERIALIZED_NAME_PRIMARY
public static final String SERIALIZED_NAME_TYPE
public PhoneNumber data(String data)
public String getData()
public void setData(String data)
public PhoneNumber primary(Boolean primary)
public Boolean getPrimary()
public void setPrimary(Boolean primary)
public PhoneNumber type(PhoneNumber.TypeEnum type)
public PhoneNumber.TypeEnum getType()
public void setType(PhoneNumber.TypeEnum type)
Copyright © 2017–2023 Plaid Inc.. All rights reserved.