Package-level declarations

Types

Link copied to clipboard

Customer recommendations for what payment options to show.

Link copied to clipboard

Represents the result of customer payment option recommendations generation.

Link copied to clipboard
data class CustomerSessionRequest(var hashedEmail: String? = null, var hashedPhoneNumber: String? = null, var payPalAppInstalled: Boolean? = null, var venmoAppInstalled: Boolean? = null, var purchaseUnits: List<PurchaseUnit>? = null)

Request for creating a customer session.

Link copied to clipboard

Represents the result of a customer session creation.

Link copied to clipboard
data class PaymentOptions(val paymentOption: String, val recommendedPriority: Int)

A single payment recommendation

Link copied to clipboard
data class PurchaseUnit(val amount: String, val currencyCode: String)

Amounts of the items purchased.

Link copied to clipboard

Use ShopperInsightsClientV2 to optimize your checkout experience by prioritizing the customer’s preferred payment methods in your UI.