Class PaymentLink.TransferData

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

public static class PaymentLink.TransferData extends StripeObject implements StripeActiveObject
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)
    • setResponseGetter

      public void setResponseGetter(StripeResponseGetter responseGetter)
      Description copied from interface: StripeActiveObject
      Method is used by the containing object or StripeResponseGetter implementations to set the StripeResponseGetter instance used to make further requests.
      Specified by:
      setResponseGetter in interface StripeActiveObject
      Parameters:
      responseGetter - the StripeResponseGetter instance to use for making further requests.
    • getAmount

      public Long getAmount()
      The amount in cents (or local equivalent) that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
    • setAmount

      public void setAmount(Long amount)
      The amount in cents (or local equivalent) that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
    • 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