Class: NewOrderInfo
- Inherits:
-
Object
- Object
- NewOrderInfo
- Defined in:
- lib/compropago_sdk/factory/models/new_order_info.rb
Instance Attribute Summary collapse
-
#accepted_at ⇒ Object
Returns the value of attribute accepted_at.
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#api_version ⇒ Object
Returns the value of attribute api_version.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#customer ⇒ Object
Returns the value of attribute customer.
-
#expires_at ⇒ Object
Returns the value of attribute expires_at.
-
#fee ⇒ Object
Returns the value of attribute fee.
-
#fee_details ⇒ Object
Returns the value of attribute fee_details.
-
#id ⇒ Object
Returns the value of attribute id.
-
#instructions ⇒ Object
Returns the value of attribute instructions.
-
#livemode ⇒ Object
Returns the value of attribute livemode.
-
#object ⇒ Object
Returns the value of attribute object.
-
#order_info ⇒ Object
Returns the value of attribute order_info.
-
#paid ⇒ Object
Returns the value of attribute paid.
-
#refunded ⇒ Object
Returns the value of attribute refunded.
-
#short_id ⇒ Object
Returns the value of attribute short_id.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize ⇒ NewOrderInfo
constructor
A new instance of NewOrderInfo.
Constructor Details
#initialize ⇒ NewOrderInfo
22 23 24 25 26 27 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 22 def initialize @order_info = OrderInfo.new @fee_details = FeeDetails.new @customer = Customer.new @instructions = Instructions.new end |
Instance Attribute Details
#accepted_at ⇒ Object
Returns the value of attribute accepted_at.
8 9 10 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 8 def accepted_at @accepted_at end |
#amount ⇒ Object
Returns the value of attribute amount.
11 12 13 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 11 def amount @amount end |
#api_version ⇒ Object
Returns the value of attribute api_version.
20 21 22 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 20 def api_version @api_version end |
#created_at ⇒ Object
Returns the value of attribute created_at.
7 8 9 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 7 def created_at @created_at end |
#currency ⇒ Object
Returns the value of attribute currency.
13 14 15 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 13 def currency @currency end |
#customer ⇒ Object
Returns the value of attribute customer.
18 19 20 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 18 def customer @customer end |
#expires_at ⇒ Object
Returns the value of attribute expires_at.
9 10 11 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 9 def expires_at @expires_at end |
#fee ⇒ Object
Returns the value of attribute fee.
15 16 17 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 15 def fee @fee end |
#fee_details ⇒ Object
Returns the value of attribute fee_details.
16 17 18 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 16 def fee_details @fee_details end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 3 def id @id end |
#instructions ⇒ Object
Returns the value of attribute instructions.
19 20 21 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 19 def instructions @instructions end |
#livemode ⇒ Object
Returns the value of attribute livemode.
12 13 14 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 12 def livemode @livemode end |
#object ⇒ Object
Returns the value of attribute object.
6 7 8 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 6 def object @object end |
#order_info ⇒ Object
Returns the value of attribute order_info.
17 18 19 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 17 def order_info @order_info end |
#paid ⇒ Object
Returns the value of attribute paid.
10 11 12 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 10 def paid @paid end |
#refunded ⇒ Object
Returns the value of attribute refunded.
14 15 16 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 14 def refunded @refunded end |
#short_id ⇒ Object
Returns the value of attribute short_id.
4 5 6 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 4 def short_id @short_id end |
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/compropago_sdk/factory/models/new_order_info.rb', line 5 def type @type end |