Class: SolidusBraintree::Transaction

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model
Defined in:
app/models/solidus_braintree/transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#addressObject

Returns the value of attribute address.



9
10
11
# File 'app/models/solidus_braintree/transaction.rb', line 9

def address
  @address
end

#device_dataObject

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

#emailObject

Returns the value of attribute email.



9
10
11
# File 'app/models/solidus_braintree/transaction.rb', line 9

def email
  @email
end

#nonceObject

Returns the value of attribute nonce.



9
10
11
# File 'app/models/solidus_braintree/transaction.rb', line 9

def nonce
  @nonce
end

#payment_methodObject

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_typeObject

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_sourceObject

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

#phoneObject

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