Interface CreateBuyerApprovalUrlResponse.Builder

  • Method Details

    • paymentIntentId

      CreateBuyerApprovalUrlResponse.Builder paymentIntentId(String paymentIntentId)

      The ID of the payment intent the buyer approval URL is for.

      Parameters:
      paymentIntentId - The ID of the payment intent the buyer approval URL is for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paymentIntentVersion

      CreateBuyerApprovalUrlResponse.Builder paymentIntentVersion(Integer paymentIntentVersion)

      The version of the payment intent that the buyer approves through this URL.

      Parameters:
      paymentIntentVersion - The version of the payment intent that the buyer approves through this URL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • buyerApprovalUrl

      CreateBuyerApprovalUrlResponse.Builder buyerApprovalUrl(String buyerApprovalUrl)

      The URL that opens buyer approval for the payment intent.

      Parameters:
      buyerApprovalUrl - The URL that opens buyer approval for the payment intent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresAt

      Deadline for the first redemption of this URL.

      Parameters:
      expiresAt - Deadline for the first redemption of this URL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.