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 StripeObject with 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] = None, created: Option[ListFilterInput] = None, currency: Option[Currency] = None, endingBefore: Option[String] = None, limit: Option[Long] = None, source: Option[String] = None, startingAfter: Option[String] = None, transfer: Option[Boolean] = None, type: Option[Type] = None) 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: Option[BigDecimal], bankAccount: Option[BigDecimal], bitcoinReceiver: Option[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 BalanceTransactionList extends ListJsonMappers[BalanceTransaction] with Serializable

    Permalink
  5. object FeeType extends Enum[FeeType]

    Permalink
  6. object Status extends Enum[Status]

    Permalink
  7. object Type extends Enum[Type]

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. implicit val balanceDecoder: Decoder[Balance]

    Permalink
  10. implicit val balanceEncoder: Encoder[Balance]

    Permalink
  11. implicit val balanceFundDecoder: Decoder[BalanceFund]

    Permalink
  12. implicit val balanceFundEncoder: Encoder[BalanceFund]

    Permalink
  13. implicit val balanceTransactionDecoder: Decoder[BalanceTransaction]

    Permalink
  14. implicit val balanceTransactionEncoder: Encoder[BalanceTransaction]

    Permalink
  15. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. implicit val feeDetailsDecoder: Decoder[FeeDetails]

    Permalink
  19. implicit val feeDetailsEncoder: Encoder[FeeDetails]

    Permalink
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def get(stripeAccount: Option[String] = None)(implicit apiKey: ApiKey, endpoint: Endpoint, client: HttpExt, materializer: Materializer, executionContext: ExecutionContext): Future[Try[Balance]]

    Permalink

    stripeAccount

    ID of the Stripe Connect managed account that you want to retrieve the balance for. If None, the platform account balance is retrieved.

    See also

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

  22. def getBalanceTransaction(id: String)(implicit apiKey: ApiKey, endpoint: Endpoint, client: HttpExt, materializer: Materializer, executionContext: ExecutionContext): Future[Try[BalanceTransaction]]

    Permalink

    See also

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

  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 listBalanceHistory(balanceHistoryListInput: BalanceHistoryListInput, includeTotalCount: Boolean)(implicit apiKey: ApiKey, endpoint: Endpoint, client: HttpExt, materializer: Materializer, executionContext: ExecutionContext): Future[Try[BalanceTransactionList]]

    Permalink

    See also

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

  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. implicit val sourceTypesDecoder: Decoder[SourceTypes]

    Permalink
  32. implicit val sourceTypesEncoder: Encoder[SourceTypes]

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

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

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

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

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

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

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped