Class ReceivedDebit

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.moneymanagement.ReceivedDebit
All Implemented Interfaces:
HasId, StripeObjectInterface

public class ReceivedDebit extends StripeObject implements HasId
  • Constructor Details

    • ReceivedDebit

      public ReceivedDebit()
  • Method Details

    • getAmount

      public Amount getAmount()
      Amount and currency of the ReceivedDebit.
    • getBankTransfer

      public ReceivedDebit.BankTransfer getBankTransfer()
      This object stores details about the originating banking transaction that resulted in the ReceivedDebit. Present if type field value is bank_transfer.
    • getCreated

      public Instant getCreated()
      The time at which the ReceivedDebit was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
    • getDescription

      public String getDescription()
      Freeform string sent by the originator of the ReceivedDebit.
    • getFinancialAccount

      public String getFinancialAccount()
      Financial Account on which funds for ReceivedDebit were debited.
    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value of the object field.

      Equal to v2.money_management.received_debit.

    • getReceiptUrl

      public String getReceiptUrl()
      A link to the Stripe-hosted receipt for this ReceivedDebit.
    • getStatus

      public String getStatus()
      Open Enum. The status of the ReceivedDebit.

      One of canceled, failed, pending, returned, or succeeded.

    • getStatusDetails

      public ReceivedDebit.StatusDetails getStatusDetails()
      Detailed information about the status of the ReceivedDebit.
    • getStatusTransitions

      public ReceivedDebit.StatusTransitions getStatusTransitions()
      The time at which the ReceivedDebit transitioned to a particular status.
    • getType

      public String getType()
      Open Enum. The type of the ReceivedDebit.

      One of bank_transfer, or external_debit.

    • setAmount

      public void setAmount(Amount amount)
      Amount and currency of the ReceivedDebit.
    • setBankTransfer

      public void setBankTransfer(ReceivedDebit.BankTransfer bankTransfer)
      This object stores details about the originating banking transaction that resulted in the ReceivedDebit. Present if type field value is bank_transfer.
    • setCreated

      public void setCreated(Instant created)
      The time at which the ReceivedDebit was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
    • setDescription

      public void setDescription(String description)
      Freeform string sent by the originator of the ReceivedDebit.
    • setFinancialAccount

      public void setFinancialAccount(String financialAccount)
      Financial Account on which funds for ReceivedDebit were debited.
    • setId

      public void setId(String id)
      Unique identifier for the ReceivedDebit.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setObject

      public void setObject(String object)
      String representing the object's type. Objects of the same type share the same value of the object field.

      Equal to v2.money_management.received_debit.

    • setReceiptUrl

      public void setReceiptUrl(String receiptUrl)
      A link to the Stripe-hosted receipt for this ReceivedDebit.
    • setStatus

      public void setStatus(String status)
      Open Enum. The status of the ReceivedDebit.

      One of canceled, failed, pending, returned, or succeeded.

    • setStatusDetails

      public void setStatusDetails(ReceivedDebit.StatusDetails statusDetails)
      Detailed information about the status of the ReceivedDebit.
    • setStatusTransitions

      public void setStatusTransitions(ReceivedDebit.StatusTransitions statusTransitions)
      The time at which the ReceivedDebit transitioned to a particular status.
    • setType

      public void setType(String type)
      Open Enum. The type of the ReceivedDebit.

      One of bank_transfer, or external_debit.

    • 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
    • getId

      public String getId()
      Unique identifier for the ReceivedDebit.
      Specified by:
      getId in interface HasId