Interface AwsBillingX402PaymentOutput.Builder

  • Method Details

    • version

      The x402 protocol version. This is the same value as the version in the request.

      Parameters:
      version - The x402 protocol version. This is the same value as the version in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paymentToken

      AwsBillingX402PaymentOutput.Builder paymentToken(String paymentToken)

      The payment token, a signed JSON Web Token (JWT). Include it when you retry your request to the seller. Treat the payment token as a credential: don't log or share it.

      Parameters:
      paymentToken - The payment token, a signed JSON Web Token (JWT). Include it when you retry your request to the seller. Treat the payment token as a credential: don't log or share it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.