Class: Braintree::MerchantAccount::FundingDetails
- Inherits:
-
Object
- Object
- Braintree::MerchantAccount::FundingDetails
- Includes:
- BaseModule
- Defined in:
- lib/braintree/merchant_account/funding_details.rb
Instance Attribute Summary collapse
-
#account_number_last_4 ⇒ Object
readonly
Returns the value of attribute account_number_last_4.
-
#descriptor ⇒ Object
readonly
Returns the value of attribute descriptor.
-
#destination ⇒ Object
readonly
Returns the value of attribute destination.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#mobile_phone ⇒ Object
readonly
Returns the value of attribute mobile_phone.
-
#routing_number ⇒ Object
readonly
Returns the value of attribute routing_number.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ FundingDetails
constructor
A new instance of FundingDetails.
Methods included from BaseModule
Methods included from BaseModule::Methods
#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class
Constructor Details
#initialize(attributes) ⇒ FundingDetails
Returns a new instance of FundingDetails.
13 14 15 |
# File 'lib/braintree/merchant_account/funding_details.rb', line 13 def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end |
Instance Attribute Details
#account_number_last_4 ⇒ Object (readonly)
Returns the value of attribute account_number_last_4.
6 7 8 |
# File 'lib/braintree/merchant_account/funding_details.rb', line 6 def account_number_last_4 @account_number_last_4 end |
#descriptor ⇒ Object (readonly)
Returns the value of attribute descriptor.
7 8 9 |
# File 'lib/braintree/merchant_account/funding_details.rb', line 7 def descriptor @descriptor end |
#destination ⇒ Object (readonly)
Returns the value of attribute destination.
8 9 10 |
# File 'lib/braintree/merchant_account/funding_details.rb', line 8 def destination @destination end |
#email ⇒ Object (readonly)
Returns the value of attribute email.
9 10 11 |
# File 'lib/braintree/merchant_account/funding_details.rb', line 9 def email @email end |
#mobile_phone ⇒ Object (readonly)
Returns the value of attribute mobile_phone.
10 11 12 |
# File 'lib/braintree/merchant_account/funding_details.rb', line 10 def mobile_phone @mobile_phone end |
#routing_number ⇒ Object (readonly)
Returns the value of attribute routing_number.
11 12 13 |
# File 'lib/braintree/merchant_account/funding_details.rb', line 11 def routing_number @routing_number end |