Interface BillingPeriod.Builder

  • Method Details

    • startDate

      BillingPeriod.Builder startDate(Instant startDate)

      The first day of the billing period, inclusive, as the timestamp of 00:00:00 UTC on that day.

      Parameters:
      startDate - The first day of the billing period, inclusive, as the timestamp of 00:00:00 UTC on that day.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endDate

      BillingPeriod.Builder endDate(Instant endDate)

      The day after the last day of the billing period, exclusive, as the timestamp of 00:00:00 UTC on that day. A calendar month runs from the first of the month to the first of the next month.

      Parameters:
      endDate - The day after the last day of the billing period, exclusive, as the timestamp of 00:00:00 UTC on that day. A calendar month runs from the first of the month to the first of the next month.
      Returns:
      Returns a reference to this object so that method calls can be chained together.