Class: ONIX::PriceType

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): RrpExcludingTax (01), RrpIncludingTax (02), FrpExcludingTax (03), FrpIncludingTax (04), SuppliersNetPriceExcludingTax (05), SuppliersNetPriceExcludingTaxRentalGoods (06), SuppliersNetPriceIncludingTax (07), SuppliersAlternativeNetPriceExcludingTax (08), SuppliersAlternativeNetPriceIncludingTax (09), SpecialSaleRrpExcludingTax (11), SpecialSaleRrpIncludingTax (12), SpecialSaleFixedRetailPriceExcludingTax (13), SpecialSaleFixedRetailPriceIncludingTax (14), SuppliersNetPriceForSpecialSaleExcludingTax (15), SuppliersNetPriceForSpecialSaleIncludingTax (17), PrePublicationRrpExcludingTax (21), PrePublicationRrpIncludingTax (22), PrePublicationFixedRetailPriceExcludingTax (23), PrePublicationFixedRetailPriceIncludingTax (24), SuppliersPrePublicationNetPriceExcludingTax (25), SuppliersPrePublicationNetPriceIncludingTax (27), FreightPassThroughRrpExcludingTax (31), FreightPassThroughBillingPriceExcludingTax (32), ImportersFixedRetailPriceExcludingTax (33), ImportersFixedRetailPriceIncludingTax (34), PublishersRetailPriceExcludingTax (41), PublishersRetailPriceIncludingTax (42).

Returns:

  • (String)

    humanized name (from code): RrpExcludingTax (01), RrpIncludingTax (02), FrpExcludingTax (03), FrpIncludingTax (04), SuppliersNetPriceExcludingTax (05), SuppliersNetPriceExcludingTaxRentalGoods (06), SuppliersNetPriceIncludingTax (07), SuppliersAlternativeNetPriceExcludingTax (08), SuppliersAlternativeNetPriceIncludingTax (09), SpecialSaleRrpExcludingTax (11), SpecialSaleRrpIncludingTax (12), SpecialSaleFixedRetailPriceExcludingTax (13), SpecialSaleFixedRetailPriceIncludingTax (14), SuppliersNetPriceForSpecialSaleExcludingTax (15), SuppliersNetPriceForSpecialSaleIncludingTax (17), PrePublicationRrpExcludingTax (21), PrePublicationRrpIncludingTax (22), PrePublicationFixedRetailPriceExcludingTax (23), PrePublicationFixedRetailPriceIncludingTax (24), SuppliersPrePublicationNetPriceExcludingTax (25), SuppliersPrePublicationNetPriceIncludingTax (27), FreightPassThroughRrpExcludingTax (31), FreightPassThroughBillingPriceExcludingTax (32), ImportersFixedRetailPriceExcludingTax (33), ImportersFixedRetailPriceIncludingTax (34), PublishersRetailPriceExcludingTax (41), PublishersRetailPriceIncludingTax (42)



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

code_identifier 58