Class CardCreateParams


public class CardCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static CardCreateParams.Builder builder()
    • getCardholder

      public String getCardholder()
      The Cardholder object with which the card will be associated.
    • getCurrency

      public String getCurrency()
      Required. The currency for the card.
    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • getExtraParams

      public Map<String,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 @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.
    • getFinancialAccount

      public String getFinancialAccount()
    • getMetadata

      public Map<String,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 to metadata.
    • getPersonalizationDesign

      public String getPersonalizationDesign()
      The personalization design object belonging to this card.
    • getPin

      public CardCreateParams.Pin getPin()
      The desired PIN for this card.
    • getReplacementFor

      public String getReplacementFor()
      The card this is meant to be a replacement for (if any).
    • getReplacementReason

      public CardCreateParams.ReplacementReason getReplacementReason()
      If replacement_for is specified, this should indicate why that card is being replaced.
    • getSecondLine

      public Object getSecondLine()
      The second line to print on the card.
    • 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. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to inactive.
    • getType

      public CardCreateParams.Type getType()
      Required. The type of card to issue. Possible values are physical or virtual.