public class RecipientCreateParams extends ApiRequestParams
| Modifier and Type | Class and Description |
|---|---|
static class |
RecipientCreateParams.Builder |
ApiRequestParams.EnumParamEXTRA_PARAMS_KEY| Modifier and Type | Method and Description |
|---|---|
static RecipientCreateParams.Builder |
builder() |
java.lang.String |
getBankAccount()
A bank account to attach to the recipient.
|
java.lang.String |
getCard()
A U.S.
|
java.lang.String |
getDescription()
An arbitrary string which you can attach to a
Recipient object. |
java.lang.String |
getEmail()
The recipient's email address.
|
java.util.List<java.lang.String> |
getExpand()
Specifies which fields in the response should be expanded.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
java.lang.Object |
getMetadata()
Set of key-value pairs that you can attach
to an object.
|
java.lang.String |
getName()
The recipient's full, legal name.
|
java.lang.String |
getTaxId()
The recipient's tax ID, as a string.
|
java.lang.String |
getType()
Type of the recipient: either
individual or corporation. |
toMappublic static RecipientCreateParams.Builder builder()
public java.lang.String getBankAccount()
public java.lang.String getCard()
public java.lang.String getDescription()
Recipient object. It is displayed
alongside the recipient in the web interface.public java.lang.String getEmail()
public java.util.List<java.lang.String> getExpand()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@SerializedName value. Instead, each
key/value pair is serialized as if the key is a root-level field (serialized) name in this
param object. Effectively, this map is flattened to its parent instance.public java.lang.Object getMetadata()
metadata.public java.lang.String getName()
individual, should be in the format First Last, First Middle Last, or First M Last (no prefixes or suffixes). For
corporation, the full, incorporated name.public java.lang.String getTaxId()
individual, the full SSN; for type corporation, the full EIN.public java.lang.String getType()
individual or corporation.