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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.LonggetAmount()Thepending_request.amountat the time of the request, presented in your card's currency and in the smallest currency unit.Authorization.AmountDetailsgetAmountDetails()Detailed breakdown of amount components.java.lang.BooleangetApproved()Whether this request was approved.java.lang.LonggetCreated()Time at which the object was created.java.lang.StringgetCurrency()Three-letter ISO currency code, in lowercase.java.lang.LonggetMerchantAmount()Thepending_request.merchant_amountat the time of the request, presented in themerchant_currencyand in the smallest currency unit.java.lang.StringgetMerchantCurrency()The currency that was collected by the merchant and presented to the cardholder for the authorization.java.lang.StringgetReason()The reason for the approval or decline.inthashCode()voidsetAmount(java.lang.Long amount)Thepending_request.amountat the time of the request, presented in your card's currency and in the smallest currency unit.voidsetAmountDetails(Authorization.AmountDetails amountDetails)Detailed breakdown of amount components.voidsetApproved(java.lang.Boolean approved)Whether this request was approved.voidsetCreated(java.lang.Long created)Time at which the object was created.voidsetCurrency(java.lang.String currency)Three-letter ISO currency code, in lowercase.voidsetMerchantAmount(java.lang.Long merchantAmount)Thepending_request.merchant_amountat the time of the request, presented in themerchant_currencyand in the smallest currency unit.voidsetMerchantCurrency(java.lang.String merchantCurrency)The currency that was collected by the merchant and presented to the cardholder for the authorization.voidsetReason(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.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
public Authorization.AmountDetails getAmountDetails()
Detailed breakdown of amount components. These amounts are denominated incurrencyand 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_amountat the time of the request, presented in themerchant_currencyand 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.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
public void setAmountDetails(Authorization.AmountDetails amountDetails)
Detailed breakdown of amount components. These amounts are denominated incurrencyand 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_amountat the time of the request, presented in themerchant_currencyand 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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-