Class SubscriptionScheduleCreateParams.Phase.TransferData

Enclosing class:

public static class SubscriptionScheduleCreateParams.Phase.TransferData extends Object
The number of intervals between subscription billings. For example, interval=month and interval_count=3 bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
  • Method Details

    • builder

    • 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.
    • getDestination

      public String getDestination()
      Required. ID of an existing, connected Stripe account.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.