Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payments for communal services #84

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

dimkadv2
Copy link

@dimkadv2 dimkadv2 commented Jan 14, 2025

#83
@bzaar посмотрите, пожалуйста, посмотрел документацию, поправил модель, проверил в тестовом кабинете, как будет работать в бою - неизвестно.

@bzaar bzaar self-requested a review January 15, 2025 18:39
Copy link
Member

@bzaar bzaar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Спасибо за PR!

/// <see cref="ReceiverMobileBalance"/>,
/// <see cref="ReceiverDigitalWallet"/>.
/// </summary>
public ReceiverBase Receiver { get; set; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Боюсь, что при получении информации о платеже (GetPayment) Receiver не десериализуется в нужный тип. См. добавленный мной тест.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нужно что-то вроде этого: https://stackoverflow.com/a/19308474/1291717

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Добрый день.
Обязательно посмотрю на днях!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Поправил.
Но пока писал, подумал, имел ли смысл так усложнять, может быть достаточно сделать Receiver с перечислением всех доступных полей?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bzaar Доброго времени суток, посмотрите, пожалуйста

@dimkadv2 dimkadv2 requested a review from bzaar January 17, 2025 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants