Class Charge.Outcome

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Charge.Outcome
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Charge

public static class Charge.Outcome extends StripeObject
  • Constructor Details

    • Outcome

      public Outcome()
  • Method Details

    • getRule

      public String getRule()
      Get ID of expandable rule object.
    • setRule

      public void setRule(String id)
    • getRuleObject

      public Charge.Outcome.Rule getRuleObject()
      Get expanded rule.
    • setRuleObject

      public void setRuleObject(Charge.Outcome.Rule expandableObject)
    • getNetworkStatus

      public String getNetworkStatus()
      Possible values are approved_by_network, declined_by_network, not_sent_to_network, and reversed_after_approval. The value reversed_after_approval indicates the payment was blocked by Stripe after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
    • getReason

      public String getReason()
      An enumerated value providing a more detailed explanation of the outcome's type. Charges blocked by Radar's default block rule have the value highest_risk_level. Charges placed in review by Radar's default review rule have the value elevated_risk_level. Charges authorized, blocked, or placed in review by custom rules have the value rule. See understanding declines for more details.
    • getRiskLevel

      public String getRiskLevel()
      Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are normal, elevated, highest. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value not_assessed. In the event of an error in the evaluation, this field will have the value unknown. This field is only available with Radar.
    • getRiskScore

      public Long 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

      public String getSellerMessage()
      A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.
    • getType

      public String getType()
      Possible values are authorized, manual_review, issuer_declined, blocked, and invalid. See understanding declines and Radar reviews for details.
    • setNetworkStatus

      public void setNetworkStatus(String networkStatus)
      Possible values are approved_by_network, declined_by_network, not_sent_to_network, and reversed_after_approval. The value reversed_after_approval indicates the payment was blocked by Stripe after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
    • setReason

      public void setReason(String reason)
      An enumerated value providing a more detailed explanation of the outcome's type. Charges blocked by Radar's default block rule have the value highest_risk_level. Charges placed in review by Radar's default review rule have the value elevated_risk_level. Charges authorized, blocked, or placed in review by custom rules have the value rule. See understanding declines for more details.
    • setRiskLevel

      public void setRiskLevel(String riskLevel)
      Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are normal, elevated, highest. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value not_assessed. In the event of an error in the evaluation, this field will have the value unknown. This field is only available with Radar.
    • setRiskScore

      public void setRiskScore(Long riskScore)
      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

      public 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.
    • setType

      public void setType(String type)
      Possible values are authorized, manual_review, issuer_declined, blocked, and invalid. See understanding declines and Radar reviews for details.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object