Surcharge class
- Available extensions
- Annotations
-
- @JsonSerializable.new(explicitToJson: true, checked: true)
Constructors
Properties
- createdAt → DateTime
-
final
- description → String
-
final
- hasDescription → bool
-
Available on Surcharge, provided by the SurchargePropertyHelpers extension
no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- hasId → bool
-
Available on Surcharge, provided by the SurchargePropertyHelpers extension
no setter - hasSku → bool
-
Available on Surcharge, provided by the SurchargePropertyHelpers extension
no setter - hasTaxLines → bool
-
Available on Surcharge, provided by the SurchargePropertyHelpers extension
no setter - id → String
-
final
- noDescription → bool
-
Available on Surcharge, provided by the SurchargePropertyHelpers extension
no setter - noId → bool
-
Available on Surcharge, provided by the SurchargePropertyHelpers extension
no setter - noSku → bool
-
Available on Surcharge, provided by the SurchargePropertyHelpers extension
no setter - noTaxLines → bool
-
Available on Surcharge, provided by the SurchargePropertyHelpers extension
no setter - price → double
-
final
- priceWithTax → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sku → String?
-
final
- skuRequired → String
-
Available on Surcharge, provided by the SurchargePropertyHelpers extension
no setter -
taxLines
→ List<
TaxLine> -
final
- taxRate → double
-
final
- updatedAt → DateTime
-
final
Methods
-
compareToSurcharge(
Surcharge other) → Map< String, dynamic> -
Available on Surcharge, provided by the SurchargeCompareE extension
-
copyWith(
{DateTime? createdAt, String? description, String? id, double? price, double? priceWithTax, String? sku, List< TaxLine> ? taxLines, double? taxRate, DateTime? updatedAt}) → Surcharge -
copyWithField<
T> (Field< Surcharge, T> field, T value) → Surcharge -
Returns a copy of this entity with
fieldset tovalue. -
copyWithSurcharge(
{DateTime? createdAt, String? description, String? id, double? price, double? priceWithTax, String? sku, List< TaxLine> ? taxLines, double? taxRate, DateTime? updatedAt}) → Surcharge -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
patchWithSurcharge(
[SurchargePatch? patchInput]) → Surcharge -
toJson(
) → Map< String, dynamic> -
Available on Surcharge, provided by the SurchargeSerialization extension
-
toJsonLean(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override