ChargeUpdateOptionsFraudDetails class final

fraud_details

A set of key-value pairs you can attach to a charge giving information about its riskiness. If you believe a charge is fraudulent, include a `user_report` key with a value of `fraudulent`. If you believe a charge is safe, include a `user_report` key with a value of `safe`. Stripe will use the information you send to improve our fraud detection algorithms.

Constructors

ChargeUpdateOptionsFraudDetails({required ChargeUserReport userReport})
fraud_details
const
ChargeUpdateOptionsFraudDetails.fromJson(Object? json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userReport ChargeUserReport
final

Methods

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

Operators

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

Static Methods

encode<V>(ChargeUpdateOptionsFraudDetails instance, Encoder<V> encoder) → V