Class: Mercadopago::Order::Request::ItemRequest
- Inherits:
-
Data
- Object
- Data
- Mercadopago::Order::Request::ItemRequest
- Includes:
- HashConversion
- Defined in:
- lib/mercadopago/resources/order/request.rb
Overview
F. items ==
Instance Attribute Summary collapse
-
#category_id ⇒ Object
readonly
Returns the value of attribute category_id.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#event_date ⇒ Object
readonly
Returns the value of attribute event_date.
-
#external_code ⇒ Object
readonly
Returns the value of attribute external_code.
-
#picture_url ⇒ Object
readonly
Returns the value of attribute picture_url.
-
#quantity ⇒ Object
readonly
Returns the value of attribute quantity.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#unit_price ⇒ Object
readonly
Returns the value of attribute unit_price.
-
#warranty ⇒ Object
readonly
Returns the value of attribute warranty.
Instance Method Summary collapse
-
#initialize(title: nil, type: nil, warranty: nil, event_date: nil, unit_price: nil, external_code: nil, category_id: nil, description: nil, picture_url: nil, quantity: nil) ⇒ ItemRequest
constructor
A new instance of ItemRequest.
Methods included from HashConversion
Constructor Details
#initialize(title: nil, type: nil, warranty: nil, event_date: nil, unit_price: nil, external_code: nil, category_id: nil, description: nil, picture_url: nil, quantity: nil) ⇒ ItemRequest
Returns a new instance of ItemRequest.
306 307 308 309 310 311 312 |
# File 'lib/mercadopago/resources/order/request.rb', line 306 def initialize( title: nil, type: nil, warranty: nil, event_date: nil, unit_price: nil, external_code: nil, category_id: nil, description: nil, picture_url: nil, quantity: nil ) super end |
Instance Attribute Details
#category_id ⇒ Object (readonly)
Returns the value of attribute category_id
292 293 294 |
# File 'lib/mercadopago/resources/order/request.rb', line 292 def category_id @category_id end |
#description ⇒ Object (readonly)
Returns the value of attribute description
292 293 294 |
# File 'lib/mercadopago/resources/order/request.rb', line 292 def description @description end |
#event_date ⇒ Object (readonly)
Returns the value of attribute event_date
292 293 294 |
# File 'lib/mercadopago/resources/order/request.rb', line 292 def event_date @event_date end |
#external_code ⇒ Object (readonly)
Returns the value of attribute external_code
292 293 294 |
# File 'lib/mercadopago/resources/order/request.rb', line 292 def external_code @external_code end |
#picture_url ⇒ Object (readonly)
Returns the value of attribute picture_url
292 293 294 |
# File 'lib/mercadopago/resources/order/request.rb', line 292 def picture_url @picture_url end |
#quantity ⇒ Object (readonly)
Returns the value of attribute quantity
292 293 294 |
# File 'lib/mercadopago/resources/order/request.rb', line 292 def quantity @quantity end |
#title ⇒ Object (readonly)
Returns the value of attribute title
292 293 294 |
# File 'lib/mercadopago/resources/order/request.rb', line 292 def title @title end |
#type ⇒ Object (readonly)
Returns the value of attribute type
292 293 294 |
# File 'lib/mercadopago/resources/order/request.rb', line 292 def type @type end |
#unit_price ⇒ Object (readonly)
Returns the value of attribute unit_price
292 293 294 |
# File 'lib/mercadopago/resources/order/request.rb', line 292 def unit_price @unit_price end |
#warranty ⇒ Object (readonly)
Returns the value of attribute warranty
292 293 294 |
# File 'lib/mercadopago/resources/order/request.rb', line 292 def warranty @warranty end |