ChargeModel class
- Inheritance
-
- Object
- ChargeEntity
- ChargeModel
Constructors
-
ChargeModel.new({CustomerModel? customer, BillingModel? billing, StatusModel? status, String? ref_id, List<
PaymentsModel> ? payments, String? charge_source, DateTime? createdAt, String? id, Map<String, dynamic> ? metadata, String? call_back_url, String? app_id, String? userId, String? chargeId, num? v}) - ChargeModel.fromJson(String source)
-
factory
-
ChargeModel.fromMap(Map<
String, dynamic> map) -
factory
Properties
- app_id → String?
-
finalinherited
- billing → BillingModel?
-
final
- call_back_url → String?
-
finalinherited
- charge_source → String?
-
finalinherited
- chargeId → String?
-
finalinherited
- createdAt → DateTime?
-
finalinherited
- customer → CustomerModel?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String?
-
finalinherited
-
metadata
→ Map<
String, dynamic> ? -
finalinherited
-
payments
→ List<
PaymentsModel> ? -
final
- ref_id → String?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → StatusModel?
-
final
- userId → String?
-
finalinherited
- v → num?
-
finalinherited
Methods
-
copyWith(
{CustomerModel? customer, BillingModel? billing, StatusModel? status, String? ref_id, List< PaymentsModel> ? payments, String? charge_source, DateTime? createdAt, String? id, Map<String, dynamic> ? metadata, String? call_back_url, String? app_id, String? userId, String? chargeId, num? v}) → ChargeModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override