Payment Sheet Configuration
data class PaymentSheetConfiguration(val orderId: String? = null, val purchaseIntentId: String? = null, val returnUrl: String? = null, val appearance: PaymentSheetConfiguration.Appearance = Appearance(), val telemetry: PaymentSheetConfiguration.Telemetry = Telemetry(), val features: PaymentSheetConfiguration.Features = Features())(source)
Everything Inttegro needs to prepare one native Checkout presentation.
Pass either the public Order ID returned by your backend after finalization, or a Purchase Intent backed by a customer-selected amount price. This type intentionally has no merchant API key, amount, currency, or merchant identity fields: Checkout remains authoritative for those values.
Throws
when a value fails synchronous validation.
Constructors
Link copied to clipboard
constructor(orderId: String? = null, purchaseIntentId: String? = null, returnUrl: String? = null, appearance: PaymentSheetConfiguration.Appearance = Appearance(), telemetry: PaymentSheetConfiguration.Telemetry = Telemetry(), features: PaymentSheetConfiguration.Features = Features())
Types
Link copied to clipboard
data class Appearance(val primaryColor: String? = null, val backgroundColor: String? = null, val textColor: String? = null, val cornerRadius: Float? = null)
Restrained visual overrides applied to the native sheet.
Properties
Link copied to clipboard
Restrained native appearance overrides.
Link copied to clipboard
Optional content and post-payment actions.
Link copied to clipboard
Public Buy link identifier whose amount the payer chooses before Checkout creates the Order.
Link copied to clipboard
Host-owned diagnostics and trace-context options.