Skip to content

PAY-API - Versioning table #20588

Closed
Closed

Description

@Jxio
  1. test versioning table

  2. might need to change the service pattern that pay is using
    some boilerplate like this, redundant code might need to change:
    @service_fee_client.setter
    def service_fee_client(self, value: str):
    """Set the service_fee_client."""
    self._service_fee_client = value

    @service_fee_distribution_code_id.setter
    def service_fee_distribution_code_id(self, value: int):
    """Set the service_fee_distribution_code_id."""
    self._service_fee_distribution_code_id = value
    self._dao.service_fee_distribution_code_id = value

Activity

  1. added
    Pay
    on Apr 3, 2024
  2. self-assigned this
    on Apr 3, 2024
  3. Jxio commented on Apr 3, 2024

    @Jxio
    CollaboratorAuthor
  4. changed the title [-]versioning table[/-] [+]PAY-API - Versioning table[/+] on Apr 3, 2024
  5. Jxio commented on Apr 5, 2024

    @Jxio
    CollaboratorAuthor

    checked api post/patch request response version relate to eft_short_names, account_fees, cfs_accounts, refund_partial, payment_accounts, distribution_codes. all of versions increase by one for each request, except refund_partial, it got 500 error:
    Pasted Graphic 2.png
    image.png

  6. seeker25 commented on Apr 6, 2024

    @seeker25
    Contributor

    Awesome great work Jia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Pay

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions