Adjustment class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true, checked: true)

Constructors

Adjustment({required String adjustmentSource, required double amount, Map<String, dynamic>? data, required String description, required AdjustmentType type})
Adjustment.fromJson(Map<String, dynamic> json)
factory

Properties

adjustmentSource → String
final
amount → double
final
data → Map<String, dynamic>?
final
dataRequired → Map<String, dynamic>

Available on Adjustment, provided by the AdjustmentPropertyHelpers extension

no setter
description → String
final
hasAdjustmentSource → bool

Available on Adjustment, provided by the AdjustmentPropertyHelpers extension

no setter
hasData → bool

Available on Adjustment, provided by the AdjustmentPropertyHelpers extension

no setter
hasDescription → bool

Available on Adjustment, provided by the AdjustmentPropertyHelpers extension

no setter
hashCode → int
The hash code for this object.
no setteroverride
isTypeDistributedOrderPromotion → bool

Available on Adjustment, provided by the AdjustmentPropertyHelpers extension

no setter
isTypeOther → bool

Available on Adjustment, provided by the AdjustmentPropertyHelpers extension

no setter
isTypePromotion → bool

Available on Adjustment, provided by the AdjustmentPropertyHelpers extension

no setter
noAdjustmentSource → bool

Available on Adjustment, provided by the AdjustmentPropertyHelpers extension

no setter
noData → bool

Available on Adjustment, provided by the AdjustmentPropertyHelpers extension

no setter
noDescription → bool

Available on Adjustment, provided by the AdjustmentPropertyHelpers extension

no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → AdjustmentType
final

Methods

compareToAdjustment(Adjustment other) → Map<String, dynamic>

Available on Adjustment, provided by the AdjustmentCompareE extension

copyWith({String? adjustmentSource, double? amount, Map<String, dynamic>? data, String? description, AdjustmentType? type}) → Adjustment
copyWithAdjustment({String? adjustmentSource, double? amount, Map<String, dynamic>? data, String? description, AdjustmentType? type}) → Adjustment
copyWithField<T>(Field<Adjustment, T> field, T value) → Adjustment
Returns a copy of this entity with field set to value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchWithAdjustment([AdjustmentPatch? patchInput]) → Adjustment
toJson() → Map<String, dynamic>

Available on Adjustment, provided by the AdjustmentSerialization extension

toJsonLean() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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