Class Subscription.TransferData

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

public static class Subscription.TransferData extends StripeObject
  • 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)
    • getAmountPercent

      public BigDecimal getAmountPercent()
      A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
    • setAmountPercent

      public void setAmountPercent(BigDecimal amountPercent)
      A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total 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