Package com.stripe.model
Class Charge.Outcome
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Charge.Outcome
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Charge
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Possible values areapproved_by_network
,declined_by_network
,not_sent_to_network
, andreversed_after_approval
.An enumerated value providing a more detailed explanation of the outcome'stype
.Stripe Radar's evaluation of the riskiness of the payment.Stripe Radar's evaluation of the riskiness of the payment.getRule()
Get ID of expandablerule
object.Get expandedrule
.A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.getType()
Possible values areauthorized
,manual_review
,issuer_declined
,blocked
, andinvalid
.int
hashCode()
void
setNetworkStatus
(String networkStatus) Possible values areapproved_by_network
,declined_by_network
,not_sent_to_network
, andreversed_after_approval
.void
An enumerated value providing a more detailed explanation of the outcome'stype
.void
setRiskLevel
(String riskLevel) Stripe Radar's evaluation of the riskiness of the payment.void
setRiskScore
(Long riskScore) Stripe Radar's evaluation of the riskiness of the payment.void
void
setRuleObject
(Charge.Outcome.Rule expandableObject) void
setSellerMessage
(String sellerMessage) A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.void
Possible values areauthorized
,manual_review
,issuer_declined
,blocked
, andinvalid
.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Outcome
public Outcome()
-
-
Method Details
-
getRule
Get ID of expandablerule
object. -
setRule
-
getRuleObject
Get expandedrule
. -
setRuleObject
-
getNetworkStatus
Possible values areapproved_by_network
,declined_by_network
,not_sent_to_network
, andreversed_after_approval
. The valuereversed_after_approval
indicates the payment was blocked by Stripe after bank authorization, and may temporarily appear as "pending" on a cardholder's statement. -
getReason
An enumerated value providing a more detailed explanation of the outcome'stype
. Charges blocked by Radar's default block rule have the valuehighest_risk_level
. Charges placed in review by Radar's default review rule have the valueelevated_risk_level
. Charges authorized, blocked, or placed in review by custom rules have the valuerule
. See understanding declines for more details. -
getRiskLevel
Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments arenormal
,elevated
,highest
. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the valuenot_assessed
. In the event of an error in the evaluation, this field will have the valueunknown
. This field is only available with Radar. -
getRiskScore
Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are between 0 and 100. For non-card payments, card-based payments predating the public assignment of risk scores, or in the event of an error during evaluation, this field will not be present. This field is only available with Radar for Fraud Teams. -
getSellerMessage
A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer. -
getType
Possible values areauthorized
,manual_review
,issuer_declined
,blocked
, andinvalid
. See understanding declines and Radar reviews for details. -
setNetworkStatus
Possible values areapproved_by_network
,declined_by_network
,not_sent_to_network
, andreversed_after_approval
. The valuereversed_after_approval
indicates the payment was blocked by Stripe after bank authorization, and may temporarily appear as "pending" on a cardholder's statement. -
setReason
An enumerated value providing a more detailed explanation of the outcome'stype
. Charges blocked by Radar's default block rule have the valuehighest_risk_level
. Charges placed in review by Radar's default review rule have the valueelevated_risk_level
. Charges authorized, blocked, or placed in review by custom rules have the valuerule
. See understanding declines for more details. -
setRiskLevel
Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments arenormal
,elevated
,highest
. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the valuenot_assessed
. In the event of an error in the evaluation, this field will have the valueunknown
. This field is only available with Radar. -
setRiskScore
Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are between 0 and 100. For non-card payments, card-based payments predating the public assignment of risk scores, or in the event of an error during evaluation, this field will not be present. This field is only available with Radar for Fraud Teams. -
setSellerMessage
A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer. -
setType
Possible values areauthorized
,manual_review
,issuer_declined
,blocked
, andinvalid
. See understanding declines and Radar reviews for details. -
equals
-
canEqual
-
hashCode
public int hashCode()
-