CreateRefundRequest class

Annotations
  • @JsonSerializable()

Constructors

CreateRefundRequest({String? charge, int? amount, String? paymentIntent, String? reason})
CreateRefundRequest.fromJson(Map<String, dynamic> json)
factory

Properties

amount int?
A positive integer in cents representing how much of this charge to refund. Can refund only up to the remaining, unrefunded amount of the charge.
final
charge String?
The identifier of the charge to refund.
final
hashCode int
The hash code for this object.
no setterinherited
paymentIntent String?
ID of the PaymentIntent to refund.
final
reason String?
String indicating the reason for the refund. If set, possible values are duplicate, fraudulent, and requested_by_customer. If you believe the charge to be fraudulent, specifying fraudulent as the reason will add the associated card and email to your block lists, and will also help us improve our fraud detection algorithms.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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