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


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

def fee
  @fee
end

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


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

def mosaicId
  @mosaicId
end

#recipientString


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

def recipient
  @recipient
end

#typeInteger


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