ChargeOutcome class final
Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/docs/declines) for details.
Constructors
- ChargeOutcome({String? networkStatus, String? reason, String? riskLevel, int? riskScore, RuleOrId? rule, String? sellerMessage, required String type})
-
Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/docs/declines) for details.
const
- ChargeOutcome.fromJson(Object? json)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- networkStatus → String?
-
final
- reason → String?
-
final
- riskLevel → String?
-
final
- riskScore → int?
-
final
- rule → RuleOrId?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sellerMessage → String?
-
final
- type → String
-
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> (ChargeOutcome instance, Encoder< V> encoder) → V