Shipping

data class Shipping(    val address: Address,     val carrier: String? = null,     val name: String? = null,     val phone: String? = null,     val trackingNumber: String? = null) : StripeModel

Shipping information for this PaymentIntent.

See shipping

Constructors

Link copied to clipboard
fun Shipping(    address: Address,     carrier: String? = null,     name: String? = null,     phone: String? = null,     trackingNumber: String? = null)

Functions

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

Properties

Link copied to clipboard
val address: Address

Shipping address.

Link copied to clipboard
val carrier: String? = null

The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.

Link copied to clipboard
val name: String? = null

Recipient name.

Link copied to clipboard
val phone: String? = null

Recipient phone (including extension).

Link copied to clipboard
val trackingNumber: String? = null

The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.