def iter_list_business_support_account_charges(
self,
billing_month: "capo_billing.types.business_support_billing_month.BusinessSupportBillingMonth",
*,
config_overrides: Optional[BillingClientConfig] = None,
account_id: Optional["capo_billing.types.account_id.AccountId"] = None,
max_results: Optional[int] = None,
next_token: Optional["capo_billing.types.page_token.PageToken"] = None,
) -> "Iterator[capo_billing.types.business_support_account_charge.BusinessSupportAccountCharge]":
_token = next_token
while True:
_response = self.list_business_support_account_charges(
billing_month,
config_overrides=config_overrides,
account_id=account_id,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("account_charges",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break