RazorpayLineItems class abstract
- Annotations
-
- @freezed
Constructors
- RazorpayLineItems.new({required String id, required String name, required dynamic amount, required String currency, required int unit_amount, required String type, required bool tax_inclusive, required int created_at, required int updated_at, required bool active, required int quantity, String? description, int? unit, int? hsn_code, int? sac_code, int? tax_rate, String? tax_id, String? tax_group_id, String? item_id, String? ref_id, String? ref_type, int? gross_amount, int? tax_amount, int? taxable_amount, int? net_amount, @Default([]) List taxes})
-
constfactory
-
RazorpayLineItems.fromJson(Map<
String, dynamic> json) -
factory
Properties
- active → bool
-
no setterinherited
- amount → dynamic
-
no setterinherited
-
copyWith
→ $RazorpayLineItemsCopyWith<
RazorpayLineItems> -
Create a copy of RazorpayLineItems
with the given fields replaced by the non-null parameter values.
no setterinherited
- created_at → int
-
no setterinherited
- currency → String
-
no setterinherited
- description → String?
-
no setterinherited
- gross_amount → int?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hsn_code → int?
-
no setterinherited
- id → String
-
no setterinherited
- item_id → String?
-
no setterinherited
- name → String
-
no setterinherited
- net_amount → int?
-
no setterinherited
- quantity → int
-
no setterinherited
- ref_id → String?
-
no setterinherited
- ref_type → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sac_code → int?
-
no setterinherited
- tax_amount → int?
-
no setterinherited
- tax_group_id → String?
-
no setterinherited
- tax_id → String?
-
no setterinherited
- tax_inclusive → bool
-
no setterinherited
- tax_rate → int?
-
no setterinherited
- taxable_amount → int?
-
no setterinherited
- taxes → List
-
no setterinherited
- type → String
-
no setterinherited
- unit → int?
-
no setterinherited
- unit_amount → int
-
no setterinherited
- updated_at → int
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this RazorpayLineItems to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited