Package com.stripe.model.issuing
Class Authorization.RequestHistory
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.issuing.Authorization.RequestHistory
-
- Enclosing class:
- Authorization
public static class Authorization.RequestHistory extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description RequestHistory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 `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 `authorization_controls`, `card_active`, `card_inactive`, `insufficient_funds`, `account_compliance_disabled`, `account_inactive`, `suspected_fraud`, `webhook_approved`, `webhook_declined`, or `webhook_timeout`.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getApproved
public java.lang.Boolean getApproved()
Whether this request was approved.
-
getAuthorizedAmount
public java.lang.Long getAuthorizedAmount()
The amount that was authorized at the time of this request.
-
getAuthorizedCurrency
public java.lang.String getAuthorizedCurrency()
The currency that was presented to the cardholder for the authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
-
getCreated
public java.lang.Long getCreated()
Time at which the object was created. Measured in seconds since the Unix epoch.
-
getHeldAmount
public java.lang.Long getHeldAmount()
The amount Stripe held from your account to fund the authorization, if the request was approved.
-
getHeldCurrency
public java.lang.String getHeldCurrency()
The currency of the [held amount](https://stripe.com/docs/api#issuing_authorization_object-held_amount).
-
getReason
public java.lang.String getReason()
One of `authorization_controls`, `card_active`, `card_inactive`, `insufficient_funds`, `account_compliance_disabled`, `account_inactive`, `suspected_fraud`, `webhook_approved`, `webhook_declined`, or `webhook_timeout`.
-
setApproved
public void setApproved(java.lang.Boolean approved)
Whether this request was approved.
-
setAuthorizedAmount
public void setAuthorizedAmount(java.lang.Long authorizedAmount)
The amount that was authorized at the time of this request.
-
setAuthorizedCurrency
public void setAuthorizedCurrency(java.lang.String authorizedCurrency)
The currency that was presented to the cardholder for the authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
-
setCreated
public void setCreated(java.lang.Long created)
Time at which the object was created. Measured in seconds since the Unix epoch.
-
setHeldAmount
public void setHeldAmount(java.lang.Long heldAmount)
The amount Stripe held from your account to fund the authorization, if the request was approved.
-
setHeldCurrency
public void setHeldCurrency(java.lang.String heldCurrency)
The currency of the [held amount](https://stripe.com/docs/api#issuing_authorization_object-held_amount).
-
setReason
public void setReason(java.lang.String reason)
One of `authorization_controls`, `card_active`, `card_inactive`, `insufficient_funds`, `account_compliance_disabled`, `account_inactive`, `suspected_fraud`, `webhook_approved`, `webhook_declined`, or `webhook_timeout`.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-