Package

org.mdedetrich.stripe

v1

Permalink

package v1

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

Type Members

  1. sealed abstract class Currency extends EnumEntry

    Permalink

    List of currency codes supported by Stripe

    List of currency codes supported by Stripe

    See also

    https://support.stripe.com/questions/which-currencies-does-stripe-support

  2. sealed abstract class CurrencyGroup extends AnyRef

    Permalink
  3. sealed abstract class ListFilterInput extends AnyRef

    Permalink

    Common data model for list requests that accept a created input

  4. sealed trait PaymentSource extends AnyRef

    Permalink

    PaymentSource is a supertype of the different available Stripe payment types.

  5. case class PaymentSourceList(url: String, hasMore: Boolean, data: List[PaymentSource], totalCount: Option[Long])(implicit reads: Reads[JsValue]) extends List[PaymentSource] with Product with Serializable

    Permalink
  6. case class StatementDescriptorInvalidCharacter(character: String) extends Exception with Product with Serializable

    Permalink
  7. case class StatementDescriptorTooLong(length: Int) extends Exception with Product with Serializable

    Permalink

    Thrown in the statement descriptor is too long

    Thrown in the statement descriptor is too long

    length

    The length of the requested statement descriptor

  8. abstract class StripeObject extends AnyRef

    Permalink

    Represents a basic stripe object

Value Members

  1. object Accounts extends LazyLogging

    Permalink
  2. object Alipays

    Permalink
  3. object ApplicationFeeRefunds extends LazyLogging

    Permalink

    See also

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

  4. object Balances extends LazyLogging

    Permalink
  5. object BankAccounts extends LazyLogging

    Permalink
  6. object BankAccountsPaymentSource extends LazyLogging

    Permalink
  7. object BitcoinReceivers extends LazyLogging

    Permalink
  8. object Cards extends LazyLogging

    Permalink
  9. object Charges extends LazyLogging

    Permalink
  10. object Collections

    Permalink
  11. object Coupons extends LazyLogging

    Permalink
  12. object Currency extends Enum[Currency]

    Permalink
  13. object CurrencyGroup1 extends CurrencyGroup with Product with Serializable

    Permalink
  14. object CurrencyGroup2 extends CurrencyGroup with Product with Serializable

    Permalink
  15. object Customers extends LazyLogging

    Permalink
  16. object DeleteResponses

    Permalink
  17. object Discounts

    Permalink
  18. object Disputes extends LazyLogging

    Permalink
  19. object Errors

    Permalink
  20. object Events

    Permalink
  21. object FileUploads extends LazyLogging

    Permalink
  22. object ListFilterInput

    Permalink
  23. object PaymentSource extends LazyLogging

    Permalink
  24. object PaymentSourceList extends ListJsonMappers[PaymentSource] with Serializable

    Permalink
  25. object Plans extends LazyLogging

    Permalink
  26. object Refunds extends LazyLogging

    Permalink

    See also

    https://stripe.com/docs/api/curl#refunds

  27. object Shippings

    Permalink
  28. object Sources

    Permalink

    Contains base classes for input sources

  29. object Subscriptions extends LazyLogging

    Permalink

    See also

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

  30. object Tokens extends LazyLogging

    Permalink

    See also

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

  31. object TransferReversals extends LazyLogging

    Permalink

    See also

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

  32. object Transfers extends LazyLogging

    Permalink
  33. def handle[T](request: Future[Try[T]], numberOfRetries: Int = Config.numberOfRetries)(implicit executionContext: ExecutionContext): Future[T]

    Permalink

    A function which does the simplest ideal handling for making a stripe request.

    A function which does the simplest ideal handling for making a stripe request. It handles specific stripe errors, and will retry the request for errors that indicate some sort of network error.

    T

    The returning Stripe object for the request

    request

    The request that you are making with Stripe

    numberOfRetries

    Number of retries, provided by default in org.mdedetrich.stripe.Config

  34. def handleIdempotent[T](request: ⇒ (Option[IdempotencyKey]) ⇒ Future[Try[T]], numberOfRetries: Int = Config.numberOfRetries)(implicit executionContext: ExecutionContext): Future[T]

    Permalink

    A function which does the simplest ideal handling for making a stripe request.

    A function which does the simplest ideal handling for making a stripe request. It handles specific stripe errors, and will retry the request for errors that indicate some sort of network error. It uses the Stripe idempotency key to make sure that duplicate side effects (such as creating multiple charges) do not happen

    T

    The returning Stripe object for the request

    request

    The request that you are making with Stripe

    numberOfRetries

    Number of retries, provided by default in org.mdedetrich.stripe.Config

  35. val stripeDateTimeFormats: Format[OffsetDateTime]

    Permalink
  36. def stripeDateTimeParamWrites(dateTime: OffsetDateTime): String

    Permalink
  37. val stripeDateTimeReads: Reads[OffsetDateTime]

    Permalink
  38. val stripeDateTimeWrites: Writes[OffsetDateTime]

    Permalink
  39. def transformParam(param: String): String

    Permalink

    Transforms a param from Stripes naming scheme (snake case) to scala-stripe's naming scheme (camel case).

    Transforms a param from Stripes naming scheme (snake case) to scala-stripe's naming scheme (camel case). Often used when dealing with stripe error messages for invalid fields, such as invalid CVC Code taken from https://gist.github.com/sidharthkuruvila/3154845

Inherited from AnyRef

Inherited from Any

Ungrouped