Object

org.mdedetrich.stripe.v1

Cards

Related Doc: package v1

Permalink

object Cards extends LazyLogging

Linear Supertypes
LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cards
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class Brand extends EnumEntry

    Permalink
  2. case class Card(id: String, account: Option[String], addressCity: Option[String], addressCountry: Option[String], addressLine1: Option[String], addressLine1Check: Option[Check], addressLine2: Option[String], addressState: Option[String], addressZip: Option[String], addressZipCheck: Option[Check], brand: Brand, country: Option[String], currency: Option[Currency], customer: Option[String], cvcCheck: Option[Check], defaultForCurrency: Option[Boolean], dynamicLast4: Option[String], expMonth: Int, expYear: Int, fingerprint: Option[String], funding: Funding, last4: String, metadata: Option[Map[String, String]], name: Option[String], recipient: Option[String], tokenizationMethod: Option[TokenizationMethod]) extends StripeObject with PaymentSource with Product with Serializable

    Permalink

    id

    ID of card (used in conjunction with a customer or recipient ID)

    account

    The account this card belongs to. This attribute will not be in the card object if the card belongs to a customer or recipient instead.

    addressCountry

    Billing address country, if provided when creating card

    addressLine1Check

    If addressLine1 was provided, results of the check: Check.Pass, Check.Fail, Check.Unavailable, or Check.Unchecked.

    addressZipCheck

    If addressZip was provided, results of the check: Check.Pass, Check.Fail, Check.Unavailable, or Check.Unchecked.

    brand

    Card brand. Can be Brand.Visa, Express]], Brand.MasterCard, Brand.Discover, Brand.JCB, Club]], or Brand.Unknown

    country

    Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you’ve collected.

    currency

    Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency.

    customer

    The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.

    cvcCheck

    If a CVC was provided, results of the check: Check.Pass, Check.Fail, Check.Unavailable, or Check.Unchecked

    defaultForCurrency

    Only applicable on accounts (not customers or recipients). This indicates whether or not this card is the default external account for its currency.

    dynamicLast4

    (For tokenized numbers only.) The last four digits of the device account number.

    fingerprint

    Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example.

    funding

    Card funding type. Can be Funding.Credit, Funding.Debit, Funding.Prepaid, or Funding.Unknown

    metadata

    A set of key/value pairs that you can attach to a card object. It can be useful for storing additional information about the card in a structured format.

    name

    Cardholder name

    recipient

    The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.

    tokenizationMethod

    If the card number is tokenized, this is the method that was used. Can be TokenizationMethod.ApplePay or TokenizationMethod.AndroidPay.

    See also

    https://stripe.com/docs/api#card_object

  3. sealed abstract class CardData extends AnyRef

    Permalink
  4. case class CardInput(cardData: CardData, metadata: Option[Map[String, String]], defaultForCurrency: Option[Boolean]) extends Product with Serializable

    Permalink

    cardData

    When adding a card to a customer, the parameter name is CardData.Source. When adding to an account, the parameter name is CardData.ExternalAccount. The value can either be a token, like the ones returned by our Stripe.js, or a dictionary containing a user’s credit card details (with the options shown below). Stripe will automatically validate the card.

    metadata

    A set of key/value pairs that you can attach to a card object. It can be useful for storing additional information about the card in a structured format.

    defaultForCurrency

    Only applicable on accounts (not customers or recipients). If you set this to true (or if this is the first external account being added in this currency) this card will become the default external account for its currency.

    See also

    https://stripe.com/docs/api#create_card

  5. case class CardList(url: String, hasMore: Boolean, data: List[Card], totalCount: Option[Long]) extends List[Card] with Product with Serializable

    Permalink
  6. case class CardListInput(endingBefore: Option[String], limit: Option[Long], startingAfter: Option[String]) extends Product with Serializable

    Permalink

    endingBefore

    A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list.

    limit

    A limit on the number of objects to be returned. Limit can range between 1 and 100 items.

    startingAfter

    A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next page of the list.

    See also

    https://stripe.com/docs/api#list_cards

  7. sealed abstract class Check extends EnumEntry

    Permalink
  8. sealed abstract class Funding extends EnumEntry

    Permalink
  9. sealed abstract class TokenizationMethod extends EnumEntry

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Brand extends Enum[Brand]

    Permalink
  5. object Card extends Serializable

    Permalink
  6. object CardData

    Permalink
  7. object CardInput extends Serializable

    Permalink
  8. object CardList extends ListJsonMappers[Card] with Serializable

    Permalink
  9. object CardListInput extends Serializable

    Permalink
  10. object Check extends Enum[Check]

    Permalink
  11. object Funding extends Enum[Funding]

    Permalink
  12. object TokenizationMethod extends Enum[TokenizationMethod]

    Permalink
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. implicit val brandFormats: Format[Brand]

    Permalink
  15. implicit val cardDataWrites: Writes[CardData]

    Permalink
  16. implicit val cardInputReads: Reads[CardInput]

    Permalink
  17. implicit val cardInputWrites: Writes[CardInput]

    Permalink
  18. implicit val cardReads: Reads[Card]

    Permalink
  19. implicit val cardWrites: Writes[Card]

    Permalink
  20. implicit val checkFormats: Format[Check]

    Permalink
  21. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def create(customerId: String, cardInput: CardInput)(idempotencyKey: Option[IdempotencyKey] = None)(implicit apiKey: ApiKey, endpoint: Endpoint): Future[Try[Card]]

    Permalink
  23. def delete(customerId: String, cardId: String)(idempotencyKey: Option[IdempotencyKey] = None)(implicit apiKey: ApiKey, endpoint: Endpoint): Future[Try[DeleteResponse]]

    Permalink
  24. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  26. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. implicit val fundingFormats: Format[Funding]

    Permalink
  28. def get(customerId: String, cardId: String)(implicit apiKey: ApiKey, endpoint: Endpoint): Future[Try[Card]]

    Permalink
  29. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  30. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def list(customerId: String, cardListInput: CardListInput, includeTotalCount: Boolean)(implicit apiKey: ApiKey, endpoint: Endpoint): Future[Try[CardList]]

    Permalink
  33. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. implicit val tokenizationMethodFormats: Format[TokenizationMethod]

    Permalink
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped