microsoft / commercial-marketplace-client-java

The Microsoft commercial marketplace SaaS offer billing SDK enables Partners and Startups to build the requirements for the implementation of transactable SaaS offers for both the AppSource and Azure Marketplaces.
MIT License
5 stars 23 forks source link

Added missing Renew webhook status enum #33

Closed govinda1 closed 1 year ago

govinda1 commented 2 years ago

Describe the bug Azure Saas marketplace has webhook event Renew to renew auto renewed subscriptions. This Renew enum is missing in
OperationActionEnum model class.

Expected behavior When Marketplace webhook sends a renew notification then publisher API should be able to handle the action with correct enum.

Additional context OperationActionEnum model class in java sdk has all status listed like Unsubscribe,  ChangePlan,  ChangeQuantitySuspend and Reinstate but is missing Renew enum. Reference

santhoshb-msft commented 1 year ago

Thank you @govinda1 . This change should come from open api spec. Fixed as part of #36 Thank you!