RazorpayItem class abstract

Annotations
  • @freezed

Constructors

RazorpayItem.new({required String id, required String name, required int amount, required String currency, required int unit_amount, required String type, @DateTimeConverter() required DateTime created_at, required bool tax_inclusive, required bool active, String? description, int? unit, int? hsn_code, int? sac_code, int? tax_rate, String? tax_id, String? tax_group_id})
const
factory
RazorpayItem.fromJson(Map<String, dynamic> json)
factory

Properties

active bool
no setterinherited
amount int
no setterinherited
copyWith → $RazorpayItemCopyWith<RazorpayItem>
Create a copy of RazorpayItem with the given fields replaced by the non-null parameter values.
no setterinherited
created_at DateTime
no setterinherited
currency String
no setterinherited
description 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_inclusive bool
no setterinherited
tax_rate int?
no setterinherited
type String
no setterinherited
unit int?
no setterinherited
unit_amount 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