Handle the Dynamic Currency Conversion delegate

Delegate

The transactionSuggestsDcc delegate is called when the PED detects the shopper's card is in a different currency. The PED will then suggest converting the currency using Direct Currency Conversion. This delegate indicates the payment device is currently displaying this option to the shopper.  The shopper can then decide if they want to convert based on the information provided in this delegate

Parameters

Name Type Required Description
data

ADYDynamicCurrencyConversionData

(tick)

The details of the DCC option.

Declaration code example

Objective-C

- (void)transactionSuggestsDcc:(ADYDynamicCurrencyConversionData *)data;

Swift

optional func transactionSuggestsDcc(_ data: ADYDynamicCurrencyConversionData!)