Package com.stripe.model.issuing
Class Authorization.RequestHistory
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.issuing.Authorization.RequestHistory
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Authorization
The amount of cash requested by the cardholder.
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Thepending_request.amount
at the time of the request, presented in your card's currency and in the smallest currency unit.Detailed breakdown of amount components.Whether this request was approved.A code created by Stripe which is shared with the merchant to validate the authorization.Time at which the object was created.Three-letter ISO currency code, in lowercase.Thepending_request.merchant_amount
at the time of the request, presented in themerchant_currency
and in the smallest currency unit.The currency that was collected by the merchant and presented to the cardholder for the authorization.The card network's estimate of the likelihood that an authorization is fraudulent.When an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome.If therequest_history.reason
iswebhook_error
because the direct webhook response is invalid (for example, parsing errors or missing parameters), we surface a more detailed error message via this field.Time when the card network received an authorization request from the acquirer in UTC.int
hashCode()
void
Thepending_request.amount
at the time of the request, presented in your card's currency and in the smallest currency unit.void
setAmountDetails
(Authorization.RequestHistory.AmountDetails amountDetails) Detailed breakdown of amount components.void
setApproved
(Boolean approved) Whether this request was approved.void
setAuthorizationCode
(String authorizationCode) A code created by Stripe which is shared with the merchant to validate the authorization.void
setCreated
(Long created) Time at which the object was created.void
setCurrency
(String currency) Three-letter ISO currency code, in lowercase.void
setMerchantAmount
(Long merchantAmount) Thepending_request.merchant_amount
at the time of the request, presented in themerchant_currency
and in the smallest currency unit.void
setMerchantCurrency
(String merchantCurrency) The currency that was collected by the merchant and presented to the cardholder for the authorization.void
setNetworkRiskScore
(Long networkRiskScore) The card network's estimate of the likelihood that an authorization is fraudulent.void
When an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome.void
setReasonMessage
(String reasonMessage) If therequest_history.reason
iswebhook_error
because the direct webhook response is invalid (for example, parsing errors or missing parameters), we surface a more detailed error message via this field.void
setRequestedAt
(Long requestedAt) Time when the card network received an authorization request from the acquirer in UTC.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
RequestHistory
public RequestHistory()
-
-
Method Details
-
getAmount
Thepending_request.amount
at the time of the request, presented in your card's currency and in the smallest currency unit. Stripe held this amount from your account to fund the authorization if the request was approved. -
getAmountDetails
Detailed breakdown of amount components. These amounts are denominated incurrency
and in the smallest currency unit. -
getApproved
Whether this request was approved. -
getAuthorizationCode
A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter "S", followed by a six-digit number. For example, "S498162". Please note that the code is not guaranteed to be unique across authorizations. -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getMerchantAmount
Thepending_request.merchant_amount
at the time of the request, presented in themerchant_currency
and in the smallest currency unit. -
getMerchantCurrency
The currency that was collected by the merchant and presented to the cardholder for the authorization. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getNetworkRiskScore
The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99. -
getReason
When an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome.One of
account_disabled
,card_active
,card_canceled
,card_expired
,card_inactive
,cardholder_blocked
,cardholder_inactive
,cardholder_verification_required
,insecure_authorization_method
,insufficient_funds
,not_allowed
,pin_blocked
,spending_controls
,suspected_fraud
,verification_failed
,webhook_approved
,webhook_declined
,webhook_error
, orwebhook_timeout
. -
getReasonMessage
If therequest_history.reason
iswebhook_error
because the direct webhook response is invalid (for example, parsing errors or missing parameters), we surface a more detailed error message via this field. -
getRequestedAt
Time when the card network received an authorization request from the acquirer in UTC. Referred to by networks as transmission time. -
setAmount
Thepending_request.amount
at the time of the request, presented in your card's currency and in the smallest currency unit. Stripe held this amount from your account to fund the authorization if the request was approved. -
setAmountDetails
Detailed breakdown of amount components. These amounts are denominated incurrency
and in the smallest currency unit. -
setApproved
Whether this request was approved. -
setAuthorizationCode
A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter "S", followed by a six-digit number. For example, "S498162". Please note that the code is not guaranteed to be unique across authorizations. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setMerchantAmount
Thepending_request.merchant_amount
at the time of the request, presented in themerchant_currency
and in the smallest currency unit. -
setMerchantCurrency
The currency that was collected by the merchant and presented to the cardholder for the authorization. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setNetworkRiskScore
The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99. -
setReason
When an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome.One of
account_disabled
,card_active
,card_canceled
,card_expired
,card_inactive
,cardholder_blocked
,cardholder_inactive
,cardholder_verification_required
,insecure_authorization_method
,insufficient_funds
,not_allowed
,pin_blocked
,spending_controls
,suspected_fraud
,verification_failed
,webhook_approved
,webhook_declined
,webhook_error
, orwebhook_timeout
. -
setReasonMessage
If therequest_history.reason
iswebhook_error
because the direct webhook response is invalid (for example, parsing errors or missing parameters), we surface a more detailed error message via this field. -
setRequestedAt
Time when the card network received an authorization request from the acquirer in UTC. Referred to by networks as transmission time. -
equals
-
canEqual
-
hashCode
public int hashCode()
-