Interface AgreementViewSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AgreementViewSummary.Builder,AgreementViewSummary>, SdkBuilder<AgreementViewSummary.Builder,AgreementViewSummary>, SdkPojo
Enclosing class:
AgreementViewSummary

public static interface AgreementViewSummary.Builder extends SdkPojo, CopyableBuilder<AgreementViewSummary.Builder,AgreementViewSummary>
  • Method Details

    • acceptanceTime

      AgreementViewSummary.Builder acceptanceTime(Instant acceptanceTime)

      The date and time that the agreement was accepted.

      Parameters:
      acceptanceTime - The date and time that the agreement was accepted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • acceptor

      Details of the party accepting the agreement terms. This is commonly the buyer for PurchaseAgreement.

      Parameters:
      acceptor - Details of the party accepting the agreement terms. This is commonly the buyer for PurchaseAgreement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • acceptor

      Details of the party accepting the agreement terms. This is commonly the buyer for PurchaseAgreement.

      This is a convenience method that creates an instance of the Acceptor.Builder avoiding the need to create one manually via Acceptor.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to acceptor(Acceptor).

      Parameters:
      acceptor - a consumer that will call methods on Acceptor.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • agreementId

      AgreementViewSummary.Builder agreementId(String agreementId)

      The unique identifier of the agreement.

      Parameters:
      agreementId - The unique identifier of the agreement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agreementType

      AgreementViewSummary.Builder agreementType(String agreementType)

      The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement.

      Parameters:
      agreementType - The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The date and time when the agreement ends. The field is null for pay-as-you-go agreements, which don’t have end dates.

      Parameters:
      endTime - The date and time when the agreement ends. The field is null for pay-as-you-go agreements, which don’t have end dates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • proposalSummary

      AgreementViewSummary.Builder proposalSummary(ProposalSummary proposalSummary)

      A summary of the proposal

      Parameters:
      proposalSummary - A summary of the proposal
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • proposalSummary

      default AgreementViewSummary.Builder proposalSummary(Consumer<ProposalSummary.Builder> proposalSummary)

      A summary of the proposal

      This is a convenience method that creates an instance of the ProposalSummary.Builder avoiding the need to create one manually via ProposalSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to proposalSummary(ProposalSummary).

      Parameters:
      proposalSummary - a consumer that will call methods on ProposalSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • proposer

      Details of the party proposing the agreement terms, most commonly the seller for PurchaseAgreement.

      Parameters:
      proposer - Details of the party proposing the agreement terms, most commonly the seller for PurchaseAgreement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • proposer

      Details of the party proposing the agreement terms, most commonly the seller for PurchaseAgreement.

      This is a convenience method that creates an instance of the Proposer.Builder avoiding the need to create one manually via Proposer.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to proposer(Proposer).

      Parameters:
      proposer - a consumer that will call methods on Proposer.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startTime

      AgreementViewSummary.Builder startTime(Instant startTime)

      The date and time when the agreement starts.

      Parameters:
      startTime - The date and time when the agreement starts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the agreement.

      Parameters:
      status - The current status of the agreement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the agreement.

      Parameters:
      status - The current status of the agreement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: