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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classFor more details about Features, please refer to the API Reference.Nested classes/interfaces inherited from class com.stripe.net.ApiResourceApiResource.RequestMethod
- 
Field SummaryFields inherited from class com.stripe.net.ApiResourceCHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObjectPRETTY_PRINT_GSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleangetId()Unique identifier for the object.Has the valuetrueif the object exists in live mode or the valuefalseif 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.inthashCode()static PhysicalBundleCollectionlist(PhysicalBundleListParams params) Returns a list of physical bundle objects.static PhysicalBundleCollectionlist(PhysicalBundleListParams params, RequestOptions options) Returns a list of physical bundle objects.static PhysicalBundleCollectionReturns a list of physical bundle objects.static PhysicalBundleCollectionlist(Map<String, Object> params, RequestOptions options) Returns a list of physical bundle objects.static PhysicalBundleRetrieves a physical bundle object.static PhysicalBundleretrieve(String physicalBundle, RequestOptions options) Retrieves a physical bundle object.static PhysicalBundleretrieve(String physicalBundle, PhysicalBundleRetrieveParams params, RequestOptions options) Retrieves a physical bundle object.static PhysicalBundleRetrieves a physical bundle object.voidsetFeatures(PhysicalBundle.Features features) voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidFriendly display name.voidString representing the object's type.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidWhether this physical bundle can be used to create cards.voidWhether this physical bundle is a standard Stripe offering or custom-made for you.Methods inherited from class com.stripe.net.ApiResourcecheckNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObjectdeserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObjecttrySetResponseGetter
- 
Constructor Details- 
PhysicalBundlepublic PhysicalBundle()
 
- 
- 
Method Details- 
listReturns 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
 
- 
listpublic 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
 
- 
listReturns 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
 
- 
listpublic 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
 
- 
retrieveRetrieves a physical bundle object.- Throws:
- StripeException
 
- 
retrievepublic static PhysicalBundle retrieve(String physicalBundle, RequestOptions options) throws StripeException Retrieves a physical bundle object.- Throws:
- StripeException
 
- 
retrievepublic static PhysicalBundle retrieve(String physicalBundle, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves a physical bundle object.- Throws:
- StripeException
 
- 
retrievepublic static PhysicalBundle retrieve(String physicalBundle, PhysicalBundleRetrieveParams params, RequestOptions options) throws StripeException Retrieves a physical bundle object.- Throws:
- StripeException
 
- 
setResponseGetterDescription copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
- setResponseGetterin interface- StripeActiveObject
- Overrides:
- setResponseGetterin class- ApiResource
- Parameters:
- responseGetter- the- StripeResponseGetterinstance to use for making further requests.
 
- 
getFeatures
- 
getLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
getNameFriendly display name.
- 
getObjectString representing the object's type. Objects of the same type share the same value.Equal to issuing.physical_bundle.
- 
getStatusWhether this physical bundle can be used to create cards.One of active,inactive, orreview.
- 
getTypeWhether this physical bundle is a standard Stripe offering or custom-made for you.One of custom, orstandard.
- 
setFeatures
- 
setIdUnique identifier for the object.
- 
setLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
setNameFriendly display name.
- 
setObjectString representing the object's type. Objects of the same type share the same value.Equal to issuing.physical_bundle.
- 
setStatusWhether this physical bundle can be used to create cards.One of active,inactive, orreview.
- 
setTypeWhether this physical bundle is a standard Stripe offering or custom-made for you.One of custom, orstandard.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
getIdUnique identifier for the object.
 
-