Class: Nis::Struct::MosaicLevy

Inherits:
Object
  • Object
show all
Includes:
Util::Assignable
Defined in:
lib/nis/struct/mosaic_levy.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

#[], #initialize, #to_hash, #to_json

Instance Attribute Details

#feeInteger

Returns the current value of fee.

Returns:

  • (Integer)

    the current value of fee



7
8
9
# File 'lib/nis/struct/mosaic_levy.rb', line 7

def fee
  @fee
end

#mosaicIdNis::Struct::MosaicId Also known as: mosaid_id

Returns the current value of mosaicId.

Returns:



7
8
9
# File 'lib/nis/struct/mosaic_levy.rb', line 7

def mosaicId
  @mosaicId
end

#recipientString

Returns the current value of recipient.

Returns:

  • (String)

    the current value of recipient



7
8
9
# File 'lib/nis/struct/mosaic_levy.rb', line 7

def recipient
  @recipient
end

#typeInteger

Returns the current value of type.

Returns:

  • (Integer)

    the current value of type



7
8
9
# File 'lib/nis/struct/mosaic_levy.rb', line 7

def type
  @type
end

Class Method Details

.build(attrs) ⇒ Object



13
14
15
16
# File 'lib/nis/struct/mosaic_levy.rb', line 13

def self.build(attrs)
  attrs[:mosaicId] = MosaicId.build(attrs[:mosaicId])
  new(attrs)
end