Package com.stripe.model.issuing
Class PhysicalBundle
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.issuing.PhysicalBundle
- All Implemented Interfaces:
HasId
,StripeActiveObject
,StripeObjectInterface
A Physical 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, INTERNAL_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 physical bundle can be used to create cards.getType()
Whether this physical bundle is a standard Stripe offering or custom-made for you.int
hashCode()
static PhysicalBundleCollection
list
(PhysicalBundleListParams params) Returns a list of physical bundle objects.static PhysicalBundleCollection
list
(PhysicalBundleListParams params, RequestOptions options) Returns a list of physical bundle objects.static PhysicalBundleCollection
Returns a list of physical bundle objects.static PhysicalBundleCollection
list
(Map<String, Object> params, RequestOptions options) Returns a list of physical bundle objects.static PhysicalBundle
Retrieves a physical bundle object.static PhysicalBundle
retrieve
(String physicalBundle, RequestOptions options) Retrieves a physical bundle object.static PhysicalBundle
retrieve
(String physicalBundle, PhysicalBundleRetrieveParams params, RequestOptions options) Retrieves a physical bundle object.static PhysicalBundle
Retrieves a physical bundle object.void
setFeatures
(PhysicalBundle.Features features) 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
setResponseGetter
(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetter
implementations to set theStripeResponseGetter
instance used to make further requests.void
Whether this physical bundle can be used to create cards.void
Whether this physical bundle is a standard Stripe offering or custom-made for you.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setStripeResponseGetter, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
PhysicalBundle
public PhysicalBundle()
-
-
Method Details
-
list
Returns a list of physical 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 PhysicalBundleCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of physical 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 physical 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 PhysicalBundleCollection list(PhysicalBundleListParams params, RequestOptions options) throws StripeException Returns a list of physical 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 physical bundle object.- Throws:
StripeException
-
retrieve
public static PhysicalBundle retrieve(String physicalBundle, RequestOptions options) throws StripeException Retrieves a physical bundle object.- Throws:
StripeException
-
retrieve
public static PhysicalBundle retrieve(String physicalBundle, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves a physical bundle object.- Throws:
StripeException
-
retrieve
public static PhysicalBundle retrieve(String physicalBundle, PhysicalBundleRetrieveParams params, RequestOptions options) throws StripeException Retrieves a physical bundle object.- Throws:
StripeException
-
setResponseGetter
Description copied from interface:StripeActiveObject
Method is used by the containing object orStripeResponseGetter
implementations to set theStripeResponseGetter
instance used to make further requests.- Specified by:
setResponseGetter
in interfaceStripeActiveObject
- Overrides:
setResponseGetter
in classApiResource
- Parameters:
responseGetter
- theStripeResponseGetter
instance to use for making further requests.
-
getFeatures
-
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.physical_bundle
. -
getStatus
Whether this physical bundle can be used to create cards.One of
active
,inactive
, orreview
. -
getType
Whether this physical bundle is a standard Stripe offering or custom-made for you.One of
custom
, orstandard
. -
setFeatures
-
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.physical_bundle
. -
setStatus
Whether this physical bundle can be used to create cards.One of
active
,inactive
, orreview
. -
setType
Whether this physical 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.
-