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
Nested Classes -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
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.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.When an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome.If approve/decline decision is directly responsed to the webhook with json payload and if the response is invalid (e.g., parsing errors), we surface the detailed message via this field.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
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
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 approve/decline decision is directly responsed to the webhook with json payload and if the response is invalid (e.g., parsing errors), we surface the detailed message via this field.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. -
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. -
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_inactive
,cardholder_inactive
,cardholder_verification_required
,insufficient_funds
,not_allowed
,spending_controls
,suspected_fraud
,verification_failed
,webhook_approved
,webhook_declined
,webhook_error
, orwebhook_timeout
. -
getReasonMessage
If approve/decline decision is directly responsed to the webhook with json payload and if the response is invalid (e.g., parsing errors), we surface the detailed message via this field. -
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. -
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. -
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_inactive
,cardholder_inactive
,cardholder_verification_required
,insufficient_funds
,not_allowed
,spending_controls
,suspected_fraud
,verification_failed
,webhook_approved
,webhook_declined
,webhook_error
, orwebhook_timeout
. -
setReasonMessage
If approve/decline decision is directly responsed to the webhook with json payload and if the response is invalid (e.g., parsing errors), we surface the detailed message via this field. -
equals
-
canEqual
-
hashCode
public int hashCode()
-