Universal Ledger V1 API - Class Google::Cloud::UniversalLedger::V1::InvokeContractMethod (v0.1.0)

Reference documentation and code samples for the Universal Ledger V1 API class Google::Cloud::UniversalLedger::V1::InvokeContractMethod.

Invokes the execution of a contract method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#contract_id

def contract_id() -> ::String
Returns
  • (::String) — Required. The ID of the contract to run.

#contract_id=

def contract_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID of the contract to run.
Returns
  • (::String) — Required. The ID of the contract to run.

#method_arguments

def method_arguments() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::UniversalLedger::V1::Value}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::UniversalLedger::V1::Value}) — Optional. Immutable. Contains arguments to pass to the method.

#method_arguments=

def method_arguments=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::UniversalLedger::V1::Value}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::UniversalLedger::V1::Value}) — Optional. Immutable. Contains arguments to pass to the method.
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::UniversalLedger::V1::Value}) — Optional. Immutable. Contains arguments to pass to the method.

#method_name

def method_name() -> ::String
Returns
  • (::String) — Name of the method to run.

#method_name=

def method_name=(value) -> ::String
Parameter
  • value (::String) — Name of the method to run.
Returns
  • (::String) — Name of the method to run.

#payment

def payment() -> ::Google::Cloud::UniversalLedger::V1::CurrencyValue
Returns

#payment=

def payment=(value) -> ::Google::Cloud::UniversalLedger::V1::CurrencyValue
Parameter
Returns