setCustomerDefaultSource

fun setCustomerDefaultSource(sourceId: String, sourceType: String, listener: CustomerSession.CustomerRetrievalListener)

Set the default Source of the current customer.

Parameters

sourceId

the ID of the source to be set

listener

a CustomerRetrievalListener called when the API call completes with the updated customer