toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'currency': currency,
'amount': amount,
'discount_percentage': discountPercentage,
'month_count': monthCount,
'store_product_id': storeProductId,
'payment_link': paymentLink?.toJson(),
};