public class RecipientUpdateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
RecipientUpdateParams.Builder |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static RecipientUpdateParams.Builder |
builder() |
java.lang.Object |
getBankAccount()
A bank account to attach to the recipient.
|
java.lang.Object |
getCard()
A U.S.
|
java.lang.Object |
getDefaultCard()
ID of the card to set as the recipient's new default for payouts.
|
java.lang.Object |
getDescription()
An arbitrary string which you can attach to a
Recipient object. |
java.lang.Object |
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.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Set of key-value pairs that you can attach to an object.
|
java.lang.Object |
getName()
The recipient's full, legal name.
|
java.lang.Object |
getTaxId()
The recipient's tax ID, as a string.
|
toMap
public static RecipientUpdateParams.Builder builder()
public java.lang.Object getBankAccount()
public java.lang.Object getCard()
card
will create a new
card, make it the new recipient default card, and delete the old recipient default (if one
exists). If you want to add additional debit cards instead of replacing the existing default,
use the card creation API. Whenever you
attach a card to a recipient, Stripe will automatically validate the debit card.public java.lang.Object getDefaultCard()
public java.lang.Object getDescription()
Recipient
object. It is displayed
alongside the recipient in the web interface.public java.lang.Object 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.util.Map<java.lang.String,java.lang.String> getMetadata()
metadata
.public java.lang.Object 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.Object getTaxId()
individual
, the full SSN; for type corporation
, the full EIN.