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).
    • getDescription

      public String getDescription()
      An arbitrary string attached to the transfer. Often useful for displaying to users.
    • 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.
    • getPaymentData

      public PaymentIntent.TransferData.PaymentData getPaymentData()
    • 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).
    • setDescription

      public void setDescription(String description)
      An arbitrary string attached to the transfer. Often useful for displaying to users.
    • 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.
    • setPaymentData

      public void setPaymentData(PaymentIntent.TransferData.PaymentData paymentData)
    • 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