package stripe
- Alphabetic
- Public
- All
Type Members
- case class Account(id: String, chargesEnabled: Boolean, country: String, defaultCurrency: String, detailsSubmitted: Boolean, transfersEnabled: Boolean, displayName: String, statementDescriptor: Option[String], timezone: String, email: String, businessName: String, raw: Option[JValue] = None) extends StripeObject with Product with Serializable
- case class ApplicationFee(id: String, created: Long, livemode: Boolean, amount: Long, currency: String, refunded: Boolean, amountRefunded: Long, refunds: RefundList, balanceTransaction: String, account: String, application: String, charge: String, raw: Option[JValue] = None) extends StripeObject with Product with Serializable
- case class ApplicationFeeList(data: List[ApplicationFee], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[ApplicationFee] with Product with Serializable
- case class ApplicationFeeRefund(id: String, amount: Long, created: Long, currency: String, balanceTransaction: Option[String], metadata: Map[String, String], fee: String, raw: Option[JValue] = None) extends StripeObject with Product with Serializable
- case class ApplicationFeeRefundList(data: List[ApplicationFeeRefund], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[ApplicationFeeRefund] with Product with Serializable
- case class Balance(livemode: Boolean, pending: List[BalanceItem], available: List[BalanceItem], raw: Option[JValue] = None) extends StripeObject with Product with Serializable
- case class BalanceItem(amount: Long, currency: String) extends Product with Serializable
- case class BalanceTransaction(id: String, amount: Long, currency: String, net: Long, type: String, created: Long, availableOn: Long, status: String, fee: Long, feeDetails: List[FeeDetails], source: String, description: Option[String], raw: Option[JValue] = None) extends StripeObject with Product with Serializable
- case class BankAccount(id: String, country: String, currency: String, defaultForCurrency: Boolean, last4: String, status: String, bankName: Option[String], fingerprint: Option[String]) extends Product with Serializable
- trait BaseInvoice extends AnyRef
-
case class
Card(id: String, brand: String, expMonth: Int, expYear: Int, fingerprint: String, funding: String, last4: String, addressCity: Option[String] = None, addressCountry: Option[String] = None, addressLine1: Option[String] = None, addressLine1Check: Option[String] = None, addressLine2: Option[String] = None, addressState: Option[String] = None, addressZip: Option[String] = None, addressZipCheck: Option[String] = None, country: Option[String] = None, customer: Option[String] = None, cvcCheck: Option[String] = None, dynamicLast4: Option[String] = None, name: Option[String] = None, receipient: Option[String] = None, raw: Option[JValue] = None) extends StripeObject with Product with Serializable
Implementation of the Charge data structure in Stripe's API.
Implementation of the Charge data structure in Stripe's API. See https://stripe.com/docs/api#card_object
- case class CardList(data: List[Card], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[Card] with Product with Serializable
-
case class
Charge(id: Option[String] = None, livemode: Option[Boolean] = None, amount: Option[Int] = None, captured: Option[Boolean] = None, card: Option[Card] = None, created: Option[Long] = None, currency: Option[String] = None, paid: Option[Boolean] = None, refunded: Option[Boolean] = None, refunds: Option[RefundList] = None, amountRefunded: Option[Int] = None, balanceTransaction: Option[String] = None, customer: Option[String] = None, description: Option[String] = None, dispute: Option[Dispute] = None, failureCode: Option[String] = None, failureMessage: Option[String] = None, invoice: Option[String] = None, metadata: Map[String, String] = Map.empty, receiptEmail: Option[String] = None, receiptNumber: Option[String] = None, shipping: Option[ChargeShipping] = None, statementDescription: Option[String] = None, raw: Option[JValue] = None) extends StripeObject with Product with Serializable
Implementation of the Charge data structure in Stripe's API.
Implementation of the Charge data structure in Stripe's API. See https://stripe.com/docs/api#charge_object
- case class ChargeList(data: List[Charge], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[Charge] with Product with Serializable
- case class ChargeShipping(address: ChargeShippingAddress, name: String, phone: String) extends Product with Serializable
- case class ChargeShippingAddress(line1: String, city: String, country: String, line2: String, postalCode: String, state: String) extends Product with Serializable
- trait ChildDeleteable extends ChildStripeMeta
- trait ChildGettable[T <: StripeObject] extends ChildStripeMeta
- abstract class ChildListable[Z <: StripeList[_]] extends ChildStripeMeta
-
trait
ChildStripeMeta extends AnyRef
The base class for all singletons that will facilitate communication with Stripe on behalf of the child-level model objects.
- case class Coupon(id: String, livemode: Boolean, created: Long, duration: String, amountOff: Option[Long], currency: Option[String], durationInMonths: Option[Int], maxRedemptions: Option[Int], percentOff: Option[Int], redeemBy: Option[Long], timesRedeemed: Int, valid: Boolean, metadata: Map[String, String], raw: Option[JValue] = None) extends StripeObject with Product with Serializable
- case class CouponList(data: List[Coupon], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[Coupon] with Product with Serializable
-
case class
Customer(id: String, livemode: Boolean, sources: CardList, created: Long, accountBalance: Long, currency: String, delinquent: Boolean, defaultSource: Option[String], description: Option[String], discount: Option[Discount], email: Option[String], metadata: Map[String, String], subscriptions: Option[SubscriptionList], taxPercent: Option[Double], raw: Option[JValue] = None) extends StripeObject with Product with Serializable
Implementation of the Customer data structure in Stripe's API.
Implementation of the Customer data structure in Stripe's API. See https://stripe.com/docs/api#customer_object
- case class CustomerList(data: List[Customer], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[Customer] with Product with Serializable
- case class DeleteResponse(deleted: Boolean, id: String, raw: Option[JValue] = None) extends StripeObject with Product with Serializable
- trait Deleteable extends StripeMeta
- case class Discount(coupon: Coupon, customer: String, start: Long, end: Option[Long], subscription: String, raw: Option[JValue] = None) extends StripeObject with Product with Serializable
- case class Dispute(charge: String, amount: Long, created: Long, currency: String, reason: String, status: String, balanceTransactions: List[BalanceTransaction], evidence: DisputeEvidence, evidenceDetails: DisputeEvidenceDetails, isChargeRefundable: Boolean, metadata: Map[String, String], raw: Option[JValue] = None) extends StripeObject with Product with Serializable
- case class DisputeEvidence(productDescription: Option[String], customerName: Option[String], customerEmailAddress: Option[String], customerPurchaseIp: Option[String], customerSignature: Option[String], billingAddress: Option[String], receipt: Option[String], shippingAddress: Option[String], shippingDate: Option[String], shippingTrackingNumber: Option[String], shippingDocumentation: Option[String], refundPolicy: Option[String], refundPolicyDisclosure: Option[String], refundRefusalExplanation: Option[String], cancellationPolicy: Option[String], cancellationPolicyDisclosure: Option[String], cancellationRebuttal: Option[String], accessActivityLog: Option[String], serviceDate: Option[String], serviceDocumentation: Option[String], duplicateChargeId: Option[String], duplicateChargeExplanation: Option[String], duplicateChargeDocumentation: Option[String], customerCommunication: Option[String], uncategorizedText: Option[String], uncategorizedFile: Option[String]) extends Product with Serializable
- case class DisputeEvidenceDetails(submissionCount: Int, dueBy: Long) extends Product with Serializable
- case class Event(id: String, livemode: Boolean, created: Long, data: JObject, pendingWebhooks: Int, type: String, apiVersion: String, request: String, customerEmail: Option[String], raw: Option[JValue] = None) extends StripeObject with Product with Serializable
- case class EventList(data: List[Event], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[Event] with Product with Serializable
- case class FeeDetails(amount: Long, currency: String, type: String, description: Option[String], application: Option[String]) extends Product with Serializable
- trait Gettable[T <: StripeObject] extends StripeMeta
- case class Invoice(id: String, livemode: Boolean, amountDue: Long, attemptCount: Int, attempted: Boolean, closed: Boolean, currency: String, customer: String, date: Long, forgiven: Boolean, lines: InvoiceLineItemList, paid: Boolean, periodEnd: Long, periodStart: Long, startingBalance: Long, subtotal: Long, total: Long, applicationFee: Option[Long], charge: Option[String], description: Option[String], discount: Option[Discount], endingBalance: Option[Long], nextPaymentAttempt: Option[Long], receiptNumber: Option[String], statementDescriptor: Option[String], subscription: Option[String], webhooksDeliveredAt: Option[Long], tax: Option[Long], taxPercent: Option[Double], metadata: Map[String, String], raw: Option[JValue] = None) extends StripeObject with BaseInvoice with Product with Serializable
- case class InvoiceItem(id: String, livemode: Boolean, amount: Long, currency: String, customer: String, date: Long, proration: Boolean, description: String, invoice: String, plan: Option[Plan], quantity: Int, subscription: String, statementDescriptor: Option[String], metadata: Map[String, String], raw: Option[JValue] = None) extends StripeObject with Product with Serializable
- case class InvoiceItemList(data: List[InvoiceItem], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[InvoiceItem] with Product with Serializable
- case class InvoiceLineItem(id: String, livemode: Boolean, amount: Long, currency: String, period: Option[InvoiceLineItemPeriod], proration: Boolean, type: String, description: Option[String], plan: Option[Plan], quantity: Int, subscription: Option[String], metadata: Map[String, String]) extends Product with Serializable
- case class InvoiceLineItemList(data: List[InvoiceLineItem], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[InvoiceLineItem] with Product with Serializable
- case class InvoiceLineItemPeriod(start: Long, end: Long) extends Product with Serializable
- case class InvoiceList(data: List[Invoice], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[Invoice] with Product with Serializable
- abstract class Listable[Z <: StripeList[_]] extends StripeMeta
- case class Plan(interval: String, name: String, created: Long, amount: Long, currency: String, id: String, livemode: Boolean, intervalCount: Int, trialPeriodDays: Option[Int], statementDescriptor: Option[String], metadata: Map[String, String], raw: Option[JValue]) extends StripeObject with Product with Serializable
- case class PlanList(data: List[Plan], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[Plan] with Product with Serializable
- case class Recipient(id: String, created: Long, livemode: Boolean, type: String, description: Option[String], email: Option[String], name: String, verified: Boolean, activeAccount: Option[BankAccount], cards: CardList, defaultCard: Option[String], raw: Option[JValue] = None) extends StripeObject with Product with Serializable
- case class RecipientList(data: List[Recipient], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[Recipient] with Product with Serializable
- case class Refund(id: String, amount: Long, created: Long, currency: String, balanceTransaction: String, charge: String, metadata: Map[String, String], reason: Option[String], receiptNumber: Option[String], description: Option[String], raw: Option[JValue]) extends StripeObject with Product with Serializable
- case class RefundList(data: List[Refund], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[Refund] with Product with Serializable
-
class
StripeExecutor extends AnyRef
An executor that will talk to Stripe for you.
An executor that will talk to Stripe for you. You'll need to define an executor in your code that knows about your API key in order to talk to Stripe.
StripeExecutors are designed to be used as implicits, so that they can be defined once in an application and automatically dropped in wherever they're needed. For example, for your application you might use the package prefix com.widgets. To put an executor in scope for all of your code you'd define a package object containing the executor.
package com package object widgets { implicit val stripeExecutor = new StripeExecutor(myApiKey) }
- trait StripeList[T] extends StripeObject
-
trait
StripeMeta extends AnyRef
The base class for all singletons that will facilitate communication with Stripe on behalf of the top-level model objects.
-
abstract
class
StripeObject extends AnyRef
The common ancestor of any class that represents a Stripe data structure.
-
case class
StripeResponse(code: Int, json: JValue) extends Product with Serializable
Case class describing a raw response from Stripe, including HTTP status code and JValue representation of the payload.
- case class Subscription(id: Option[String], start: Option[Long], status: Option[String], customer: Option[String], cancelAtPeriodEnd: Option[Boolean], currentPeriodStart: Option[Long], currentPeriodEnd: Option[Long], endedAt: Option[Long], trialStart: Option[Long], trialEnd: Option[Long], canceledAt: Option[Long], quantity: Option[Int], taxPercent: Option[Double], applicationFeePercent: Option[Int], discount: Option[Discount], raw: Option[JValue]) extends StripeObject with Product with Serializable
- case class SubscriptionList(data: List[Subscription], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[Subscription] with Product with Serializable
-
case class
Token(id: String, livemode: Boolean, created: Long, used: Boolean, type: String, card: Option[Card], raw: Option[JValue] = None) extends StripeObject with Product with Serializable
Implementation of the Token structure in Stripe's API.
Implementation of the Token structure in Stripe's API. See https://stripe.com/docs/api#token_object
- case class Transfer(id: String, created: Long, date: Long, livemode: Boolean, amount: Long, currency: String, status: String, type: String, balanceTransaction: String, description: String, failureMessage: Option[String], failureCode: Option[String], statementDescription: Option[String], recipient: Option[String], bankAccount: Option[BankAccount], card: Option[Card], metadata: Map[String, String], raw: Option[JValue] = None) extends StripeObject with Product with Serializable
- case class TransferList(data: List[Transfer], hasMore: Boolean = false, totalCount: Option[Int] = None, url: String = "", raw: Option[JValue] = None) extends StripeObject with StripeList[Transfer] with Product with Serializable
- case class UpcomingInvoice(livemode: Boolean, amountDue: Long, attemptCount: Int, attempted: Boolean, closed: Boolean, currency: String, customer: String, date: Long, forgiven: Boolean, lines: InvoiceLineItemList, paid: Boolean, periodEnd: Long, periodStart: Long, startingBalance: Long, subtotal: Long, total: Long, applicationFee: Option[Long], charge: Option[String], description: Option[String], discount: Option[Discount], endingBalance: Option[Long], nextPaymentAttempt: Option[Long], receiptNumber: Option[String], statementDescriptor: Option[String], subscription: Option[String], webhooksDeliveredAt: Option[Long], tax: Option[Long], taxPercent: Option[Double], metadata: Map[String, String], raw: Option[JValue] = None) extends StripeObject with BaseInvoice with Product with Serializable
Value Members
- object Account extends Serializable
- object ApplicationFee extends Listable[ApplicationFeeList] with Gettable[ApplicationFee] with Serializable
- object ApplicationFeeRefund extends ChildListable[ApplicationFeeRefundList] with ChildGettable[ApplicationFeeRefund] with Serializable
-
object
AsStripeResponse extends (Response) ⇒ StripeResponse
Response transformer for use with dispatch to turn a Response into an instance of StripeResponse.
- object Balance extends Serializable
- object BalanceTransaction extends Gettable[BalanceTransaction] with Serializable
-
object
BuildInfo extends Product with Serializable
This object was generated by sbt-buildinfo.
- object Card extends ChildListable[CardList] with ChildGettable[Card] with ChildDeleteable with Serializable
- object Charge extends Listable[ChargeList] with Gettable[Charge] with Serializable
- object Coupon extends Listable[CouponList] with Gettable[Coupon] with Deleteable with Serializable
- object Customer extends Listable[CustomerList] with Gettable[Customer] with Deleteable with Serializable
- object Event extends Listable[EventList] with Gettable[Event] with Serializable
- object Invoice extends Listable[InvoiceList] with Gettable[Invoice] with Serializable
- object InvoiceItem extends Listable[InvoiceItemList] with Gettable[InvoiceItem] with Deleteable with Serializable
- object Plan extends Listable[PlanList] with Gettable[Plan] with Deleteable with Serializable
- object Recipient extends Listable[RecipientList] with Gettable[Recipient] with Deleteable with Serializable
- object Refund extends ChildListable[RefundList] with ChildGettable[Refund] with Serializable
- object StripeHelpers
- object Subscription extends ChildListable[SubscriptionList] with ChildGettable[Subscription] with Serializable
- object Token extends Gettable[Token] with Serializable
- object Transfer extends Listable[TransferList] with Gettable[Transfer] with Serializable