Interface CreateOneTimeCheckoutSessionResponse.Builder

  • Method Details

    • checkoutUrl

      An absolute HTTP or HTTPS URL the buyer's browser is redirected to in order to complete payment.

      Parameters:
      checkoutUrl - An absolute HTTP or HTTPS URL the buyer's browser is redirected to in order to complete payment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresAt

      The time when the checkout session expires.

      Parameters:
      expiresAt - The time when the checkout session expires.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checkoutSessionId

      CreateOneTimeCheckoutSessionResponse.Builder checkoutSessionId(String checkoutSessionId)

      The ID of the created checkout session.

      Parameters:
      checkoutSessionId - The ID of the created checkout session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.