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
constructor(address: Address, carrier: String? = null, name: String? = null, phone: String? = null, trackingNumber: String? = null)

Properties

Link copied to clipboard

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.

Functions

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