-
Notifications
You must be signed in to change notification settings - Fork 35
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Спасибо за PR!
Yandex.Checkout.V3/NewPayment.cs
Outdated
/// <see cref="ReceiverMobileBalance"/>, | ||
/// <see cref="ReceiverDigitalWallet"/>. | ||
/// </summary> | ||
public ReceiverBase Receiver { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Боюсь, что при получении информации о платеже (GetPayment) Receiver не десериализуется в нужный тип. См. добавленный мной тест.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Добрый день.
Обязательно посмотрю на днях!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Поправил.
Но пока писал, подумал, имел ли смысл так усложнять, может быть достаточно сделать Receiver с перечислением всех доступных полей?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bzaar Доброго времени суток, посмотрите, пожалуйста
#83
@bzaar посмотрите, пожалуйста, посмотрел документацию, поправил модель, проверил в тестовом кабинете, как будет работать в бою - неизвестно.