Interface CreateBuyerApprovalUrlRequest.Builder

  • Method Details

    • userId

      The user ID associated with this payment intent.

      Parameters:
      userId - The user ID associated with this payment intent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentName

      The agent name associated with this request, used for observability.

      Parameters:
      agentName - The agent name associated with this request, used for observability.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paymentManagerArn

      CreateBuyerApprovalUrlRequest.Builder paymentManagerArn(String paymentManagerArn)

      The ARN of the payment manager that owns this payment intent.

      Parameters:
      paymentManagerArn - The ARN of the payment manager that owns this payment intent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paymentIntentId

      CreateBuyerApprovalUrlRequest.Builder paymentIntentId(String paymentIntentId)

      The ID of the payment intent whose current version requires approval.

      Parameters:
      paymentIntentId - The ID of the payment intent whose current version requires approval.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parentOrigin

      CreateBuyerApprovalUrlRequest.Builder parentOrigin(String parentOrigin)

      The exact origin that is permitted to embed the Buyer Approval widget.

      Parameters:
      parentOrigin - The exact origin that is permitted to embed the Buyer Approval widget.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      Idempotency token used to replay the original created URL response.

      Parameters:
      clientToken - Idempotency token used to replay the original created URL response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateBuyerApprovalUrlRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.