Class OutboundPayment

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

public class OutboundPayment extends StripeObject implements HasId
  • Constructor Details

    • OutboundPayment

      public OutboundPayment()
  • Method Details

    • getAmount

      public Amount getAmount()
      The "presentment amount" for the OutboundPayment.
    • getCancelable

      public Boolean getCancelable()
      Returns true if the OutboundPayment can be canceled, and false otherwise.
    • getCreated

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

      public OutboundPayment.DeliveryOptions getDeliveryOptions()
      Delivery options to be used to send the OutboundPayment.
    • getDescription

      public String getDescription()
      An arbitrary string attached to the OutboundPayment. Often useful for displaying to users.
    • getExpectedArrivalDate

      public Instant getExpectedArrivalDate()
      The date when funds are expected to arrive in the payout method. This field is not set if the payout method is in a failed, canceled, or returned state. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
    • getFrom

      public OutboundPayment.From getFrom()
      The FinancialAccount that funds were pulled from.
    • 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.
    • getMetadata

      public Map<String,String> getMetadata()
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
    • 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.outbound_payment.

    • getOutboundPaymentQuote

      public String getOutboundPaymentQuote()
      The quote for this OutboundPayment. Only required for countries with regulatory mandates to display fee estimates before OutboundPayment creation.
    • getReceiptUrl

      public String getReceiptUrl()
      A link to the Stripe-hosted receipt for this OutboundPayment. The receipt link remains active for 60 days from the OutboundPayment creation date. After this period, the link will expire and the receipt url value will be null.
    • getRecipientNotification

      public OutboundPayment.RecipientNotification getRecipientNotification()
      Details about the OutboundPayment notification settings for recipient.
    • getStatementDescriptor

      public String getStatementDescriptor()
      The description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer). It will default to STRIPE if not set on the account settings.
    • getStatus

      public String getStatus()
      Closed Enum. Current status of the OutboundPayment: processing, failed, posted, returned, canceled. An OutboundPayment is processing if it has been created and is processing. The status changes to posted once the OutboundPayment has been "confirmed" and funds have left the account, or to failed or canceled. If an OutboundPayment fails to arrive at its payout method, its status will change to returned.

      One of canceled, failed, posted, processing, or returned.

    • getStatusDetails

      public OutboundPayment.StatusDetails getStatusDetails()
      Status details for an OutboundPayment in a failed or returned state.
    • getStatusTransitions

      public OutboundPayment.StatusTransitions getStatusTransitions()
      Hash containing timestamps of when the object transitioned to a particular status.
    • getTo

      public OutboundPayment.To getTo()
      To which payout method the OutboundPayment was sent.
    • getTraceId

      public OutboundPayment.TraceId getTraceId()
      A unique identifier that can be used to track this OutboundPayment with recipient bank. Banks might call this a “reference number” or something similar.
    • setAmount

      public void setAmount(Amount amount)
      The "presentment amount" for the OutboundPayment.
    • setCancelable

      public void setCancelable(Boolean cancelable)
      Returns true if the OutboundPayment can be canceled, and false otherwise.
    • setCreated

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

      public void setDeliveryOptions(OutboundPayment.DeliveryOptions deliveryOptions)
      Delivery options to be used to send the OutboundPayment.
    • setDescription

      public void setDescription(String description)
      An arbitrary string attached to the OutboundPayment. Often useful for displaying to users.
    • setExpectedArrivalDate

      public void setExpectedArrivalDate(Instant expectedArrivalDate)
      The date when funds are expected to arrive in the payout method. This field is not set if the payout method is in a failed, canceled, or returned state. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
    • setFrom

      public void setFrom(OutboundPayment.From from)
      The FinancialAccount that funds were pulled from.
    • setId

      public void setId(String id)
      Unique identifier for the OutboundPayment.
    • 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.
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
    • 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.outbound_payment.

    • setOutboundPaymentQuote

      public void setOutboundPaymentQuote(String outboundPaymentQuote)
      The quote for this OutboundPayment. Only required for countries with regulatory mandates to display fee estimates before OutboundPayment creation.
    • setReceiptUrl

      public void setReceiptUrl(String receiptUrl)
      A link to the Stripe-hosted receipt for this OutboundPayment. The receipt link remains active for 60 days from the OutboundPayment creation date. After this period, the link will expire and the receipt url value will be null.
    • setRecipientNotification

      public void setRecipientNotification(OutboundPayment.RecipientNotification recipientNotification)
      Details about the OutboundPayment notification settings for recipient.
    • setStatementDescriptor

      public void setStatementDescriptor(String statementDescriptor)
      The description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer). It will default to STRIPE if not set on the account settings.
    • setStatus

      public void setStatus(String status)
      Closed Enum. Current status of the OutboundPayment: processing, failed, posted, returned, canceled. An OutboundPayment is processing if it has been created and is processing. The status changes to posted once the OutboundPayment has been "confirmed" and funds have left the account, or to failed or canceled. If an OutboundPayment fails to arrive at its payout method, its status will change to returned.

      One of canceled, failed, posted, processing, or returned.

    • setStatusDetails

      public void setStatusDetails(OutboundPayment.StatusDetails statusDetails)
      Status details for an OutboundPayment in a failed or returned state.
    • setStatusTransitions

      public void setStatusTransitions(OutboundPayment.StatusTransitions statusTransitions)
      Hash containing timestamps of when the object transitioned to a particular status.
    • setTo

      public void setTo(OutboundPayment.To to)
      To which payout method the OutboundPayment was sent.
    • setTraceId

      public void setTraceId(OutboundPayment.TraceId traceId)
      A unique identifier that can be used to track this OutboundPayment with recipient bank. Banks might call this a “reference number” or something similar.
    • 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 OutboundPayment.
      Specified by:
      getId in interface HasId