Skip to content

Add get_purchase() function #47

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

Merged
merged 4 commits into from
Mar 14, 2023
Merged

Add get_purchase() function #47

merged 4 commits into from
Mar 14, 2023

Conversation

n7studios
Copy link
Contributor

Summary

Adds a get_purchase() function for the purchases API endpoint.

Testing

  • testGetPurchase: Test that fetching a specific purchase works
  • testGetPurchaseWithInvalidID: Test that a ClientException is thrown when an invalid purchase ID is specified
  • testCreatePurchaseWithMissingData: Test that a ClientException is thrown when creating a purchase with invalid purchase data

Checklist

@n7studios n7studios self-assigned this Mar 13, 2023
@n7studios n7studios added this to the 1.0.0 milestone Mar 13, 2023
@n7studios n7studios requested review from a team, noelherrick and corydhmiller and removed request for a team March 13, 2023 16:27
@n7studios n7studios marked this pull request as ready for review March 13, 2023 16:27
@n7studios n7studios merged commit f5c21e9 into 1.0-beta Mar 14, 2023
@n7studios n7studios deleted the purchase-functions branch March 23, 2023 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants