Skip to content

PM-4669 - support for payment cycles engagement payments#182

Merged
vas3a merged 1 commit into
devfrom
PM-4669_additional-support-for-payment-cycles
May 21, 2026
Merged

PM-4669 - support for payment cycles engagement payments#182
vas3a merged 1 commit into
devfrom
PM-4669_additional-support-for-payment-cycles

Conversation

@vas3a

@vas3a vas3a commented May 19, 2026

Copy link
Copy Markdown
Collaborator

This pull request enhances the handling of payment details for assignments by introducing support for a paymentCycle field and a standardHoursPerDay field throughout the admin service and related DTOs. These changes ensure that assignment payment cycles and daily standard hours are consistently managed and exposed via the API, improving data accuracy and flexibility.

Payment Details Enhancements:

  • Added a new PaymentCycle type ('WEEKLY' | 'FORTNIGHTLY' | 'MONTHLY') and integrated it into the PaymentEngagementDetailsDto and related logic, allowing assignments to specify their payment cycle.

  • Introduced a standardHoursPerDay field to PaymentEngagementDetailsDto and related interfaces, with logic to derive its value from standardHoursPerWeek when not explicitly provided.
    Service and Interface Updates:

  • Updated AdminService to handle the new paymentCycle and standardHoursPerDay fields when transforming assignment and engagement data, ensuring default values and correct type casting.

  • Extended TopcoderAssignmentContext and TopcoderEngagementAssignment interfaces to include the new fields, supporting end-to-end data flow.

@vas3a
vas3a requested review from jmgasper and kkartunov May 19, 2026 13:29
@vas3a
vas3a merged commit 797df69 into dev May 21, 2026
3 of 4 checks passed
@vas3a
vas3a deleted the PM-4669_additional-support-for-payment-cycles branch May 21, 2026 07:01
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