Class SubscriptionDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • contractId

        public SubscriptionDetails.Builder contractId​(String contractId)
        Contract identifier.
        Parameters:
        contractId - the value to set
        Returns:
        this builder
      • subscriptionId

        public SubscriptionDetails.Builder subscriptionId​(String subscriptionId)
        Subscription identifier.
        Parameters:
        subscriptionId - the value to set
        Returns:
        this builder
      • customerName

        public SubscriptionDetails.Builder customerName​(String customerName)
        Sold-to customer name.
        Parameters:
        customerName - the value to set
        Returns:
        this builder
      • currencyCode

        public SubscriptionDetails.Builder currencyCode​(String currencyCode)
        The currency of the subscription, in the format specified by ISO-4217.
        Parameters:
        currencyCode - the value to set
        Returns:
        this builder
      • timeCommitmentStart

        public SubscriptionDetails.Builder timeCommitmentStart​(Date timeCommitmentStart)
        Start date and time of the subscription commitment.
        Parameters:
        timeCommitmentStart - the value to set
        Returns:
        this builder
      • timeCommitmentEnd

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

        public SubscriptionDetails.Builder amountCommitment​(Double amountCommitment)
        Total committed amount for the subscription.
        Parameters:
        amountCommitment - the value to set
        Returns:
        this builder
      • amountAuthorized

        public SubscriptionDetails.Builder amountAuthorized​(Double amountAuthorized)
        Amount authorized for the subscription.
        Parameters:
        amountAuthorized - the value to set
        Returns:
        this builder
      • amountProvisioned

        public SubscriptionDetails.Builder amountProvisioned​(Double amountProvisioned)
        Amount provisioned for the subscription.
        Parameters:
        amountProvisioned - the value to set
        Returns:
        this builder
      • amountConsumed

        public SubscriptionDetails.Builder amountConsumed​(Double amountConsumed)
        Amount consumed from the subscription commitment.
        Parameters:
        amountConsumed - the value to set
        Returns:
        this builder
      • amountAvailable

        public SubscriptionDetails.Builder amountAvailable​(Double amountAvailable)
        Amount remaining and available for the subscription.
        Parameters:
        amountAvailable - the value to set
        Returns:
        this builder
      • commitmentPeriods

        public SubscriptionDetails.Builder commitmentPeriods​(List<CommitmentPeriod> commitmentPeriods)
        Commitment periods associated with the subscription.
        Parameters:
        commitmentPeriods - the value to set
        Returns:
        this builder
      • productsAndServices

        public SubscriptionDetails.Builder productsAndServices​(List<ProductAndService> productsAndServices)
        Products and services that draw down from the subscription.
        Parameters:
        productsAndServices - the value to set
        Returns:
        this builder