mapFromPromoterData

Maps a promoter response to a DiscoveryPromoter object.

Converts a PromoterResponse to a DiscoveryPromoter with its ID, name, and description.

Return

A DiscoveryPromoter object with the mapped data.

Parameters

promoterData

The promoter response from the API.