addOffer

fun addOffer(offer: Offer): TikiSdk

Adds an Offer object to the offers dictionary, using its ID as the key.

The Offer object is added to the offers dictionary with its ID as the key. If an offer with the same ID already exists in the dictionary, it will be overwritten by the new offer.

Parameters

offer

: The Offer object to add to the offers dictionary.