PremiumGiftCodeOption class
Premium Gift Code Option.
ID: 257e962b
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- PremiumGiftCodeOptionBase
- PremiumGiftCodeOption
Constructors
- PremiumGiftCodeOption({required int users, required int months, String? storeProduct, int? storeQuantity, required String currency, required int amount})
-
Premium Gift Code Option constructor.
const
- PremiumGiftCodeOption.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- amount → int
-
Amount.
final
- currency → String
-
Currency.
final
- flags → int
-
Flags.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- months → int
-
Months.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storeProduct → String?
-
Store Product.
final
- storeQuantity → int?
-
Store Quantity.
final
- users → int
-
Users.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
List< int> buffer) → void -
Serialize.
override
-
toJson(
) → Map< String, dynamic> -
Converts an object to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited