RazorpayItem class
- Annotations
-
- @freezed
Constructors
- RazorpayItem.new({required String id, required String name, required dynamic amount, required String currency, required int unit_amount, required String type, required int updated_at, int? unit, int? hsn_code, int? sac_code, int? tax_rate, String? tax_id, String? tax_group_id})
-
constfactory
-
RazorpayItem.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amount → dynamic
-
no setterinherited
-
copyWith
→ $RazorpayItemCopyWith<
RazorpayItem> -
Create a copy of RazorpayItem
with the given fields replaced by the non-null parameter values.
no setterinherited
- currency → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hsn_code → int?
-
no setterinherited
- id → String
-
no setterinherited
- name → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sac_code → int?
-
no setterinherited
- tax_group_id → String?
-
no setterinherited
- tax_id → String?
-
no setterinherited
- tax_rate → int?
-
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 RazorpayItem to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited