Tip

@JsonClass(generateAdapter = true)
data class Tip(amount: Long?) : Parcelable

Tip contains details about tips

For more information, see the official Stripe docs: Collect on-reader tips

Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal

Constructors

Link copied to clipboard
fun Tip(amount: Long? = 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 amount: Long? = null

Portion of the amount that corresponds to a tip