public class CardCreateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
CardCreateParams.AuthorizationControls |
static class |
CardCreateParams.Builder |
static class |
CardCreateParams.ReplacementReason |
static class |
CardCreateParams.Shipping |
static class |
CardCreateParams.Status |
static class |
CardCreateParams.Type |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static CardCreateParams.Builder |
builder() |
CardCreateParams.AuthorizationControls |
getAuthorizationControls()
Spending rules that give you some control over how your cards can be used.
|
java.lang.String |
getCardholder()
The [Cardholder](https://stripe.com/docs/api#issuing_cardholder_object) object with which the
card will be associated.
|
java.lang.String |
getCurrency()
The currency for the card.
|
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() |
java.lang.String |
getReplacementFor()
The card this is meant to be a replacement for (if any).
|
CardCreateParams.ReplacementReason |
getReplacementReason()
If `replacement_for` is specified, this should indicate why that card is being replaced.
|
CardCreateParams.Shipping |
getShipping()
The address where the card will be shipped.
|
CardCreateParams.Status |
getStatus()
Specifies whether to permit authorizations on this card.
|
CardCreateParams.Type |
getType()
The type of card to issue.
|
toMap
public static CardCreateParams.Builder builder()
public CardCreateParams.AuthorizationControls getAuthorizationControls()
public java.lang.String getCardholder()
public java.lang.String getCurrency()
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()
public java.lang.String getReplacementFor()
public CardCreateParams.ReplacementReason getReplacementReason()
public CardCreateParams.Shipping getShipping()
public CardCreateParams.Status getStatus()
public CardCreateParams.Type getType()