addCustomerSource

fun addCustomerSource(sourceId: String, sourceType: String, listener: CustomerSession.SourceRetrievalListener)

Add the Source to the current customer.

Parameters

sourceId

the ID of the source to be added

listener

a SourceRetrievalListener called when the API call completes with the added Source.