Class Authorization.RequestHistory
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Authorization
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about AmountDetails, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThepending_request.amountat 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_amountat the time of the request, presented in themerchant_currencyand 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.reasoniswebhook_errorbecause 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.inthashCode()voidThepending_request.amountat the time of the request, presented in your card's currency and in the smallest currency unit.voidsetAmountDetails(Authorization.RequestHistory.AmountDetails amountDetails) Detailed breakdown of amount components.voidsetApproved(Boolean approved) Whether this request was approved.voidsetAuthorizationCode(String authorizationCode) A code created by Stripe which is shared with the merchant to validate the authorization.voidsetCreated(Long created) Time at which the object was created.voidsetCurrency(String currency) Three-letter ISO currency code, in lowercase.voidsetMerchantAmount(Long merchantAmount) Thepending_request.merchant_amountat the time of the request, presented in themerchant_currencyand in the smallest currency unit.voidsetMerchantCurrency(String merchantCurrency) The currency that was collected by the merchant and presented to the cardholder for the authorization.voidsetNetworkRiskScore(Long networkRiskScore) The card network's estimate of the likelihood that an authorization is fraudulent.voidWhen an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome.voidsetReasonMessage(String reasonMessage) If therequest_history.reasoniswebhook_errorbecause the direct webhook response is invalid (for example, parsing errors or missing parameters), we surface a more detailed error message via this field.voidsetRequestedAt(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, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
RequestHistory
public RequestHistory()
-
-
Method Details
-
getAmount
Thepending_request.amountat 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 incurrencyand 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_amountat the time of the request, presented in themerchant_currencyand 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,network_fallback,not_allowed,pin_blocked,spending_controls,suspected_fraud,verification_failed,webhook_approved,webhook_declined,webhook_error, orwebhook_timeout. -
getReasonMessage
If therequest_history.reasoniswebhook_errorbecause 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.amountat 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 incurrencyand 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_amountat the time of the request, presented in themerchant_currencyand 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,network_fallback,not_allowed,pin_blocked,spending_controls,suspected_fraud,verification_failed,webhook_approved,webhook_declined,webhook_error, orwebhook_timeout. -
setReasonMessage
If therequest_history.reasoniswebhook_errorbecause 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()
-