Class: Nem::Model::ProvisionNamespaceTransaction
- Inherits:
-
Transaction
- Object
- Transaction
- Nem::Model::ProvisionNamespaceTransaction
- Defined in:
- lib/nem/model/provision_namespace_transaction.rb
Instance Attribute Summary collapse
-
#new_part ⇒ Object
readonly
Returns the value of attribute new_part.
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
-
#rental_fee ⇒ Object
readonly
Returns the value of attribute rental_fee.
-
#rental_fee_sink ⇒ Object
readonly
Returns the value of attribute rental_fee_sink.
Attributes inherited from Transaction
#deadline, #fee, #hash, #height, #id, #signer, #timestamp, #type, #version
Class Method Summary collapse
Methods inherited from Transaction
new_from_account_transaction, new_from_account_transaction_meta_data_pair
Methods included from Nem::Mixin::Assignable
Instance Attribute Details
#new_part ⇒ Object (readonly)
Returns the value of attribute new_part.
4 5 6 |
# File 'lib/nem/model/provision_namespace_transaction.rb', line 4 def new_part @new_part end |
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
4 5 6 |
# File 'lib/nem/model/provision_namespace_transaction.rb', line 4 def parent @parent end |
#rental_fee ⇒ Object (readonly)
Returns the value of attribute rental_fee.
4 5 6 |
# File 'lib/nem/model/provision_namespace_transaction.rb', line 4 def rental_fee @rental_fee end |
#rental_fee_sink ⇒ Object (readonly)
Returns the value of attribute rental_fee_sink.
4 5 6 |
# File 'lib/nem/model/provision_namespace_transaction.rb', line 4 def rental_fee_sink @rental_fee_sink end |
Class Method Details
.new_from_transaction_meta_data_pair(hash) ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/nem/model/provision_namespace_transaction.rb', line 6 def self.(hash) transaction = hash[:transaction] attrs = (hash).merge( rental_fee: transaction[:rentalFee], rental_fee_sink: transaction[:rentalFeeSink], parent: transaction[:parent], new_part: transaction[:newPart] ) new(attrs) end |