TariffBilling class

TariffBilling struct of billing api.

Annotations
  • @freezed

Constructors

TariffBilling({@JsonKey(name: 'tariff_id') required int tariffId, @JsonKey(name: 'tariff_name') String? tariffName, @JsonKey(name: 'free_workplace') int? freeWorkplace, @JsonKey(name: 'disk_space_quota') String? diskSpaceQuota, @Default(false) @JsonKey(name: 'billing_free') bool? billingFree, @Default(false) @JsonKey(name: 'billing_full_time') bool? billingFullTime, @JsonKey(name: 'period_days') int? periodDays, @JsonKey(name: 'cost_workplace') String? costWorkplace, @JsonKey(name: 'currency') String? currency, @Default(false) @JsonKey(name: 'recalc_change_tariff') bool? recalcChangeTariff, @JsonKey(name: 'max_voice_user') int? maxVoiceUser, @JsonKey(name: 'max_video_user') int? maxVideoUser, @Default(false) @JsonKey(name: 'default_tariff') bool? defaultTariff, @JsonKey(name: 'open_date') String? openDate, @JsonKey(name: 'close_date') String? closeDate})
const
factory
TariffBilling.fromJson(Map<String, dynamic> json)
factory

Properties

billingFree bool?
Flag of availability of free seats when exceeding FreeWorkplace.
no setterinherited
billingFullTime bool?
Flag of accounting without looking at the number of days before the billing period.
no setterinherited
closeDate String?
Date of closing tariff.
no setterinherited
copyWith → $TariffBillingCopyWith<TariffBilling>
no setterinherited
costWorkplace String?
Cost of one workplace.
no setterinherited
currency String?
Currency of tariff in ISO.
no setterinherited
defaultTariff bool?
Default tariff flag that is set when registering an account.
no setterinherited
diskSpaceQuota String?
Disk space limit per user.
no setterinherited
freeWorkplace int?
Count of free workspaces.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
maxVideoUser int?
Maximum count of users in video conference.
no setterinherited
maxVoiceUser int?
Maximum count of users in voice conference.
no setterinherited
openDate String?
Date of opening tariff.
no setterinherited
periodDays int?
Number of paid days.
no setterinherited
recalcChangeTariff bool?
Flag for accounting for unspent days when switching to a new tariff.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tariffId int
Tariff id.
no setterinherited
tariffName String?
Name of tariff on russian.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited