add payment method structure

[re #edu_homework_5]