//[datasource](../../../index.md)/[com.yandex.payment.sdk.datasource.payment.interfaces](../index.md)/[PaymentScreen](index.md)/[setState](set-state.md)

# setState

[datasource]\
abstract fun [setState](set-state.md)(state: [PaymentScreen.State](-state/index.md))

Задать состояние экрана с оплатой.

## Parameters

datasource

| | |
|---|---|
| state | новое состояние. |
