Class: ONIX::PriceConditionType

Inherits:
CodeFromYaml show all
Defined in:
lib/onix/code.rb

Instance Attribute Summary

Attributes inherited from Code

#code

Attributes included from Attributes

#attributes

Low level collapse

Methods inherited from CodeFromYaml

code_ident, code_identifier, hash, list

Methods inherited from Code

from_code, from_human, hash

Methods included from CodeMethods

#onix, #parse

Methods inherited from Subset

parse, #parse, #tag_match, #unsupported

Methods included from Attributes

attribute_class, #parse_attributes, #serialized_attributes

Instance Method Details

#humanString

Returns humanized name (from code): NoConditions (00), IncludesUpdates (01), MustAlsoPurchaseUpdates (02), UpdatesAvailable (03), LinkedSubsequentPurchasePrice (04), LinkedPriorPurchasePrice (05), LinkedPrice (06), AutoRenewing (07), RentalDuration (10), RentalToPurchase (11), RentalExtension (12).

Returns:

  • (String)

    humanized name (from code): NoConditions (00), IncludesUpdates (01), MustAlsoPurchaseUpdates (02), UpdatesAvailable (03), LinkedSubsequentPurchasePrice (04), LinkedPriorPurchasePrice (05), LinkedPrice (06), AutoRenewing (07), RentalDuration (10), RentalToPurchase (11), RentalExtension (12)



531
# File 'lib/onix/code.rb', line 531

code_identifier 167