PayPalLineItem
data class PayPalLineItem @JvmOverloads constructor(val kind: PayPalLineItemKind, val name: String, val quantity: String, val unitAmount: String, var description: String? = null, var imageUrl: String? = null, var productCode: String? = null, var unitTaxAmount: String? = null, var upcCode: String? = null, var upcType: PayPalLineItemUpcType? = null, var url: String? = null) : Parcelable
Line item for PayPal checkout flows.
Constructors
Link copied to clipboard
Properties
Link copied to clipboard
Item description to display. Maximum 127 characters.
Link copied to clipboard
Indicates whether the line item is a debit (sale) or credit (refund) to the customer.
Link copied to clipboard
Product or UPC code for the item. Maximum 127 characters.
Link copied to clipboard
Per-unit price of the item. Can include up to 2 decimal places. This value can't be negative or zero.
Link copied to clipboard
Per-unit tax price of the item. Can include up to 2 decimal places. This value can't be negative or zero.
Link copied to clipboard
UPC type of the item.