AmountBreakdown

data class AmountBreakdown(val itemTotal: String, val taxTotal: String?, val shippingTotal: String?, val handlingTotal: String?, val insuranceTotal: String?, val shippingDiscount: String?, val discountTotal: String?) : Parcelable

A recurring billing amount breakdown.

This object can only used for the PayPalCheckoutRequest to customize how the transaction amount is broken down. If AmountBreakdown is provided, itemTotal is required. Some fields are conditionally required or not accepted depending on the checkout flow (e.g., one-time vs subscription).

Constructors

Link copied to clipboard
constructor(itemTotal: String, taxTotal: String?, shippingTotal: String?, handlingTotal: String?, insuranceTotal: String?, shippingDiscount: String?, discountTotal: String?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

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