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. case class DeleteResponse(id: String, deleted: Boolean) extends Product with Serializable

    Permalink
  4. final case class FileUploadChunkTimeout(duration: FiniteDuration) extends AnyVal with Product with Serializable

    Permalink

    Timeout used when chunking file uploads

  5. sealed abstract class ListFilterInput extends AnyRef

    Permalink

    Common data model for list requests that accept a created input

  6. sealed trait PaymentSource extends AnyRef

    Permalink

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

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

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

    Permalink
  9. 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

  10. abstract class StripeObject extends AnyRef

    Permalink

Value Members

  1. object Accounts extends LazyLogging

    Permalink

    Represents a Stripe Connect Managed Account

    Represents a Stripe Connect Managed Account

    See also

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

  2. object Alipays

    Permalink
  3. object ApplicationFeeRefunds extends LazyLogging

    Permalink

    See also

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

  4. object ApplicationFees extends LazyLogging

    Permalink

    See also

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

  5. object Balances extends LazyLogging

    Permalink
  6. object BankAccounts extends LazyLogging

    Permalink
  7. object BankAccountsPaymentSource extends LazyLogging

    Permalink
  8. object BitcoinReceivers extends LazyLogging

    Permalink
  9. object Cards extends LazyLogging

    Permalink
  10. object Charges extends LazyLogging

    Permalink
  11. object Collections

    Permalink
  12. object Coupons extends LazyLogging

    Permalink
  13. object Currency extends Enum[Currency]

    Permalink
  14. object CurrencyGroup1 extends CurrencyGroup with Product with Serializable

    Permalink
  15. object CurrencyGroup2 extends CurrencyGroup with Product with Serializable

    Permalink
  16. object Customers extends LazyLogging

    Permalink
  17. object DeleteResponse extends Serializable

    Permalink
  18. object Discounts

    Permalink
  19. object Disputes extends LazyLogging

    Permalink
  20. object Errors

    Permalink
  21. object Events extends LazyLogging

    Permalink
  22. object FileUploads extends LazyLogging

    Permalink
  23. object ListFilterInput

    Permalink
  24. object PaymentSource extends LazyLogging

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

    Permalink
  26. object Plans extends LazyLogging

    Permalink
  27. object Refunds extends LazyLogging

    Permalink

    See also

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

  28. object Shippings

    Permalink
  29. object Sources

    Permalink

    Contains base classes for input sources

  30. object StripeObject

    Permalink
  31. object Subscriptions extends LazyLogging

    Permalink

    See also

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

  32. object Tokens extends LazyLogging

    Permalink

    See also

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

  33. object TransferReversals extends LazyLogging

    Permalink

    See also

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

  34. object Transfers extends LazyLogging

    Permalink
  35. object defaults

    Permalink
  36. 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

  37. 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

  38. def stripeDateTimeParamWrites(dateTime: OffsetDateTime): String

    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