Class PaymentIntent.TransferData

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.TransferData
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
PaymentIntent

public static class PaymentIntent.TransferData extends StripeObject
For more details about TransferData, please refer to the API Reference.
  • Constructor Details

    • TransferData

      public TransferData()
  • Method Details

    • getDestination

      public String getDestination()
      Get ID of expandable destination object.
    • setDestination

      public void setDestination(String id)
    • getDestinationObject

      public Account getDestinationObject()
      Get expanded destination.
    • setDestinationObject

      public void setDestinationObject(Account expandableObject)
    • getAmount

      public Long getAmount()
      The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account. The amount must be less than or equal to the amount, and must be a positive integer representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).
    • setAmount

      public void setAmount(Long amount)
      The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account. The amount must be less than or equal to the amount, and must be a positive integer representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).
    • 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