Class: Blockchain0xX402::Wire::ExactUsdcPayment

Inherits:
Struct
  • Object
show all
Defined in:
lib/blockchain0x_x402/wire.rb

Overview

Decoded X-Payment header payload (scheme=exact-usdc).

Instance Attribute Summary collapse

Instance Attribute Details

#amount_usdcObject

Returns the value of attribute amount_usdc

Returns:

  • (Object)

    the current value of amount_usdc



70
71
72
# File 'lib/blockchain0x_x402/wire.rb', line 70

def amount_usdc
  @amount_usdc
end

#networkObject

Returns the value of attribute network

Returns:

  • (Object)

    the current value of network



70
71
72
# File 'lib/blockchain0x_x402/wire.rb', line 70

def network
  @network
end

#payer_addressObject

Returns the value of attribute payer_address

Returns:

  • (Object)

    the current value of payer_address



70
71
72
# File 'lib/blockchain0x_x402/wire.rb', line 70

def payer_address
  @payer_address
end

#payment_request_idObject

Returns the value of attribute payment_request_id

Returns:

  • (Object)

    the current value of payment_request_id



70
71
72
# File 'lib/blockchain0x_x402/wire.rb', line 70

def payment_request_id
  @payment_request_id
end

#schemeObject

Returns the value of attribute scheme

Returns:

  • (Object)

    the current value of scheme



70
71
72
# File 'lib/blockchain0x_x402/wire.rb', line 70

def scheme
  @scheme
end

#tx_hashObject

Returns the value of attribute tx_hash

Returns:

  • (Object)

    the current value of tx_hash



70
71
72
# File 'lib/blockchain0x_x402/wire.rb', line 70

def tx_hash
  @tx_hash
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



70
71
72
# File 'lib/blockchain0x_x402/wire.rb', line 70

def version
  @version
end