Class: RBook::TitlePage::Price
- Inherits:
-
Object
- Object
- RBook::TitlePage::Price
- Defined in:
- lib/rbook/titlepage/titlepage_utils.rb
Overview
urn:TitleQueryPrice
Constant Summary collapse
- @@schema_type =
"Price"
- @@schema_ns =
"urn:TitleQuery"
- @@schema_element =
[["priceTypeCode", ["SOAP::SOAPString", XSD::QName.new(nil, "PriceTypeCode")]], ["priceAmount", ["SOAP::SOAPDecimal", XSD::QName.new(nil, "PriceAmount")]]]
Instance Method Summary collapse
-
#initialize(priceTypeCode = nil, priceAmount = nil) ⇒ Price
constructor
A new instance of Price.
- #PriceAmount ⇒ Object
- #PriceAmount=(value) ⇒ Object
- #PriceTypeCode ⇒ Object
- #PriceTypeCode=(value) ⇒ Object
Constructor Details
#initialize(priceTypeCode = nil, priceAmount = nil) ⇒ Price
Returns a new instance of Price.
203 204 205 206 |
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 203 def initialize(priceTypeCode = nil, priceAmount = nil) @priceTypeCode = priceTypeCode @priceAmount = priceAmount end |
Instance Method Details
#PriceAmount ⇒ Object
195 196 197 |
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 195 def PriceAmount @priceAmount end |
#PriceAmount=(value) ⇒ Object
199 200 201 |
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 199 def PriceAmount=(value) @priceAmount = value end |
#PriceTypeCode ⇒ Object
187 188 189 |
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 187 def PriceTypeCode @priceTypeCode end |
#PriceTypeCode=(value) ⇒ Object
191 192 193 |
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 191 def PriceTypeCode=(value) @priceTypeCode = value end |