public static class Charge.Outcome extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
Outcome() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getNetworkStatus()
Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and
`reversed_after_approval`.
|
java.lang.String |
getReason()
An enumerated value providing a more detailed explanation of the outcome's `type`.
|
java.lang.String |
getRiskLevel()
Stripe's evaluation of the riskiness of the payment.
|
java.lang.Long |
getRiskScore()
Stripe's evaluation of the riskiness of the payment.
|
java.lang.String |
getRule()
Get id of expandable `rule` object.
|
Rule |
getRuleObject()
Get expanded `rule`.
|
java.lang.String |
getSellerMessage()
A human-readable description of the outcome type and reason, designed for you (the recipient
of the payment), not your customer.
|
java.lang.String |
getType()
Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and
`invalid`.
|
int |
hashCode() |
void |
setNetworkStatus(java.lang.String networkStatus)
Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and
`reversed_after_approval`.
|
void |
setReason(java.lang.String reason)
An enumerated value providing a more detailed explanation of the outcome's `type`.
|
void |
setRiskLevel(java.lang.String riskLevel)
Stripe's evaluation of the riskiness of the payment.
|
void |
setRiskScore(java.lang.Long riskScore)
Stripe's evaluation of the riskiness of the payment.
|
void |
setRule(java.lang.String id) |
void |
setRuleObject(Rule expandableObject) |
void |
setSellerMessage(java.lang.String sellerMessage)
A human-readable description of the outcome type and reason, designed for you (the recipient
of the payment), not your customer.
|
void |
setType(java.lang.String type)
Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and
`invalid`.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.String getRule()
public void setRule(java.lang.String id)
public Rule getRuleObject()
public void setRuleObject(Rule expandableObject)
public java.lang.String getNetworkStatus()
public java.lang.String getReason()
public java.lang.String getRiskLevel()
public java.lang.Long getRiskScore()
public java.lang.String getSellerMessage()
public java.lang.String getType()
public void setNetworkStatus(java.lang.String networkStatus)
public void setReason(java.lang.String reason)
public void setRiskLevel(java.lang.String riskLevel)
public void setRiskScore(java.lang.Long riskScore)
public void setSellerMessage(java.lang.String sellerMessage)
public void setType(java.lang.String type)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object