Class: Affirm::Struct::Checkout

Inherits:
Base
  • Object
show all
Defined in:
lib/affirm/structs/checkout.rb

Defined Under Namespace

Classes: Response

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Affirm::Struct::Base

Instance Attribute Details

#api_versionObject

Returns the value of attribute api_version.



4
5
6
# File 'lib/affirm/structs/checkout.rb', line 4

def api_version
  @api_version
end

#billingObject

Returns the value of attribute billing.



5
6
7
# File 'lib/affirm/structs/checkout.rb', line 5

def billing
  @billing
end

#checkout_flow_typeObject

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_statusObject

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_typeObject

Returns the value of attribute checkout_type.



8
9
10
# File 'lib/affirm/structs/checkout.rb', line 8

def checkout_type
  @checkout_type
end

#configObject

Returns the value of attribute config.



9
10
11
# File 'lib/affirm/structs/checkout.rb', line 9

def config
  @config
end

#currencyObject

Returns the value of attribute currency.



10
11
12
# File 'lib/affirm/structs/checkout.rb', line 10

def currency
  @currency
end

#discountsObject

Returns the value of attribute discounts.



11
12
13
# File 'lib/affirm/structs/checkout.rb', line 11

def discounts
  @discounts
end

#financing_program_external_nameObject

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_nameObject

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

#itemsObject

Returns the value of attribute items.



14
15
16
# File 'lib/affirm/structs/checkout.rb', line 14

def items
  @items
end

#loan_typeObject

Returns the value of attribute loan_type.



15
16
17
# File 'lib/affirm/structs/checkout.rb', line 15

def loan_type
  @loan_type
end

#merchantObject

Returns the value of attribute merchant.



16
17
18
# File 'lib/affirm/structs/checkout.rb', line 16

def merchant
  @merchant
end

#merchant_external_referenceObject

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_dataObject

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_idObject

Returns the value of attribute order_id.



19
20
21
# File 'lib/affirm/structs/checkout.rb', line 19

def order_id
  @order_id
end

#productObject

Returns the value of attribute product.



20
21
22
# File 'lib/affirm/structs/checkout.rb', line 20

def product
  @product
end

#shippingObject

Returns the value of attribute shipping.



21
22
23
# File 'lib/affirm/structs/checkout.rb', line 21

def shipping
  @shipping
end

#shipping_amountObject

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_amountObject

Returns the value of attribute tax_amount.



23
24
25
# File 'lib/affirm/structs/checkout.rb', line 23

def tax_amount
  @tax_amount
end

#totalObject

Returns the value of attribute total.



24
25
26
# File 'lib/affirm/structs/checkout.rb', line 24

def total
  @total
end