setShouldPrefetchCustomer

fun setShouldPrefetchCustomer(shouldPrefetchCustomer: Boolean): PaymentSessionConfig.Builder

Parameters

shouldPrefetchCustomer

If true, will immediately fetch the Customer associated with this session. Otherwise, will only fetch when needed.

Defaults to true.