Class CommitmentPeriod.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • commitmentPeriod

        public CommitmentPeriod.Builder commitmentPeriod​(String commitmentPeriod)
        Identifier for the commitment period.
        Parameters:
        commitmentPeriod - the value to set
        Returns:
        this builder
      • timeCommitmentPeriodStart

        public CommitmentPeriod.Builder timeCommitmentPeriodStart​(Date timeCommitmentPeriodStart)
        Start date and time of the commitment period.
        Parameters:
        timeCommitmentPeriodStart - the value to set
        Returns:
        this builder
      • timeCommitmentPeriodEnd

        public CommitmentPeriod.Builder timeCommitmentPeriodEnd​(Date timeCommitmentPeriodEnd)
        End date and time of the commitment period.
        Parameters:
        timeCommitmentPeriodEnd - the value to set
        Returns:
        this builder
      • amountCommitment

        public CommitmentPeriod.Builder amountCommitment​(Double amountCommitment)
        Total committed amount for the commitment period.
        Parameters:
        amountCommitment - the value to set
        Returns:
        this builder
      • amountConsumed

        public CommitmentPeriod.Builder amountConsumed​(Double amountConsumed)
        Amount consumed during the commitment period.
        Parameters:
        amountConsumed - the value to set
        Returns:
        this builder
      • amountAvailable

        public CommitmentPeriod.Builder amountAvailable​(Double amountAvailable)
        Amount remaining and available for the commitment period.
        Parameters:
        amountAvailable - the value to set
        Returns:
        this builder