Skip to content

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