Class: ONIX::DiscountType
- Inherits:
-
CodeFromYaml
- Object
- Subset
- Code
- CodeFromYaml
- ONIX::DiscountType
- Defined in:
- lib/onix/code.rb
Instance Attribute Summary
Attributes inherited from Code
Attributes included from Attributes
Low level collapse
-
#human ⇒ String
Humanized name (from code): RisingDiscount (01), RisingDiscountCumulative (02), ProgressiveDiscount (03), ProgressiveDiscountCumulative (04).
Methods inherited from CodeFromYaml
code_ident, code_identifier, hash, list
Methods inherited from Code
Methods included from CodeMethods
Methods inherited from Subset
parse, #parse, #tag_match, #unsupported
Methods included from Attributes
attribute_class, #parse_attributes, #serialized_attributes
Instance Method Details
#human ⇒ String
Returns humanized name (from code): RisingDiscount (01), RisingDiscountCumulative (02), ProgressiveDiscount (03), ProgressiveDiscountCumulative (04).
543 |
# File 'lib/onix/code.rb', line 543 code_identifier 170 |