SourceOrderParams

Source order parameters.

See Source Orders.

Constructors

Link copied to clipboard
constructor(items: List<SourceOrderParams.Item>, shipping: SourceOrderParams.Shipping? = null)

Types

Link copied to clipboard
class Item(val type: SourceOrderParams.Item.Type? = null, val amount: Int? = null, val currency: String? = null, val description: String? = null, val parent: String? = null, val quantity: Int? = null) : StripeParamsModel, Parcelable

List of items constituting the order.

Link copied to clipboard
class Shipping(val address: Address, val carrier: String? = null, val name: String? = null, val phone: String? = null, val trackingNumber: String? = null) : StripeParamsModel, Parcelable

Shipping address for the order. Required if any of the SKUs are for products that have shippable set to true.

Properties

Link copied to clipboard

List of items constituting the order.

Link copied to clipboard

The shipping address for the order. A dictionary containing the fields defined in the Address API reference.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toParamMap(): Map<String, Any>
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)