WithholdingRate class

One case of a section in a tax year, as in the rate card. Result of getWithholdingRates.

Constructors

WithholdingRate({required int taxYear, required String section, required String subType, required String description, required double? atlRate, required List<WithholdingSlab>? atlSlabs, required WithholdingNonAtlRule nonAtlRule, required double? nonAtlRate, required List<WithholdingSlab>? nonAtlSlabs, required List<WithholdingSlab>? lateFilerSlabs, required WithholdingThreshold? threshold, required String cardRef, required String lawRef, required String? statuteOverride, required String? note, WithholdingCircular? circular, required DataSource source})
Creates a withholding rate value.
const

Properties

atlRate → double?
Percent for a person on the list; null where it does not apply or depends on the value (see atlSlabs).
final
atlSlabs → List<WithholdingSlab>?
Value bands for a person on the list, or null.
final
cardRef → String
The rate card reference, as printed on the card.
final
circular → WithholdingCircular?
FBR's circular explaining the rate, where one is recorded; otherwise null.
final
description → String
The case as the rate card describes it.
final
hashCode → int
The hash code for this object.
no setteroverride
lateFilerSlabs → List<WithholdingSlab>?
Late-filer value bands, where the year has them; otherwise null.
final
lawRef → String
The law reference, as printed on the card.
final
nonAtlRate → double?
Percent for a person not on the list, or null (see nonAtlSlabs).
final
nonAtlRule → WithholdingNonAtlRule
How the rate for a person not on the list is set.
final
nonAtlSlabs → List<WithholdingSlab>?
Value bands for a person not on the list, or null.
final
note → String?
A note on the case, or null.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
section → String
Section of the Income Tax Ordinance 2001, e.g. 153.
final
source → DataSource
The rate card and law (dataset withholding-rates).
final
statuteOverride → String?
Where the statute differs from the card and the statute is used, why; otherwise null.
final
subType → String
The case of the section, e.g. goods-company.
final
taxYear → int
The tax year, e.g. 2027.
final
threshold → WithholdingThreshold?
The amount at or below which nothing is collected, or null.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
JSON form, with the same keys as the npm package.
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override