Class: SolidusBraintree::Transaction
- Inherits:
-
Object
- Object
- SolidusBraintree::Transaction
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/solidus_braintree/transaction.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#device_data ⇒ Object
Returns the value of attribute device_data.
-
#email ⇒ Object
Returns the value of attribute email.
-
#nonce ⇒ Object
Returns the value of attribute nonce.
-
#payment_method ⇒ Object
Returns the value of attribute payment_method.
-
#payment_type ⇒ Object
Returns the value of attribute payment_type.
-
#paypal_funding_source ⇒ Object
Returns the value of attribute paypal_funding_source.
-
#phone ⇒ Object
Returns the value of attribute phone.
Instance Method Summary collapse
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
9 10 11 |
# File 'app/models/solidus_braintree/transaction.rb', line 9 def address @address end |
#device_data ⇒ Object
Returns the value of attribute device_data.
9 10 11 |
# File 'app/models/solidus_braintree/transaction.rb', line 9 def device_data @device_data end |
#email ⇒ Object
Returns the value of attribute email.
9 10 11 |
# File 'app/models/solidus_braintree/transaction.rb', line 9 def email @email end |
#nonce ⇒ Object
Returns the value of attribute nonce.
9 10 11 |
# File 'app/models/solidus_braintree/transaction.rb', line 9 def nonce @nonce end |
#payment_method ⇒ Object
Returns the value of attribute payment_method.
9 10 11 |
# File 'app/models/solidus_braintree/transaction.rb', line 9 def payment_method @payment_method end |
#payment_type ⇒ Object
Returns the value of attribute payment_type.
9 10 11 |
# File 'app/models/solidus_braintree/transaction.rb', line 9 def payment_type @payment_type end |
#paypal_funding_source ⇒ Object
Returns the value of attribute paypal_funding_source.
9 10 11 |
# File 'app/models/solidus_braintree/transaction.rb', line 9 def paypal_funding_source @paypal_funding_source end |
#phone ⇒ Object
Returns the value of attribute phone.
9 10 11 |
# File 'app/models/solidus_braintree/transaction.rb', line 9 def phone @phone end |
Instance Method Details
#address_attributes=(attributes) ⇒ Object
27 28 29 |
# File 'app/models/solidus_braintree/transaction.rb', line 27 def address_attributes=(attributes) self.address = TransactionAddress.new attributes end |