Class: RBook::TitlePage::SupplyDetail

Inherits:
Object
  • Object
show all
Defined in:
lib/rbook/titlepage/titlepage_utils.rb

Overview

urn:TitleQuerySupplyDetail

Constant Summary collapse

@@schema_type =
"SupplyDetail"
@@schema_ns =
"urn:TitleQuery"
@@schema_element =
[["supplierName", ["SOAP::SOAPString", XSD::QName.new(nil, "SupplierName")]], ["supplierRole", ["SOAP::SOAPString", XSD::QName.new(nil, "SupplierRole")]], ["productAvailability", ["SOAP::SOAPString", XSD::QName.new(nil, "ProductAvailability")]], ["expectedShipDate", ["SOAP::SOAPString", XSD::QName.new(nil, "ExpectedShipDate")]], ["stock", ["Stock", XSD::QName.new(nil, "Stock")]], ["packQuantity", ["SOAP::SOAPInteger", XSD::QName.new(nil, "PackQuantity")]], ["price", ["Price", XSD::QName.new(nil, "Price")]]]

Instance Method Summary collapse

Constructor Details

#initialize(supplierName = nil, supplierRole = nil, productAvailability = nil, expectedShipDate = nil, stock = nil, packQuantity = nil, price = nil) ⇒ SupplyDetail

Returns a new instance of SupplyDetail.



271
272
273
274
275
276
277
278
279
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 271

def initialize(supplierName = nil, supplierRole = nil, productAvailability = nil, expectedShipDate = nil, stock = nil, packQuantity = nil, price = nil)
  @supplierName = supplierName
  @supplierRole = supplierRole
  @productAvailability = productAvailability
  @expectedShipDate = expectedShipDate
  @stock = stock
  @packQuantity = packQuantity
  @price = price
end

Instance Method Details

#ExpectedShipDateObject



239
240
241
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 239

def ExpectedShipDate
  @expectedShipDate
end

#ExpectedShipDate=(value) ⇒ Object



243
244
245
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 243

def ExpectedShipDate=(value)
  @expectedShipDate = value
end

#PackQuantityObject



255
256
257
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 255

def PackQuantity
  @packQuantity
end

#PackQuantity=(value) ⇒ Object



259
260
261
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 259

def PackQuantity=(value)
  @packQuantity = value
end

#PriceObject



263
264
265
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 263

def Price
  @price
end

#Price=(value) ⇒ Object



267
268
269
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 267

def Price=(value)
  @price = value
end

#ProductAvailabilityObject



231
232
233
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 231

def ProductAvailability
  @productAvailability
end

#ProductAvailability=(value) ⇒ Object



235
236
237
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 235

def ProductAvailability=(value)
  @productAvailability = value
end

#StockObject



247
248
249
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 247

def Stock
  @stock
end

#Stock=(value) ⇒ Object



251
252
253
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 251

def Stock=(value)
  @stock = value
end

#SupplierNameObject



215
216
217
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 215

def SupplierName
  @supplierName
end

#SupplierName=(value) ⇒ Object



219
220
221
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 219

def SupplierName=(value)
  @supplierName = value
end

#SupplierRoleObject



223
224
225
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 223

def SupplierRole
  @supplierRole
end

#SupplierRole=(value) ⇒ Object



227
228
229
# File 'lib/rbook/titlepage/titlepage_utils.rb', line 227

def SupplierRole=(value)
  @supplierRole = value
end