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 | Added PayoutData #283

Merged
merged 3 commits into from
Jun 4, 2023
Merged

Commits on Jun 1, 2023

  1. Payout (#8)

    - Created Dajngo model PayoutData with fixtures
    - Recreated migrations
    - Added PayoutDataObjectViewSet viewset for PayoutData for single object
    - Added viewset PayoutDataCreateViewSet
    - Created serializers PayoutDataSerializer and CreatePayoutDataSerializer
    - Replaces PayoutType dataclass with PayoutType from PayoutData model
    - Updated increase_user_balance and decrease_user_balance to return balance_change_objects
    - Into DRFtoDataClassMixin added support for pydantic
    - Fixed bugs to handel payout process
    range-kun authored Jun 1, 2023
    Configuration menu
    Copy the full SHA
    410fbc3 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2023

  1. - Updated payout fixtures with new primary keys

    - Updated default value for MoneyField and removed default_money variable
    - Renew migrations
    - Updated docker-compose.override.yml with env values for payments_db
    - Fixed entrypoint.sh to properly load data from envs
    - Renamed constraint in PayoutData
    - Refactored validate method to check for digits for yoomoney payout type
    - Renamed PayoutDataCreateViewSet to PayoutDataCreateView
    - Refactored partial_update for PayoutDataViewSet
    range-kun committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    6806a66 View commit details
    Browse the repository at this point in the history
  2. Update payout.json

    range-kun authored Jun 3, 2023
    Configuration menu
    Copy the full SHA
    0ff3fdd View commit details
    Browse the repository at this point in the history