Class: Braintree::UsBankAccountVerification
- Inherits:
-
Object
- Object
- Braintree::UsBankAccountVerification
- Includes:
- BaseModule, Braintree::Util::IdEquality
- Defined in:
- lib/braintree/us_bank_account_verification.rb
Defined Under Namespace
Modules: Status, VerificationMethod
Instance Attribute Summary collapse
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#gateway_rejection_reason ⇒ Object
readonly
Returns the value of attribute gateway_rejection_reason.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#merchant_account_id ⇒ Object
readonly
Returns the value of attribute merchant_account_id.
-
#processor_response_code ⇒ Object
readonly
Returns the value of attribute processor_response_code.
-
#processor_response_text ⇒ Object
readonly
Returns the value of attribute processor_response_text.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#us_bank_account ⇒ Object
readonly
Returns the value of attribute us_bank_account.
-
#verification_determined_at ⇒ Object
readonly
Returns the value of attribute verification_determined_at.
-
#verification_method ⇒ Object
readonly
Returns the value of attribute verification_method.
Class Method Summary collapse
-
._new(*args) ⇒ Object
:nodoc:.
- .confirm_micro_transfer_amounts(*args) ⇒ Object
- .find(*args) ⇒ Object
- .search(&block) ⇒ Object
Instance Method Summary collapse
-
#initialize(attributes) ⇒ UsBankAccountVerification
constructor
:nodoc:.
-
#inspect ⇒ Object
:nodoc:.
Methods included from Braintree::Util::IdEquality
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) ⇒ UsBankAccountVerification
:nodoc:
36 37 38 |
# File 'lib/braintree/us_bank_account_verification.rb', line 36 def initialize(attributes) # :nodoc: set_instance_variables_from_hash(attributes) end |
Instance Attribute Details
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
34 35 36 |
# File 'lib/braintree/us_bank_account_verification.rb', line 34 def created_at @created_at end |
#gateway_rejection_reason ⇒ Object (readonly)
Returns the value of attribute gateway_rejection_reason.
32 33 34 |
# File 'lib/braintree/us_bank_account_verification.rb', line 32 def gateway_rejection_reason @gateway_rejection_reason end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
25 26 27 |
# File 'lib/braintree/us_bank_account_verification.rb', line 25 def id @id end |
#merchant_account_id ⇒ Object (readonly)
Returns the value of attribute merchant_account_id.
31 32 33 |
# File 'lib/braintree/us_bank_account_verification.rb', line 31 def merchant_account_id @merchant_account_id end |
#processor_response_code ⇒ Object (readonly)
Returns the value of attribute processor_response_code.
29 30 31 |
# File 'lib/braintree/us_bank_account_verification.rb', line 29 def processor_response_code @processor_response_code end |
#processor_response_text ⇒ Object (readonly)
Returns the value of attribute processor_response_text.
30 31 32 |
# File 'lib/braintree/us_bank_account_verification.rb', line 30 def processor_response_text @processor_response_text end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
26 27 28 |
# File 'lib/braintree/us_bank_account_verification.rb', line 26 def status @status end |
#us_bank_account ⇒ Object (readonly)
Returns the value of attribute us_bank_account.
33 34 35 |
# File 'lib/braintree/us_bank_account_verification.rb', line 33 def us_bank_account @us_bank_account end |
#verification_determined_at ⇒ Object (readonly)
Returns the value of attribute verification_determined_at.
27 28 29 |
# File 'lib/braintree/us_bank_account_verification.rb', line 27 def verification_determined_at @verification_determined_at end |
#verification_method ⇒ Object (readonly)
Returns the value of attribute verification_method.
28 29 30 |
# File 'lib/braintree/us_bank_account_verification.rb', line 28 def verification_method @verification_method end |
Class Method Details
._new(*args) ⇒ Object
:nodoc:
65 66 67 |
# File 'lib/braintree/us_bank_account_verification.rb', line 65 def self._new(*args) # :nodoc: self.new(*args) end |
.confirm_micro_transfer_amounts(*args) ⇒ Object
69 70 71 |
# File 'lib/braintree/us_bank_account_verification.rb', line 69 def self.confirm_micro_transfer_amounts(*args) Configuration.gateway.us_bank_account_verification.confirm_micro_transfer_amounts(*args) end |
.find(*args) ⇒ Object
73 74 75 |
# File 'lib/braintree/us_bank_account_verification.rb', line 73 def self.find(*args) Configuration.gateway.us_bank_account_verification.find(*args) end |
.search(&block) ⇒ Object
77 78 79 |
# File 'lib/braintree/us_bank_account_verification.rb', line 77 def self.search(&block) Configuration.gateway.us_bank_account_verification.search(&block) end |
Instance Method Details
#inspect ⇒ Object
:nodoc:
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/braintree/us_bank_account_verification.rb', line 40 def inspect # :nodoc: attr_order = [ :status, :processor_response_code, :processor_response_text, :merchant_account_id, :gateway_rejection_reason, :id, :us_bank_account, :verification_method, :verification_determined_at, :created_at ] formatted_attrs = attr_order.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<#{self.class} #{formatted_attrs.join(", ")}>" end |