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
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.Long
getAmount()
Thepending_request.amount
at the time of the request, presented in your card's currency and in the smallest currency unit.Authorization.AmountDetails
getAmountDetails()
Detailed breakdown of amount components.java.lang.Boolean
getApproved()
Whether this request was approved.java.lang.Long
getCreated()
Time at which the object was created.java.lang.String
getCurrency()
Three-letter ISO currency code, in lowercase.java.lang.Long
getMerchantAmount()
Thepending_request.merchant_amount
at the time of the request, presented in themerchant_currency
and in the smallest currency unit.java.lang.String
getMerchantCurrency()
The currency that was collected by the merchant and presented to the cardholder for the authorization.java.lang.String
getReason()
The reason for the approval or decline.int
hashCode()
void
setAmount(java.lang.Long amount)
Thepending_request.amount
at the time of the request, presented in your card's currency and in the smallest currency unit.void
setAmountDetails(Authorization.AmountDetails amountDetails)
Detailed breakdown of amount components.void
setApproved(java.lang.Boolean approved)
Whether this request was approved.void
setCreated(java.lang.Long created)
Time at which the object was created.void
setCurrency(java.lang.String currency)
Three-letter ISO currency code, in lowercase.void
setMerchantAmount(java.lang.Long merchantAmount)
Thepending_request.merchant_amount
at the time of the request, presented in themerchant_currency
and in the smallest currency unit.void
setMerchantCurrency(java.lang.String merchantCurrency)
The currency that was collected by the merchant and presented to the cardholder for the authorization.void
setReason(java.lang.String reason)
The reason for the approval or decline.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAmount
public java.lang.Long 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
public Authorization.AmountDetails getAmountDetails()
Detailed breakdown of amount components. These amounts are denominated incurrency
and in the smallest currency unit.
-
getApproved
public java.lang.Boolean getApproved()
Whether this request was approved.
-
getCreated
public java.lang.Long getCreated()
Time at which the object was created. Measured in seconds since the Unix epoch.
-
getCurrency
public java.lang.String getCurrency()
Three-letter ISO currency code, in lowercase. Must be a supported currency.
-
getMerchantAmount
public java.lang.Long getMerchantAmount()
Thepending_request.merchant_amount
at the time of the request, presented in themerchant_currency
and in the smallest currency unit.
-
getMerchantCurrency
public java.lang.String 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
public java.lang.String getReason()
The reason for the approval or decline.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
, orwebhook_timeout
.
-
setAmount
public void setAmount(java.lang.Long amount)
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
public void setAmountDetails(Authorization.AmountDetails amountDetails)
Detailed breakdown of amount components. These amounts are denominated incurrency
and in the smallest currency unit.
-
setApproved
public void setApproved(java.lang.Boolean approved)
Whether this request was approved.
-
setCreated
public void setCreated(java.lang.Long created)
Time at which the object was created. Measured in seconds since the Unix epoch.
-
setCurrency
public void setCurrency(java.lang.String currency)
Three-letter ISO currency code, in lowercase. Must be a supported currency.
-
setMerchantAmount
public void setMerchantAmount(java.lang.Long merchantAmount)
Thepending_request.merchant_amount
at the time of the request, presented in themerchant_currency
and in the smallest currency unit.
-
setMerchantCurrency
public void setMerchantCurrency(java.lang.String merchantCurrency)
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
public void setReason(java.lang.String reason)
The reason for the approval or decline.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
, orwebhook_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
-
-