Package com.stripe.model.issuing
Class CardBundle
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.issuing.CardBundle
- All Implemented Interfaces:
HasId
,StripeObjectInterface
A Card Bundle represents the bundle of physical items - card stock, carrier letter, and envelope
- that is shipped to a cardholder when you create a physical card.
-
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
getId()
Unique identifier for the object.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.getName()
Friendly display name.String representing the object's type.Whether this card bundle can be used to create cards.getType()
Whether this card bundle is a standard Stripe offering or custom-made for you.int
hashCode()
static CardBundleCollection
list
(CardBundleListParams params) Returns a list of card bundle objects.static CardBundleCollection
list
(CardBundleListParams params, RequestOptions options) Returns a list of card bundle objects.static CardBundleCollection
Returns a list of card bundle objects.static CardBundleCollection
list
(Map<String, Object> params, RequestOptions options) Returns a list of card bundle objects.static CardBundle
Retrieves a card bundle object.static CardBundle
retrieve
(String cardBundle, RequestOptions options) Retrieves a card bundle object.static CardBundle
retrieve
(String cardBundle, CardBundleRetrieveParams params, RequestOptions options) Retrieves a card bundle object.static CardBundle
Retrieves a card bundle object.void
Unique identifier for the object.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
Friendly display name.void
String representing the object's type.void
Whether this card bundle can be used to create cards.void
Whether this card bundle is a standard Stripe offering or custom-made for you.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, fullUrl, instanceUrl, instanceUrl, rawRequest, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CardBundle
public CardBundle()
-
-
Method Details
-
list
Returns a list of card bundle objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
public static CardBundleCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of card bundle 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 bundle objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
public static CardBundleCollection list(CardBundleListParams params, RequestOptions options) throws StripeException Returns a list of card bundle 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 bundle object.- Throws:
StripeException
-
retrieve
Retrieves a card bundle object.- Throws:
StripeException
-
retrieve
public static CardBundle retrieve(String cardBundle, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves a card bundle object.- Throws:
StripeException
-
retrieve
public static CardBundle retrieve(String cardBundle, CardBundleRetrieveParams params, RequestOptions options) throws StripeException Retrieves a card bundle object.- Throws:
StripeException
-
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getName
Friendly display name. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
issuing.card_bundle
. -
getStatus
Whether this card bundle can be used to create cards.One of
active
,inactive
, orreview
. -
getType
Whether this card bundle is a standard Stripe offering or custom-made for you.One of
custom
, orstandard
. -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setName
Friendly display name. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
issuing.card_bundle
. -
setStatus
Whether this card bundle can be used to create cards.One of
active
,inactive
, orreview
. -
setType
Whether this card bundle is a standard Stripe offering or custom-made for you.One of
custom
, orstandard
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-