Add LabeledPrice to ShippingOption :param args: LabeledPrices :type args: :obj:`LabeledPrice` :return: None
(self, *args)
| 6674 | self.prices: List[LabeledPrice] = [] |
| 6675 | |
| 6676 | def add_price(self, *args) -> 'ShippingOption': |
| 6677 | """ |
| 6678 | Add LabeledPrice to ShippingOption |
| 6679 | |
| 6680 | :param args: LabeledPrices |
| 6681 | :type args: :obj:`LabeledPrice` |
| 6682 | |
| 6683 | :return: None |
| 6684 | """ |
| 6685 | for price in args: |
| 6686 | self.prices.append(price) |
| 6687 | return self |
| 6688 | |
| 6689 | def to_json(self): |
| 6690 | price_list = [] |