PaymentRefundResponseAttributes class

Constructors

PaymentRefundResponseAttributes({required num amount, required String balanceTransactionId, required String currency, required bool livemode, Map<String, dynamic>? metadata, required String notes, required String paymentId, required String payoutId, required String reason, required String status, required DateTime availableAt, required DateTime createdAt, required DateTime updatedAt})
const
PaymentRefundResponseAttributes.fromJson(String source)
factory
PaymentRefundResponseAttributes.fromMap(Map<String, dynamic> map)
factory

Properties

amount num
final
availableAt DateTime
final
balanceTransactionId String
final
createdAt DateTime
final
currency String
defaults to 'PHP'
final
hashCode int
The hash code for this object.
no setterinherited
livemode bool
final
metadata Map<String, dynamic>?
final
notes String
final
paymentId String
final
payoutId String
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
reason String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
final
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setter
updatedAt DateTime
final

Methods

copyWith({double? amount, String? balanceTransactionId, String? currency, bool? livemode, Map<String, dynamic>? metadata, String? notes, String? paymentId, String? payoutId, String? reason, String? status, DateTime? availableAt, DateTime? createdAt, DateTime? updatedAt}) PaymentRefundResponseAttributes
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.
inherited

Operators

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