Class: Mercadopago::Order::Request::CreateRequest
- Inherits:
-
Data
- Object
- Data
- Mercadopago::Order::Request::CreateRequest
- Includes:
- HashConversion
- Defined in:
- lib/mercadopago/resources/order/request.rb
Overview
A. Order root ==
Root of the Orders API create request body.
Instance Attribute Summary collapse
-
#additional_info ⇒ Object
readonly
Returns the value of attribute additional_info.
-
#capture_mode ⇒ Object
readonly
Returns the value of attribute capture_mode.
-
#checkout_available_at ⇒ Object
readonly
Returns the value of attribute checkout_available_at.
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#currency ⇒ Object
readonly
Returns the value of attribute currency.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#expiration_time ⇒ Object
readonly
Returns the value of attribute expiration_time.
-
#external_reference ⇒ Object
readonly
Returns the value of attribute external_reference.
-
#integration_data ⇒ Object
readonly
Returns the value of attribute integration_data.
-
#items ⇒ Object
readonly
Returns the value of attribute items.
-
#marketplace ⇒ Object
readonly
Returns the value of attribute marketplace.
-
#marketplace_fee ⇒ Object
readonly
Returns the value of attribute marketplace_fee.
-
#payer ⇒ Object
readonly
Returns the value of attribute payer.
-
#processing_mode ⇒ Object
readonly
Returns the value of attribute processing_mode.
-
#shipment ⇒ Object
readonly
Returns the value of attribute shipment.
-
#total_amount ⇒ Object
readonly
Returns the value of attribute total_amount.
-
#transactions ⇒ Object
readonly
Returns the value of attribute transactions.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type: nil, external_reference: nil, total_amount: nil, currency: nil, capture_mode: nil, processing_mode: nil, description: nil, marketplace: nil, marketplace_fee: nil, expiration_time: nil, checkout_available_at: nil, transactions: nil, payer: nil, items: nil, config: nil, shipment: nil, additional_info: nil, integration_data: nil) ⇒ CreateRequest
constructor
A new instance of CreateRequest.
Methods included from HashConversion
Constructor Details
#initialize(type: nil, external_reference: nil, total_amount: nil, currency: nil, capture_mode: nil, processing_mode: nil, description: nil, marketplace: nil, marketplace_fee: nil, expiration_time: nil, checkout_available_at: nil, transactions: nil, payer: nil, items: nil, config: nil, shipment: nil, additional_info: nil, integration_data: nil) ⇒ CreateRequest
Returns a new instance of CreateRequest.
103 104 105 106 107 108 109 110 111 |
# File 'lib/mercadopago/resources/order/request.rb', line 103 def initialize( type: nil, external_reference: nil, total_amount: nil, currency: nil, capture_mode: nil, processing_mode: nil, description: nil, marketplace: nil, marketplace_fee: nil, expiration_time: nil, checkout_available_at: nil, transactions: nil, payer: nil, items: nil, config: nil, shipment: nil, additional_info: nil, integration_data: nil ) super end |
Instance Attribute Details
#additional_info ⇒ Object (readonly)
Returns the value of attribute additional_info
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def additional_info @additional_info end |
#capture_mode ⇒ Object (readonly)
Returns the value of attribute capture_mode
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def capture_mode @capture_mode end |
#checkout_available_at ⇒ Object (readonly)
Returns the value of attribute checkout_available_at
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def checkout_available_at @checkout_available_at end |
#config ⇒ Object (readonly)
Returns the value of attribute config
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def config @config end |
#currency ⇒ Object (readonly)
Returns the value of attribute currency
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def currency @currency end |
#description ⇒ Object (readonly)
Returns the value of attribute description
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def description @description end |
#expiration_time ⇒ Object (readonly)
Returns the value of attribute expiration_time
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def expiration_time @expiration_time end |
#external_reference ⇒ Object (readonly)
Returns the value of attribute external_reference
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def external_reference @external_reference end |
#integration_data ⇒ Object (readonly)
Returns the value of attribute integration_data
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def integration_data @integration_data end |
#items ⇒ Object (readonly)
Returns the value of attribute items
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def items @items end |
#marketplace ⇒ Object (readonly)
Returns the value of attribute marketplace
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def marketplace @marketplace end |
#marketplace_fee ⇒ Object (readonly)
Returns the value of attribute marketplace_fee
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def marketplace_fee @marketplace_fee end |
#payer ⇒ Object (readonly)
Returns the value of attribute payer
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def payer @payer end |
#processing_mode ⇒ Object (readonly)
Returns the value of attribute processing_mode
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def processing_mode @processing_mode end |
#shipment ⇒ Object (readonly)
Returns the value of attribute shipment
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def shipment @shipment end |
#total_amount ⇒ Object (readonly)
Returns the value of attribute total_amount
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def total_amount @total_amount end |
#transactions ⇒ Object (readonly)
Returns the value of attribute transactions
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def transactions @transactions end |
#type ⇒ Object (readonly)
Returns the value of attribute type
81 82 83 |
# File 'lib/mercadopago/resources/order/request.rb', line 81 def type @type end |