Package com.stripe.model.issuing
Class CardDesign
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.issuing.CardDesign
- All Implemented Interfaces:
HasId
,MetadataStore<CardDesign>
,StripeObjectInterface
A Card Design is a logical grouping of a Card Bundle, card logo, and carrier text that represents
a product line.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Get ID of expandablecardBundle
object.Get expandedcardBundle
.getId()
Unique identifier for the object.A lookup key used to retrieve card designs dynamically from a static string.Set of key-value pairs that you can attach to an object.getName()
Friendly display name.String representing the object's type.Whether this card design is used to create cards when one is not specified.Whether this card design can be used to create cards.int
hashCode()
static CardDesignCollection
list
(CardDesignListParams params) Returns a list of card design objects.static CardDesignCollection
list
(CardDesignListParams params, RequestOptions options) Returns a list of card design objects.static CardDesignCollection
Returns a list of card design objects.static CardDesignCollection
list
(Map<String, Object> params, RequestOptions options) Returns a list of card design objects.static CardDesign
Retrieves a card design object.static CardDesign
retrieve
(String cardDesign, RequestOptions options) Retrieves a card design object.static CardDesign
retrieve
(String cardDesign, CardDesignRetrieveParams params, RequestOptions options) Retrieves a card design object.static CardDesign
Retrieves a card design object.void
setCardBundle
(String id) void
setCardBundleObject
(CardBundle expandableObject) void
Unique identifier for the object.void
setLookupKey
(String lookupKey) A lookup key used to retrieve card designs dynamically from a static string.void
setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.void
Friendly display name.void
String representing the object's type.void
setPreference
(String preference) Whether this card design is used to create cards when one is not specified.void
Whether this card design can be used to create cards.update
(CardDesignUpdateParams params) Updates a card design object.update
(CardDesignUpdateParams params, RequestOptions options) Updates a card design object.Updates a card design object.update
(Map<String, Object> params, RequestOptions options) Updates a card design object.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, fullUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CardDesign
public CardDesign()
-
-
Method Details
-
getCardBundle
Get ID of expandablecardBundle
object. -
setCardBundle
-
getCardBundleObject
Get expandedcardBundle
. -
setCardBundleObject
-
list
Returns a list of card design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
public static CardDesignCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of card design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
Returns a list of card design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
public static CardDesignCollection list(CardDesignListParams params, RequestOptions options) throws StripeException Returns a list of card design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
retrieve
Retrieves a card design object.- Throws:
StripeException
-
retrieve
Retrieves a card design object.- Throws:
StripeException
-
retrieve
public static CardDesign retrieve(String cardDesign, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves a card design object.- Throws:
StripeException
-
retrieve
public static CardDesign retrieve(String cardDesign, CardDesignRetrieveParams params, RequestOptions options) throws StripeException Retrieves a card design object.- Throws:
StripeException
-
update
Updates a card design object.- Specified by:
update
in interfaceMetadataStore<CardDesign>
- Throws:
StripeException
-
update
Updates a card design object.- Specified by:
update
in interfaceMetadataStore<CardDesign>
- Throws:
StripeException
-
update
Updates a card design object.- Throws:
StripeException
-
update
public CardDesign update(CardDesignUpdateParams params, RequestOptions options) throws StripeException Updates a card design object.- Throws:
StripeException
-
getTestHelpers
-
getLookupKey
A lookup key used to retrieve card designs dynamically from a static string. This may be up to 200 characters. -
getName
Friendly display name. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
issuing.card_design
. -
getPreference
Whether this card design is used to create cards when one is not specified.One of
default
, ornone
. -
getStatus
Whether this card design can be used to create cards.One of
active
,inactive
,rejected
, orreview
. -
setId
Unique identifier for the object. -
setLookupKey
A lookup key used to retrieve card designs dynamically from a static string. This may be up to 200 characters. -
setMetadata
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. -
setName
Friendly display name. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
issuing.card_design
. -
setPreference
Whether this card design is used to create cards when one is not specified.One of
default
, ornone
. -
setStatus
Whether this card design can be used to create cards.One of
active
,inactive
,rejected
, orreview
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object. -
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.- Specified by:
getMetadata
in interfaceMetadataStore<CardDesign>
-