diff --git a/scaleway-async/scaleway_async/billing/v2beta1/api.py b/scaleway-async/scaleway_async/billing/v2beta1/api.py index 5acd8b293..9fba85791 100644 --- a/scaleway-async/scaleway_async/billing/v2beta1/api.py +++ b/scaleway-async/scaleway_async/billing/v2beta1/api.py @@ -455,6 +455,13 @@ async def list_discounts( organization_id: Optional[str] = None, ) -> ListDiscountsResponse: """ + List discounts. + List all discounts for your organization and usable categories, products, offers, references, regions and zones where the discount can be applied. + :param order_by: Order discounts in the response by their description. + :param page: Positive integer to choose the page to return. + :param page_size: Positive integer lower or equal to 100 to select the number of items to return. + :param organization_id: ID of the organization. + :return: :class:`ListDiscountsResponse ` Usage: :: @@ -486,6 +493,12 @@ async def list_discounts_all( organization_id: Optional[str] = None, ) -> List[Discount]: """ + List discounts. + List all discounts for your organization and usable categories, products, offers, references, regions and zones where the discount can be applied. + :param order_by: Order discounts in the response by their description. + :param page: Positive integer to choose the page to return. + :param page_size: Positive integer lower or equal to 100 to select the number of items to return. + :param organization_id: ID of the organization. :return: :class:`List[ListDiscountsResponse] ` Usage: diff --git a/scaleway/scaleway/billing/v2beta1/api.py b/scaleway/scaleway/billing/v2beta1/api.py index 392d149fb..e83008530 100644 --- a/scaleway/scaleway/billing/v2beta1/api.py +++ b/scaleway/scaleway/billing/v2beta1/api.py @@ -455,6 +455,13 @@ def list_discounts( organization_id: Optional[str] = None, ) -> ListDiscountsResponse: """ + List discounts. + List all discounts for your organization and usable categories, products, offers, references, regions and zones where the discount can be applied. + :param order_by: Order discounts in the response by their description. + :param page: Positive integer to choose the page to return. + :param page_size: Positive integer lower or equal to 100 to select the number of items to return. + :param organization_id: ID of the organization. + :return: :class:`ListDiscountsResponse ` Usage: :: @@ -486,6 +493,12 @@ def list_discounts_all( organization_id: Optional[str] = None, ) -> List[Discount]: """ + List discounts. + List all discounts for your organization and usable categories, products, offers, references, regions and zones where the discount can be applied. + :param order_by: Order discounts in the response by their description. + :param page: Positive integer to choose the page to return. + :param page_size: Positive integer lower or equal to 100 to select the number of items to return. + :param organization_id: ID of the organization. :return: :class:`List[ListDiscountsResponse] ` Usage: