Interface AwsBillingX402PaymentInput.Builder

  • Method Details

    • version

      The x402 protocol version of the seller's HTTP 402 response, from its x402Version field. For example, 2.

      Parameters:
      version - The x402 protocol version of the seller's HTTP 402 response, from its x402Version field. For example, 2.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payload

      The seller's x402 payment requirement for Amazon Web Services Billing, passed unchanged as a JSON object. The service reads the seller-signed quote token from extra.quoteToken and returns a ValidationException if it is missing or invalid. Any change to the quote token invalidates its signature.

      Parameters:
      payload - The seller's x402 payment requirement for Amazon Web Services Billing, passed unchanged as a JSON object. The service reads the seller-signed quote token from extra.quoteToken and returns a ValidationException if it is missing or invalid. Any change to the quote token invalidates its signature.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • options

      Optional settings for the Amazon Web Services Billing payment.

      Parameters:
      options - Optional settings for the Amazon Web Services Billing payment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • options

      Optional settings for the Amazon Web Services Billing payment.

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

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

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