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
The fee charged by the ATM for the cash withdrawal.
  • Constructor Details

    • RequestHistory

      public RequestHistory()
  • Method Details

    • getAmount

      public Long getAmount()
      The pending_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.RequestHistory.AmountDetails getAmountDetails()
      Detailed breakdown of amount components. These amounts are denominated in currency and in the smallest currency unit.
    • getApproved

      public Boolean getApproved()
      Whether this request was approved.
    • getCreated

      public Long getCreated()
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • getCurrency

      public String getCurrency()
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • getMerchantAmount

      public Long getMerchantAmount()
      The pending_request.merchant_amount at the time of the request, presented in the merchant_currency and in the smallest currency unit.
    • getMerchantCurrency

      public 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 String 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, or webhook_timeout.

    • getReasonMessage

      public String 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

      public void setAmount(Long amount)
      The pending_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.RequestHistory.AmountDetails amountDetails)
      Detailed breakdown of amount components. These amounts are denominated in currency and in the smallest currency unit.
    • setApproved

      public void setApproved(Boolean approved)
      Whether this request was approved.
    • setCreated

      public void setCreated(Long created)
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • setCurrency

      public void setCurrency(String currency)
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • setMerchantAmount

      public void setMerchantAmount(Long merchantAmount)
      The pending_request.merchant_amount at the time of the request, presented in the merchant_currency and in the smallest currency unit.
    • setMerchantCurrency

      public void setMerchantCurrency(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(String reason)
      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, or webhook_timeout.

    • setReasonMessage

      public 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object