Class: ONIX::DiscountCoded

Inherits:
SubsetDSL show all
Defined in:
lib/onix/discount_coded.rb

Instance Method Summary collapse

Methods inherited from SubsetDSL

_ancestor_registered_scopes, _ancestors_registered_elements, ancestor_registered_scopes, ancestors_registered_elements, element, elements, get_class, #initialize, #parse, ref_to_short, registered_elements, registered_scopes, scope, short_to_ref, #unsupported

Methods inherited from Subset

parse, #parse, tag_match, #tag_match, #unsupported

Constructor Details

This class inherits a constructor from ONIX::SubsetDSL

Instance Method Details

#codeObject



16
17
18
# File 'lib/onix/discount_coded.rb', line 16

def code
  @discount_code
end

#code_typeObject

shortcuts



8
9
10
# File 'lib/onix/discount_coded.rb', line 8

def code_type
  @discount_code_type
end

#code_type_nameObject



12
13
14
# File 'lib/onix/discount_coded.rb', line 12

def code_type_name
  @discount_code_type_name
end