Class Transaction.RegulatoryReceipt

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.Transaction.RegulatoryReceipt
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Transaction

public static class Transaction.RegulatoryReceipt extends StripeObject
Hosted transaction receipt that is provided when money movement is considered regulated under Stripe's money transmission licenses. If not applicable, regulatory_receipt.status will be not_applicable and no URL will be provided unless you opt in by calling /refresh_regulatory_receipt.
  • Constructor Details

    • RegulatoryReceipt

      public RegulatoryReceipt()
  • Method Details

    • getStatus

      public String getStatus()
      Current availability of the regulatory receipt.

      One of available, not_applicable, pending, or url_expired.

    • getUrl

      public String getUrl()
      Hosted URL for the receipt.
    • getUrlExpiresAt

      public Instant getUrlExpiresAt()
      Time until which url is valid.
    • setStatus

      public void setStatus(String status)
      Current availability of the regulatory receipt.

      One of available, not_applicable, pending, or url_expired.

    • setUrl

      public void setUrl(String url)
      Hosted URL for the receipt.
    • setUrlExpiresAt

      public void setUrlExpiresAt(Instant urlExpiresAt)
      Time until which url is valid.
    • 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