class AgridClient::Sale

Attributes

expiration_date[RW]
note[RW]
price[RW]

Public Class Methods

attribute_map() click to toggle source

Attribute mapping from ruby-style variable name to JSON key.

# File lib/agrid_client/models/sale.rb, line 11
def self.attribute_map
  {
    :'price' => :'price',
    :'expiration_date' => :'expiration_date',
    :'note' => :'note',
  }
end
swagger_types() click to toggle source

Attribute type mapping.

# File lib/agrid_client/models/sale.rb, line 20
def self.swagger_types
  {
    :'price' => :'Float',
    :'expiration_date' => :'DateTime',
    :'note' => :'String',
  }
end