setType(PaymentMethodType::BANK_CARD); } /** * Возвращает данные банковской карты. * * @return PayoutDestinationDataBankCardCard|null Данные банковской карты */ public function getCard(): ?PayoutDestinationDataBankCardCard { return $this->_card; } /** * Устанавливает данные банковской карты. * * @param PayoutDestinationDataBankCardCard|array|null $card Данные банковской карты * * @return self */ public function setCard(mixed $card = null): self { $this->_card = $this->validatePropertyValue('_card', $card); return $this; } }