Class: Braintree::BankAccountInstantVerificationJwtRequest
- Inherits:
-
Object
- Object
- Braintree::BankAccountInstantVerificationJwtRequest
- Includes:
- BaseModule
- Defined in:
- lib/braintree/bank_account_instant_verification_jwt_request.rb
Instance Attribute Summary collapse
-
#business_name ⇒ Object
Returns the value of attribute business_name.
-
#cancel_url ⇒ Object
Returns the value of attribute cancel_url.
-
#return_url ⇒ Object
Returns the value of attribute return_url.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ BankAccountInstantVerificationJwtRequest
constructor
A new instance of BankAccountInstantVerificationJwtRequest.
- #to_graphql_variables ⇒ Object
Methods included from BaseModule
Methods included from Braintree::BaseModule::Methods
#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class
Constructor Details
#initialize(attributes = {}) ⇒ BankAccountInstantVerificationJwtRequest
7 8 9 |
# File 'lib/braintree/bank_account_instant_verification_jwt_request.rb', line 7 def initialize(attributes = {}) set_instance_variables_from_hash(attributes) end |
Instance Attribute Details
#business_name ⇒ Object
Returns the value of attribute business_name.
5 6 7 |
# File 'lib/braintree/bank_account_instant_verification_jwt_request.rb', line 5 def business_name @business_name end |
#cancel_url ⇒ Object
Returns the value of attribute cancel_url.
5 6 7 |
# File 'lib/braintree/bank_account_instant_verification_jwt_request.rb', line 5 def cancel_url @cancel_url end |
#return_url ⇒ Object
Returns the value of attribute return_url.
5 6 7 |
# File 'lib/braintree/bank_account_instant_verification_jwt_request.rb', line 5 def return_url @return_url end |
Instance Method Details
#to_graphql_variables ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/braintree/bank_account_instant_verification_jwt_request.rb', line 11 def to_graphql_variables variables = {:input => {}} variables[:input][:businessName] = business_name if business_name variables[:input][:returnUrl] = return_url if return_url variables[:input][:cancelUrl] = cancel_url if cancel_url variables end |