Object

org.mdedetrich.stripe.v1

Balances

Related Doc: package v1

Permalink

object Balances extends LazyLogging

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

Type Members

  1. case class Balance(available: List[BalanceFund], livemode: Boolean, pending: List[BalanceFund]) extends Product with Serializable

    Permalink

    available

    Funds that are available to be paid out automatically by Stripe or explicitly via the transfers API. The available balance for each currency and payment type can be found in the sourceTypes property.

    pending

    Funds that are not available in the balance yet, due to the 7-day rolling pay cycle. The pending balance for each currency and payment type can be found in the sourceTypes property

    See also

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

  2. case class BalanceFund(currency: Currency, amount: BigDecimal, sourceTypes: SourceTypes) extends Product with Serializable

    Permalink
  3. case class BalanceHistoryListInput(availableOn: Option[ListFilterInput], created: Option[ListFilterInput], currency: Option[Currency], endingBefore: Option[String], limit: Option[Long], source: Option[String], startingAfter: Option[String], transfer: Option[Boolean], type: Option[Type]) extends Product with Serializable

    Permalink

    availableOn

    A filter on the list based on the object availableOn field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with the following options:

    created

    A filter on the list based on the object created field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with the following options:

    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 ending_before=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.

    source

    Only returns transactions that are related to the specified Stripe object ID (e.g. filtering by a charge ID will return all related charge transactions).

    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.

    transfer

    For automatic Stripe transfers only, only returns transactions that were transferred out on the specified transfer ID.

    See also

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

  4. case class BalanceTransaction(id: String, amount: BigDecimal, availableOn: OffsetDateTime, created: OffsetDateTime, currency: Currency, description: String, fee: BigDecimal, feeDetails: List[FeeDetails], net: BigDecimal, source: String, sourcedTransfers: TransferList, status: Option[Status], type: Type) extends StripeObject with Product with Serializable

    Permalink

    amount

    Gross amount of the transaction, in cents.

    availableOn

    The date the transaction’s net funds will become available in the Stripe balance.

    fee

    Fees (in cents) paid for this transaction

    feeDetails

    Detailed breakdown of fees (in cents) paid for this transaction

    net

    Net amount of the transaction, in cents.

    source

    The Stripe object this transaction is related to.

    sourcedTransfers

    The transfers (if any) for which source is a sourceTransaction.

    status

    If the transaction’s net funds are available in the Stripe balance yet. Either Status.Available or Status.Pending.

    See also

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

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

    Permalink
  6. case class FeeDetails(amount: BigDecimal, application: String, currency: Currency, description: String, type: FeeType) extends Product with Serializable

    Permalink
  7. sealed abstract class FeeType extends EnumEntry

    Permalink
  8. case class SourceTypes(card: BigDecimal, bankAccount: BigDecimal, bitcoinReceiver: BigDecimal) extends Product with Serializable

    Permalink
  9. sealed abstract class Status extends EnumEntry

    Permalink
  10. sealed abstract class Type 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 BalanceHistoryListInput extends Serializable

    Permalink
  5. object BalanceTransactionList extends ListJsonMappers[BalanceTransaction] with Serializable

    Permalink
  6. object FeeType extends Enum[FeeType]

    Permalink
  7. object Status extends Enum[Status]

    Permalink
  8. object Type extends Enum[Type]

    Permalink
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. implicit val balanceFundReads: Reads[BalanceFund]

    Permalink
  11. implicit val balanceFundWrites: Writes[BalanceFund]

    Permalink
  12. implicit val balanceReads: Reads[Balance]

    Permalink
  13. implicit val balanceTransactionReads: Reads[BalanceTransaction]

    Permalink
  14. implicit val balanceTransactionWrites: Writes[BalanceTransaction]

    Permalink
  15. implicit val balanceWrites: Writes[Balance]

    Permalink
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. implicit val feeDetailReads: Reads[FeeDetails]

    Permalink
  20. implicit val feeDetailWrites: Writes[FeeDetails]

    Permalink
  21. implicit val feeTypeFormats: Format[FeeType]

    Permalink
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def get(implicit apiKey: ApiKey, endpoint: Endpoint): Future[Try[Balance]]

    Permalink

    See also

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

  24. def getBalanceTransaction(id: String)(implicit apiKey: ApiKey, endpoint: Endpoint): Future[Try[BalanceTransaction]]

    Permalink

    See also

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

  25. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  28. def listBalanceHistory(balanceHistoryListInput: BalanceHistoryListInput, includeTotalCount: Boolean)(implicit apiKey: ApiKey, endpoint: Endpoint): Future[Try[BalanceTransactionList]]

    Permalink

    See also

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

  29. lazy val logger: Logger

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

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

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

    Permalink
    Definition Classes
    AnyRef
  33. implicit val sourceTypesReads: Reads[SourceTypes]

    Permalink
  34. implicit val sourceTypesWrites: Writes[SourceTypes]

    Permalink
  35. implicit val statusFormats: Format[Status]

    Permalink
  36. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  38. implicit val typeFormats: Format[Type]

    Permalink
  39. final def wait(): Unit

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

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

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

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped