Interface CreateAgreementRequestResponse.Builder

  • Method Details

    • agreementRequestId

      CreateAgreementRequestResponse.Builder agreementRequestId(String agreementRequestId)

      The unique identifier of the agreement request created. Use this identifier with AcceptAgreementRequest to accept the agreement.

      Parameters:
      agreementRequestId - The unique identifier of the agreement request created. Use this identifier with AcceptAgreementRequest to accept the agreement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • chargeSummary

      Provides details of the charges associated with the agreement request. This is only applicable when a request is created for PurchaseAgreement.

      Parameters:
      chargeSummary - Provides details of the charges associated with the agreement request. This is only applicable when a request is created for PurchaseAgreement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • chargeSummary

      Provides details of the charges associated with the agreement request. This is only applicable when a request is created for PurchaseAgreement.

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

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

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