RazorpayCustomer class abstract

Annotations
  • @freezed

Constructors

RazorpayCustomer.new({required String id, required String entity, required int created_at, String? name, String? email, dynamic contact, String? gstin, IMap? notes, List<RazorpayInvoiceAddress>? shipping_address, @JsonKey(toJson: _boolToInt, fromJson: _intToBool) bool? fail_existing})
const
factory
RazorpayCustomer.fromJson(Map<String, dynamic> json)
factory

Properties

contact → dynamic
no setterinherited
copyWith → $RazorpayCustomerCopyWith<RazorpayCustomer>
Create a copy of RazorpayCustomer with the given fields replaced by the non-null parameter values.
no setterinherited
created_at int
no setterinherited
email String?
no setterinherited
entity String
no setterinherited
fail_existing bool?
no setterinherited
gstin String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
name String?
no setterinherited
notes IMap?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shipping_address List<RazorpayInvoiceAddress>?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this RazorpayCustomer to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited