PaymentOutput

sealed class PaymentOutput

The payment output details, which vary by payment type.

Inheritors

Types

Link copied to clipboard

Output from a crypto X402 payment.

Link copied to clipboard
data class Mpp(val value: MppPaymentOutput) : PaymentOutput

Contains the payment credential, ready to retry the request.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Casts this PaymentOutput as a Mpp and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.MppPaymentOutput value. Throws an exception if the PaymentOutput is not a Mpp.

Link copied to clipboard

Casts this PaymentOutput as a Mpp and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.MppPaymentOutput value. Returns null if the PaymentOutput is not a Mpp.