SourceOrderParams
data class SourceOrderParams @JvmOverloads constructor(items: List<SourceOrderParams.Item>?, shipping: SourceOrderParams.Shipping?) : StripeParamsModel, Parcelable
Content copied to clipboard
Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.
Constructors
Link copied to clipboard
fun SourceOrderParams(items: List<SourceOrderParams.Item>? = null, shipping: SourceOrderParams.Shipping? = null)
Content copied to clipboard
Types
Link copied to clipboard
data class Item(type: SourceOrderParams.Item.Type?, amount: Int?, currency: String?, description: String?, parent: String?, quantity: Int?) : StripeParamsModel, Parcelable
Content copied to clipboard
List of items constituting the order.
Link copied to clipboard
data class Shipping(address: Address, carrier: String?, name: String?, phone: String?, trackingNumber: String?) : StripeParamsModel, Parcelable
Content copied to clipboard
Shipping address for the order. Required if any of the SKUs are for products that have shippable
set to true.