Class QuoteUpdateParams.SubscriptionData.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setEffectiveDate

        public QuoteUpdateParams.SubscriptionData.Builder setEffectiveDate​(QuoteUpdateParams.SubscriptionData.EffectiveDate effectiveDate)
        When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. When updating a subscription, the date of which the subscription will be updated using a subscription schedule. The special value current_period_end can be provided to update a subscription at the end of its current period. The effective_date is ignored if it is in the past when the quote is accepted.
      • setEffectiveDate

        public QuoteUpdateParams.SubscriptionData.Builder setEffectiveDate​(java.lang.Long effectiveDate)
        When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. When updating a subscription, the date of which the subscription will be updated using a subscription schedule. The special value current_period_end can be provided to update a subscription at the end of its current period. The effective_date is ignored if it is in the past when the quote is accepted.
      • setEffectiveDate

        public QuoteUpdateParams.SubscriptionData.Builder setEffectiveDate​(EmptyParam effectiveDate)
        When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. When updating a subscription, the date of which the subscription will be updated using a subscription schedule. The special value current_period_end can be provided to update a subscription at the end of its current period. The effective_date is ignored if it is in the past when the quote is accepted.
      • setTrialPeriodDays

        public QuoteUpdateParams.SubscriptionData.Builder setTrialPeriodDays​(java.lang.Long trialPeriodDays)
        Integer representing the number of trial period days before the customer is charged for the first time.