Class Authorization.RequestHistory

    • Constructor Detail

      • RequestHistory

        public RequestHistory()
    • Method Detail

      • getAmount

        public java.lang.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.
      • 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.
      • getMerchantAmount

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

      • setAmount

        public void setAmount​(java.lang.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.
      • 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.
      • setMerchantAmount

        public void setMerchantAmount​(java.lang.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​(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, or webhook_timeout.

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object