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

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

Transfers tokens from one user account to another. The sender must be a regular user account, as opposed to a privileged account like a token manager or an account manager.

Additionally, the transaction sender must have the ROLE_PAYER enabled on it, while the receiver must have the ROLE_RECEIVER enabled on it.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#amount

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

#amount=

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

#beneficiary_id

def beneficiary_id() -> ::String
Returns
  • (::String) — Required. The ID of the account that receives the tokens.

#beneficiary_id=

def beneficiary_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID of the account that receives the tokens.
Returns
  • (::String) — Required. The ID of the account that receives the tokens.