Class: Affirm::Struct::Checkout
- Defined in:
- lib/affirm/structs/checkout.rb
Defined Under Namespace
Classes: Response
Instance Attribute Summary collapse
-
#api_version ⇒ Object
Returns the value of attribute api_version.
-
#billing ⇒ Object
Returns the value of attribute billing.
-
#checkout_flow_type ⇒ Object
Returns the value of attribute checkout_flow_type.
-
#checkout_status ⇒ Object
Returns the value of attribute checkout_status.
-
#checkout_type ⇒ Object
Returns the value of attribute checkout_type.
-
#config ⇒ Object
Returns the value of attribute config.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#discounts ⇒ Object
Returns the value of attribute discounts.
-
#financing_program_external_name ⇒ Object
Returns the value of attribute financing_program_external_name.
-
#financing_program_name ⇒ Object
Returns the value of attribute financing_program_name.
-
#items ⇒ Object
Returns the value of attribute items.
-
#loan_type ⇒ Object
Returns the value of attribute loan_type.
-
#merchant ⇒ Object
Returns the value of attribute merchant.
-
#merchant_external_reference ⇒ Object
Returns the value of attribute merchant_external_reference.
-
#mfp_rule_input_data ⇒ Object
Returns the value of attribute mfp_rule_input_data.
-
#order_id ⇒ Object
Returns the value of attribute order_id.
-
#product ⇒ Object
Returns the value of attribute product.
-
#shipping ⇒ Object
Returns the value of attribute shipping.
-
#shipping_amount ⇒ Object
Returns the value of attribute shipping_amount.
-
#tax_amount ⇒ Object
Returns the value of attribute tax_amount.
-
#total ⇒ Object
Returns the value of attribute total.
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Affirm::Struct::Base
Instance Attribute Details
#api_version ⇒ Object
Returns the value of attribute api_version.
4 5 6 |
# File 'lib/affirm/structs/checkout.rb', line 4 def api_version @api_version end |
#billing ⇒ Object
Returns the value of attribute billing.
5 6 7 |
# File 'lib/affirm/structs/checkout.rb', line 5 def billing @billing end |
#checkout_flow_type ⇒ Object
Returns the value of attribute checkout_flow_type.
6 7 8 |
# File 'lib/affirm/structs/checkout.rb', line 6 def checkout_flow_type @checkout_flow_type end |
#checkout_status ⇒ Object
Returns the value of attribute checkout_status.
7 8 9 |
# File 'lib/affirm/structs/checkout.rb', line 7 def checkout_status @checkout_status end |
#checkout_type ⇒ Object
Returns the value of attribute checkout_type.
8 9 10 |
# File 'lib/affirm/structs/checkout.rb', line 8 def checkout_type @checkout_type end |
#config ⇒ Object
Returns the value of attribute config.
9 10 11 |
# File 'lib/affirm/structs/checkout.rb', line 9 def config @config end |
#currency ⇒ Object
Returns the value of attribute currency.
10 11 12 |
# File 'lib/affirm/structs/checkout.rb', line 10 def currency @currency end |
#discounts ⇒ Object
Returns the value of attribute discounts.
11 12 13 |
# File 'lib/affirm/structs/checkout.rb', line 11 def discounts @discounts end |
#financing_program_external_name ⇒ Object
Returns the value of attribute financing_program_external_name.
12 13 14 |
# File 'lib/affirm/structs/checkout.rb', line 12 def financing_program_external_name @financing_program_external_name end |
#financing_program_name ⇒ Object
Returns the value of attribute financing_program_name.
13 14 15 |
# File 'lib/affirm/structs/checkout.rb', line 13 def financing_program_name @financing_program_name end |
#items ⇒ Object
Returns the value of attribute items.
14 15 16 |
# File 'lib/affirm/structs/checkout.rb', line 14 def items @items end |
#loan_type ⇒ Object
Returns the value of attribute loan_type.
15 16 17 |
# File 'lib/affirm/structs/checkout.rb', line 15 def loan_type @loan_type end |
#merchant ⇒ Object
Returns the value of attribute merchant.
16 17 18 |
# File 'lib/affirm/structs/checkout.rb', line 16 def merchant @merchant end |
#merchant_external_reference ⇒ Object
Returns the value of attribute merchant_external_reference.
17 18 19 |
# File 'lib/affirm/structs/checkout.rb', line 17 def merchant_external_reference @merchant_external_reference end |
#mfp_rule_input_data ⇒ Object
Returns the value of attribute mfp_rule_input_data.
18 19 20 |
# File 'lib/affirm/structs/checkout.rb', line 18 def mfp_rule_input_data @mfp_rule_input_data end |
#order_id ⇒ Object
Returns the value of attribute order_id.
19 20 21 |
# File 'lib/affirm/structs/checkout.rb', line 19 def order_id @order_id end |
#product ⇒ Object
Returns the value of attribute product.
20 21 22 |
# File 'lib/affirm/structs/checkout.rb', line 20 def product @product end |
#shipping ⇒ Object
Returns the value of attribute shipping.
21 22 23 |
# File 'lib/affirm/structs/checkout.rb', line 21 def shipping @shipping end |
#shipping_amount ⇒ Object
Returns the value of attribute shipping_amount.
22 23 24 |
# File 'lib/affirm/structs/checkout.rb', line 22 def shipping_amount @shipping_amount end |
#tax_amount ⇒ Object
Returns the value of attribute tax_amount.
23 24 25 |
# File 'lib/affirm/structs/checkout.rb', line 23 def tax_amount @tax_amount end |
#total ⇒ Object
Returns the value of attribute total.
24 25 26 |
# File 'lib/affirm/structs/checkout.rb', line 24 def total @total end |