Class CardCreateParams

    • Method Detail

      • 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.
      • 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 @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.
      • 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 to metadata.
      • getReplacementFor

        public java.lang.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.
      • getStatus

        public CardCreateParams.Status getStatus()
        Whether authorizations can be approved on this card. Defaults to inactive.
      • getType

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