public static class Authorization.RequestHistory extends StripeObject
Modifier and Type | Class and Description |
---|---|
static class |
Authorization.RequestHistory.ViolatedAuthorizationControl |
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()
The reason for the approval or decline.
|
java.util.List<Authorization.RequestHistory.ViolatedAuthorizationControl> |
getViolatedAuthorizationControls()
When an authorization is declined due to `authorization_controls`, this array contains
details about the authorization controls that were violated.
|
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)
The reason for the approval or decline.
|
void |
setViolatedAuthorizationControls(java.util.List<Authorization.RequestHistory.ViolatedAuthorizationControl> violatedAuthorizationControls)
When an authorization is declined due to `authorization_controls`, this array contains
details about the authorization controls that were violated.
|
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()
One of `account_compliance_disabled`, `account_inactive`, `authentication_failed`, `authorization_controls`, `card_active`, `card_inactive`, `cardholder_inactive`, `cardholder_verification_required`, `insufficient_funds`, `not_allowed`, `suspected_fraud`, `webhook_approved`, `webhook_declined`, or `webhook_timeout`.
public java.util.List<Authorization.RequestHistory.ViolatedAuthorizationControl> getViolatedAuthorizationControls()
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)
One of `account_compliance_disabled`, `account_inactive`, `authentication_failed`, `authorization_controls`, `card_active`, `card_inactive`, `cardholder_inactive`, `cardholder_verification_required`, `insufficient_funds`, `not_allowed`, `suspected_fraud`, `webhook_approved`, `webhook_declined`, or `webhook_timeout`.
public void setViolatedAuthorizationControls(java.util.List<Authorization.RequestHistory.ViolatedAuthorizationControl> violatedAuthorizationControls)
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