Home | Trees | Indices | Help |
---|
|
object --+ | gxml.Node --+ | shipping_option_t
>>> test_node( ... shipping_option_t( ... name = 'Testing', ... price = price_t( ... currency = 'GBP', ... value = 9.99, ... ), ... allowed_areas = allowed_areas_t( ... world_area = True, ... ), ... excluded_areas = excluded_areas_t( ... postal_areas = [postal_area_t( ... country_code = 'US', ... )], ... ), ... ) ... , ''' ... <node name='Testing'> ... <price currency='GBP'>9.990</price> ... <shipping-restrictions> ... <allowed-areas> ... <world-area/> ... </allowed-areas> ... <excluded-areas> ... <postal-area> ... <country-code>US</country-code> ... </postal-area> ... </excluded-areas> ... </shipping-restrictions> ... </node> ... ''')
|
|||
Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
|
|||
name = String:PATH(@name):REQ:EMPTY
|
|||
price = Node:PATH(price):REQ:{ price_t }
|
|||
allowed_areas = Node:PATH(shipping-restrictions/allowed-areas)
|
|||
excluded_areas = Node:PATH(shipping-restrictions/excluded-area
|
|||
_fields =
list of meta-Fields of this class. |
|
|||
Inherited from |
|
allowed_areas
|
excluded_areas
|
_fieldslist of meta-Fields of this class.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Sun Sep 7 23:26:46 2008 | http://epydoc.sourceforge.net |