Skip to content

Add PromoOffersRevocationStatus class and corresponding tests

Choose a tag to compare

@pehas pehas released this 09 Oct 13:44
· 7 commits to master since this release
f242f6c
  • Introduced PromoOffersRevocationStatus class to retrieve the revocation status of promo codes for specific offers.
  • Implemented the get method with detailed type hints and Google-style docstrings.
  • Added comprehensive test cases for various scenarios including successful retrieval, error handling for missing or invalid parameters, and handling of empty responses in test_promo_offers.py.
  • Updated imports in test files to include the new class.