| 5 | |
| 6 | |
| 7 | class ChargebeeObjMetadata(BaseSubscriptionMetadata): |
| 8 | payment_source = CHARGEBEE # type: ignore[assignment] |
| 9 | |
| 10 | def __mul__(self, other): # type: ignore[no-untyped-def] |
| 11 | if not isinstance(other, int): |
| 12 | raise TypeError("Unable to multiply by anything other than an integer.") |
| 13 | |
| 14 | return ChargebeeObjMetadata( |
| 15 | **{k: v * other if v else v for k, v in self.__dict__.items()} |
| 16 | ) |
| 17 | |
| 18 | |
| 19 | class ChargebeeItem(Enum): |
no outgoing calls
searching dependent graphs…