SourceOrderParams
class SourceOrderParams @JvmOverloads constructor(val items: List<SourceOrderParams.Item>, val shipping: SourceOrderParams.Shipping? = null) : StripeParamsModel, Parcelable
Source order parameters.
See Source Orders.
Constructors
Link copied to clipboard
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.