Class CardBundle

All Implemented Interfaces:
HasId, StripeObjectInterface

public class CardBundle extends ApiResource implements HasId
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.
  • Constructor Details

    • CardBundle

      public CardBundle()
  • Method Details

    • list

      public static CardBundleCollection list(Map<String,Object> params) 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
    • list

      public static CardBundleCollection list(Map<String,Object> 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
    • list

      public static CardBundleCollection list(CardBundleListParams params) 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
    • 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

      public static CardBundle retrieve(String cardBundle) throws StripeException
      Retrieves a card bundle object.
      Throws:
      StripeException
    • retrieve

      public static CardBundle retrieve(String cardBundle, RequestOptions options) throws StripeException
      Retrieves a card bundle object.
      Throws:
      StripeException
    • retrieve

      public static CardBundle retrieve(String cardBundle, Map<String,Object> params, RequestOptions options) throws StripeException
      Retrieves 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

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getName

      public String getName()
      Friendly display name.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value.

      Equal to issuing.card_bundle.

    • getStatus

      public String getStatus()
      Whether this card bundle can be used to create cards.

      One of active, inactive, or review.

    • getType

      public String getType()
      Whether this card bundle is a standard Stripe offering or custom-made for you.

      One of custom, or standard.

    • setId

      public void setId(String id)
      Unique identifier for the object.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setName

      public void setName(String name)
      Friendly display name.
    • setObject

      public void setObject(String object)
      String representing the object's type. Objects of the same type share the same value.

      Equal to issuing.card_bundle.

    • setStatus

      public void setStatus(String status)
      Whether this card bundle can be used to create cards.

      One of active, inactive, or review.

    • setType

      public void setType(String type)
      Whether this card bundle is a standard Stripe offering or custom-made for you.

      One of custom, or standard.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getId

      public String getId()
      Unique identifier for the object.
      Specified by:
      getId in interface HasId