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 ClassesModifier and TypeClassDescriptionstatic classFor more details about Features, please refer to the API Reference.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_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier 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.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getFeatures
-
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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.
-