SourceOrder

data class SourceOrder : StripeModel

Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.

API reference

Types

Link copied to clipboard
data class Item : StripeModel

List of items constituting the order.

Link copied to clipboard
data class Shipping : StripeModel

The shipping address for the order. Present if the order is for goods to be shipped.

Properties

Link copied to clipboard
val amount: Int? = null

A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the order.

Link copied to clipboard
val currency: String? = null

Three-letter ISO currency code, in lowercase. Must be a supported currency.

Link copied to clipboard
val email: String? = null

The email address of the customer placing the order.

Link copied to clipboard

List of items constituting the order.

Link copied to clipboard

The shipping address for the order. Present if the order is for goods to be shipped.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)