Package com.stripe.param.issuing
Class CardCreateParams
- java.lang.Object
-
- com.stripe.net.ApiRequestParams
-
- com.stripe.param.issuing.CardCreateParams
-
public class CardCreateParams extends ApiRequestParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCardCreateParams.Builderstatic classCardCreateParams.ReplacementReasonstatic classCardCreateParams.Shippingstatic classCardCreateParams.SpendingControlsstatic classCardCreateParams.Statusstatic classCardCreateParams.Type-
Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
-
Field Summary
-
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CardCreateParams.Builderbuilder()java.lang.StringgetCardholder()The Cardholder object with which the card will be associated.java.lang.StringgetCurrency()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()Set of key-value pairs that you can attach to an object.java.lang.StringgetReplacementFor()The card this is meant to be a replacement for (if any).CardCreateParams.ReplacementReasongetReplacementReason()Ifreplacement_foris specified, this should indicate why that card is being replaced.CardCreateParams.ShippinggetShipping()The address where the card will be shipped.CardCreateParams.SpendingControlsgetSpendingControls()Rules that control spending for this card.CardCreateParams.StatusgetStatus()Whether authorizations can be approved on this card.CardCreateParams.TypegetType()The type of card to issue.-
Methods inherited from class com.stripe.net.ApiRequestParams
toMap
-
-
-
-
Method Detail
-
builder
public static CardCreateParams.Builder builder()
-
getCardholder
public java.lang.String getCardholder()
The Cardholder object with which the card will be associated.
-
getCurrency
public java.lang.String getCurrency()
The currency for the card. This currently must beusd.
-
getExpand
public java.util.List<java.lang.String> getExpand()
Specifies which fields in the response should be expanded.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedNamevalue. 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.
-
getMetadata
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata.
-
getReplacementFor
public java.lang.String getReplacementFor()
The card this is meant to be a replacement for (if any).
-
getReplacementReason
public CardCreateParams.ReplacementReason getReplacementReason()
Ifreplacement_foris specified, this should indicate why that card is being replaced.
-
getShipping
public CardCreateParams.Shipping getShipping()
The address where the card will be shipped.
-
getSpendingControls
public CardCreateParams.SpendingControls getSpendingControls()
Rules that control spending for this card. Refer to our documentation for more details.
-
getStatus
public CardCreateParams.Status getStatus()
Whether authorizations can be approved on this card. Defaults toinactive.
-
getType
public CardCreateParams.Type getType()
The type of card to issue. Possible values arephysicalorvirtual.
-
-