Class SubscriptionSchedule.Phase

    • Constructor Detail

      • Phase

        public Phase()
    • Method Detail

      • getCoupon

        public java.lang.String getCoupon()
        Get id of expandable `coupon` object.
      • setCoupon

        public void setCoupon​(java.lang.String id)
      • getCouponObject

        public Coupon getCouponObject()
        Get expanded `coupon`.
      • setCouponObject

        public void setCouponObject​(Coupon expandableObject)
      • getApplicationFeePercent

        public java.math.BigDecimal getApplicationFeePercent()
        A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account during this phase of the schedule.
      • getEndDate

        public java.lang.Long getEndDate()
        The end of this phase of the subscription schedule.
      • getStartDate

        public java.lang.Long getStartDate()
        The start of this phase of the subscription schedule.
      • getTaxPercent

        public java.math.BigDecimal getTaxPercent()
        If provided, each invoice created during this phase of the subscription schedule will apply the tax rate, increasing the amount billed to the customer.
      • getTrialEnd

        public java.lang.Long getTrialEnd()
        When the trial ends within the phase.
      • setApplicationFeePercent

        public void setApplicationFeePercent​(java.math.BigDecimal applicationFeePercent)
        A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account during this phase of the schedule.
      • setEndDate

        public void setEndDate​(java.lang.Long endDate)
        The end of this phase of the subscription schedule.
      • setPlans

        public void setPlans​(java.util.List<SubscriptionSchedule.PhaseItem> plans)
        Plans to subscribe during this phase of the subscription schedule.
      • setStartDate

        public void setStartDate​(java.lang.Long startDate)
        The start of this phase of the subscription schedule.
      • setTaxPercent

        public void setTaxPercent​(java.math.BigDecimal taxPercent)
        If provided, each invoice created during this phase of the subscription schedule will apply the tax rate, increasing the amount billed to the customer.
      • setTrialEnd

        public void setTrialEnd​(java.lang.Long trialEnd)
        When the trial ends within the phase.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object