Class: Braintree::SepaDirectDebitAccountNonceDetails
- Inherits:
-
Object
- Object
- Braintree::SepaDirectDebitAccountNonceDetails
- Includes:
- BaseModule
- Defined in:
- lib/braintree/sepa_direct_debit_account_nonce_details.rb
Instance Attribute Summary collapse
-
#bank_reference_token ⇒ Object
readonly
Returns the value of attribute bank_reference_token.
-
#last_4 ⇒ Object
readonly
Returns the value of attribute last_4.
-
#mandate_type ⇒ Object
readonly
Returns the value of attribute mandate_type.
-
#merchant_or_partner_customer_id ⇒ Object
readonly
Returns the value of attribute merchant_or_partner_customer_id.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ SepaDirectDebitAccountNonceDetails
constructor
A new instance of SepaDirectDebitAccountNonceDetails.
- #inspect ⇒ Object
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) ⇒ SepaDirectDebitAccountNonceDetails
Returns a new instance of SepaDirectDebitAccountNonceDetails.
10 11 12 |
# File 'lib/braintree/sepa_direct_debit_account_nonce_details.rb', line 10 def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end |
Instance Attribute Details
#bank_reference_token ⇒ Object (readonly)
Returns the value of attribute bank_reference_token.
5 6 7 |
# File 'lib/braintree/sepa_direct_debit_account_nonce_details.rb', line 5 def bank_reference_token @bank_reference_token end |
#last_4 ⇒ Object (readonly)
Returns the value of attribute last_4.
6 7 8 |
# File 'lib/braintree/sepa_direct_debit_account_nonce_details.rb', line 6 def last_4 @last_4 end |
#mandate_type ⇒ Object (readonly)
Returns the value of attribute mandate_type.
7 8 9 |
# File 'lib/braintree/sepa_direct_debit_account_nonce_details.rb', line 7 def mandate_type @mandate_type end |
#merchant_or_partner_customer_id ⇒ Object (readonly)
Returns the value of attribute merchant_or_partner_customer_id.
8 9 10 |
# File 'lib/braintree/sepa_direct_debit_account_nonce_details.rb', line 8 def merchant_or_partner_customer_id @merchant_or_partner_customer_id end |
Instance Method Details
#inspect ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/braintree/sepa_direct_debit_account_nonce_details.rb', line 14 def inspect attr_order = [ :bank_reference_token, :last_4, :mandate_type, :merchant_or_partner_customer_id, ] formatted_attrs = attr_order.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<SepaDirectDebitAccountNonceDetails#{formatted_attrs.join(", ")}>" end |