Class: Aws::BedrockAgentCore::Types::PaymentOutput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb

Overview

Note:

PaymentOutput is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PaymentOutput corresponding to the set member.

The payment output details, which vary by payment type.

Defined Under Namespace

Classes: CryptoX402, Mpp, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#crypto_x402 ⇒ Types::CryptoX402PaymentOutput

Output from a crypto X402 payment.



8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8378

class PaymentOutput < Struct.new(
  :crypto_x402,
  :mpp,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CryptoX402 < PaymentOutput; end
  class Mpp < PaymentOutput; end
  class Unknown < PaymentOutput; end
end

#mpp ⇒ Types::MppPaymentOutput

Contains the payment credential, ready to retry the request.



8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8378

class PaymentOutput < Struct.new(
  :crypto_x402,
  :mpp,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CryptoX402 < PaymentOutput; end
  class Mpp < PaymentOutput; end
  class Unknown < PaymentOutput; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



8378
8379
8380
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8378

def unknown
  @unknown
end