public static class Authorization.RequestHistory extends StripeObject
PRETTY_PRINT_GSON| Constructor and Description |
|---|
RequestHistory() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAmount()
The authorization amount 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()
The amount that was authorized at the time of this request.
|
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)
The authorization amount 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)
The amount that was authorized at the time of this request.
|
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.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringpublic java.lang.Long getAmount()
public Authorization.AmountDetails getAmountDetails()
currency
and in the smallest currency
unit.public java.lang.Boolean getApproved()
public java.lang.Long getCreated()
public java.lang.String getCurrency()
public java.lang.Long getMerchantAmount()
merchant_currency and in the smallest currency unit.public java.lang.String getMerchantCurrency()
public java.lang.String getReason()
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, or webhook_timeout.
public void setAmount(java.lang.Long amount)
public void setAmountDetails(Authorization.AmountDetails amountDetails)
currency
and in the smallest currency
unit.public void setApproved(java.lang.Boolean approved)
public void setCreated(java.lang.Long created)
public void setCurrency(java.lang.String currency)
public void setMerchantAmount(java.lang.Long merchantAmount)
merchant_currency and in the smallest currency unit.public void setMerchantCurrency(java.lang.String merchantCurrency)
public void setReason(java.lang.String reason)
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, or webhook_timeout.
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object