//[datasource](../../../index.md)/[com.yandex.payment.sdk.datasource.payment](../index.md)/[SelectMethodMediator](index.md)/[setMethodSelectionCallback](set-method-selection-callback.md)

# setMethodSelectionCallback

[datasource]\
fun [setMethodSelectionCallback](set-method-selection-callback.md)(callback: ([PaymentMethod](../../../../core/core/com.yandex.payment.sdk.core.data/-payment-method/index.md)) -> Unit?)

Задать коллбек на выбор метода.

## Parameters

datasource

| | |
|---|---|
| callback | коллбек. |
