GooglePayDisplayItem
data class GooglePayDisplayItem(val label: String, val type: GooglePayDisplayItemType, val price: String, val status: GooglePayDisplayItemStatus = GooglePayDisplayItemStatus.FINAL) : Parcelable
A cart item shown in the payment sheet (e.g. subtotals, sales taxes, shipping charges, discounts etc.). This is typically populated in the payment sheet if you use Authorize Payments or Dynamic Price Updates. See: https://developers.google.com/pay/api/web/reference/request-objects#DisplayItem
Constructors
Link copied to clipboard
constructor(label: String, type: GooglePayDisplayItemType, price: String, status: GooglePayDisplayItemStatus = GooglePayDisplayItemStatus.FINAL)