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

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

Represents a denominated amount in a currency.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#amount_value

def amount_value() -> ::Integer
Returns
  • (::Integer) — Required. The number of minor units of the currency.

#amount_value=

def amount_value=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The number of minor units of the currency.
Returns
  • (::Integer) — Required. The number of minor units of the currency.

#currency

def currency() -> ::Google::Cloud::UniversalLedger::V1::QualifiedCurrencyValue
Returns

#currency=

def currency=(value) -> ::Google::Cloud::UniversalLedger::V1::QualifiedCurrencyValue
Parameter
Returns