object
Customers extends LazyLogging
Type Members
-
case class
Customer(id: String, accountBalance: BigDecimal, created: OffsetDateTime, livemode: Boolean, delinquent: Boolean, sources: PaymentSourceList, subscriptions: SubscriptionList, currency: Option[Currency] = None, defaultSource: Option[String] = None, description: Option[String] = None, discount: Option[Discount] = None, email: Option[String] = None, metadata: Option[Map[String, String]] = None, shipping: Option[Shipping] = None) extends StripeObject with Product with Serializable
-
case class
CustomerInput(accountBalance: Option[BigDecimal] = None, coupon: Option[String] = None, description: Option[String] = None, email: Option[String] = None, metadata: Map[String, String] = Map.empty, plan: Option[String] = None, quantity: Option[Long] = None, shipping: Option[Shipping] = None, source: Option[Source] = None, taxPercent: Option[BigDecimal] = None, trialEnd: Option[OffsetDateTime] = None) extends Product with Serializable
-
case class
CustomerList(url: String, hasMore: Boolean, data: List[Customer], totalCount: Option[Long]) extends List[Customer] with Product with Serializable
-
case class
CustomerListInput(created: Option[ListFilterInput] = None, endingBefore: Option[String] = None, limit: Option[Long] = None, startingAfter: Option[String] = None) extends Product with Serializable
-
case class
CustomerUpdate(paymentSource: Option[Token] = None, defaultSource: Option[String] = None) extends Product with Serializable
-
sealed abstract
class
Source extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
-
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
create(customerInput: CustomerInput)(idempotencyKey: Option[IdempotencyKey] = None)(implicit apiKey: ApiKey, endpoint: Endpoint, client: HttpExt, materializer: Materializer, executionContext: ExecutionContext): Future[Try[Customer]]
-
implicit
val
customerDecoder: Decoder[Customer]
-
implicit
val
customerEncoder: Encoder[Customer]
-
-
-
-
def
delete(id: String)(idempotencyKey: Option[IdempotencyKey] = None)(implicit apiKey: ApiKey, endpoint: Endpoint, client: HttpExt, materializer: Materializer, executionContext: ExecutionContext): Future[Try[DeleteResponse]]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
get(id: String)(implicit apiKey: ApiKey, endpoint: Endpoint, client: HttpExt, materializer: Materializer, executionContext: ExecutionContext): Future[Try[Customer]]
-
final
def
getClass(): Class[_]
-
def
getCustomerJson(id: String)(implicit apiKey: ApiKey, endpoint: Endpoint, client: HttpExt, materializer: Materializer, executionContext: ExecutionContext): Future[Try[Json]]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
list(customerListInput: CustomerListInput, includeTotalCount: Boolean)(implicit apiKey: ApiKey, endpoint: Endpoint, client: HttpExt, materializer: Materializer, executionContext: ExecutionContext): Future[Try[CustomerList]]
-
lazy val
logger: Logger
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
implicit
val
sourceDecoder: Decoder[Source]
-
implicit
val
sourceEncoder: Encoder[Source]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
update(id: String, customerUpdate: CustomerUpdate)(idempotencyKey: Option[IdempotencyKey] = None)(implicit apiKey: ApiKey, endpoint: Endpoint, client: HttpExt, materializer: Materializer, executionContext: ExecutionContext): Future[Try[Customer]]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any