Class: AgridClient::Sale
- Inherits:
-
Object
- Object
- AgridClient::Sale
- Includes:
- SwaggerModel
- Defined in:
- lib/agrid_client/models/sale.rb
Instance Attribute Summary collapse
-
#expiration_date ⇒ Object
Returns the value of attribute expiration_date.
-
#note ⇒ Object
Returns the value of attribute note.
-
#price ⇒ Object
Returns the value of attribute price.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Methods included from SwaggerModel
#_deserialize, #_to_hash, #build_from_hash, #eql?, #to_body, #to_hash
Instance Attribute Details
#expiration_date ⇒ Object
Returns the value of attribute expiration_date.
8 9 10 |
# File 'lib/agrid_client/models/sale.rb', line 8 def expiration_date @expiration_date end |
#note ⇒ Object
Returns the value of attribute note.
8 9 10 |
# File 'lib/agrid_client/models/sale.rb', line 8 def note @note end |
#price ⇒ Object
Returns the value of attribute price.
8 9 10 |
# File 'lib/agrid_client/models/sale.rb', line 8 def price @price end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
11 12 13 14 15 16 17 |
# File 'lib/agrid_client/models/sale.rb', line 11 def self.attribute_map { :'price' => :'price', :'expiration_date' => :'expiration_date', :'note' => :'note', } end |
.swagger_types ⇒ Object
Attribute type mapping.
20 21 22 23 24 25 26 |
# File 'lib/agrid_client/models/sale.rb', line 20 def self.swagger_types { :'price' => :'Float', :'expiration_date' => :'DateTime', :'note' => :'String', } end |