public static class Authorization.RequestHistory extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
RequestHistory() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getApproved()
Whether this request was approved.
|
java.lang.Long |
getAuthorizedAmount()
The amount that was authorized at the time of this request.
|
java.lang.String |
getAuthorizedCurrency()
The currency that was presented to the cardholder for the authorization.
|
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.Long |
getHeldAmount()
The amount Stripe held from your account to fund the authorization, if the request was
approved.
|
java.lang.String |
getHeldCurrency()
The currency of the [held
amount](https://stripe.com/docs/api#issuing_authorization_object-held_amount).
|
java.lang.String |
getReason()
One of `authentication_failed`, `authorization_controls`, `card_active`, `card_inactive`,
`insufficient_funds`, `account_compliance_disabled`, `account_inactive`, `suspected_fraud`,
`webhook_approved`, `webhook_declined`, or `webhook_timeout`.
|
int |
hashCode() |
void |
setApproved(java.lang.Boolean approved)
Whether this request was approved.
|
void |
setAuthorizedAmount(java.lang.Long authorizedAmount)
The amount that was authorized at the time of this request.
|
void |
setAuthorizedCurrency(java.lang.String authorizedCurrency)
The currency that was presented to the cardholder for the authorization.
|
void |
setCreated(java.lang.Long created)
Time at which the object was created.
|
void |
setHeldAmount(java.lang.Long heldAmount)
The amount Stripe held from your account to fund the authorization, if the request was
approved.
|
void |
setHeldCurrency(java.lang.String heldCurrency)
The currency of the [held
amount](https://stripe.com/docs/api#issuing_authorization_object-held_amount).
|
void |
setReason(java.lang.String reason)
One of `authentication_failed`, `authorization_controls`, `card_active`, `card_inactive`,
`insufficient_funds`, `account_compliance_disabled`, `account_inactive`, `suspected_fraud`,
`webhook_approved`, `webhook_declined`, or `webhook_timeout`.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.Boolean getApproved()
public java.lang.Long getAuthorizedAmount()
public java.lang.String getAuthorizedCurrency()
public java.lang.Long getCreated()
public java.lang.Long getHeldAmount()
public java.lang.String getHeldCurrency()
public java.lang.String getReason()
public void setApproved(java.lang.Boolean approved)
public void setAuthorizedAmount(java.lang.Long authorizedAmount)
public void setAuthorizedCurrency(java.lang.String authorizedCurrency)
public void setCreated(java.lang.Long created)
public void setHeldAmount(java.lang.Long heldAmount)
public void setHeldCurrency(java.lang.String heldCurrency)
public void setReason(java.lang.String reason)
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