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, brand: Brand, expMonth: Int, expYear: Int, funding: Funding, last4: String, account: Option[String] = None, addressCity: Option[String] = None, addressCountry: Option[String] = None, addressLine1: Option[String] = None, addressLine1Check: Option[Check] = None, addressLine2: Option[String] = None, addressState: Option[String] = None, addressZip: Option[String] = None, addressZipCheck: Option[Check] = None, country: Option[String] = None, currency: Option[Currency] = None, customer: Option[String] = None, cvcCheck: Option[Check] = None, defaultForCurrency: Option[Boolean] = None, dynamicLast4: Option[String] = None, fingerprint: Option[String] = None, metadata: Option[Map[String, String]] = None, name: Option[String] = None, recipient: Option[String] = None, tokenizationMethod: Option[TokenizationMethod] = None) extends StripeObject with PaymentSource with Product with Serializable

    Permalink

    id

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

    brand

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

    funding

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

    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.

    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.

    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]] = None, defaultForCurrency: Option[Boolean] = None) 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] = None, limit: Option[Long] = None, startingAfter: Option[String] = None) 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 CardData

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

    Permalink
  7. object Check extends Enum[Check]

    Permalink
  8. object Funding extends Enum[Funding]

    Permalink
  9. object TokenizationMethod extends Enum[TokenizationMethod]

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. implicit val cardDataDecoder: Encoder[CardData]

    Permalink
  12. implicit val cardDecoder: Decoder[Card]

    Permalink
  13. implicit val cardEncoder: Encoder[Card]

    Permalink
  14. implicit val cardInputDecoder: Decoder[CardInput]

    Permalink
  15. implicit val cardInputEncoder: Encoder[CardInput]

    Permalink
  16. def clone(): AnyRef

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

    Permalink
  18. def delete(customerId: String, cardId: String)(idempotencyKey: Option[IdempotencyKey] = None)(implicit apiKey: ApiKey, endpoint: Endpoint, client: HttpExt, materializer: Materializer, executionContext: ExecutionContext): Future[Try[DeleteResponse]]

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def get(customerId: String, cardId: String)(implicit apiKey: ApiKey, endpoint: Endpoint, client: HttpExt, materializer: Materializer, executionContext: ExecutionContext): Future[Try[Card]]

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

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

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

    Permalink
    Definition Classes
    Any
  26. def list(customerId: String, cardListInput: CardListInput, includeTotalCount: Boolean)(implicit apiKey: ApiKey, endpoint: Endpoint, client: HttpExt, materializer: Materializer, executionContext: ExecutionContext): Future[Try[CardList]]

    Permalink
  27. lazy val logger: Logger

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

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

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped