Class: ChargeBee::VirtualBankAccount
- Defined in:
- lib/chargebee/models/virtual_bank_account.rb
Instance Attribute Summary collapse
-
#account_number ⇒ Object
Returns the value of attribute account_number.
-
#bank_name ⇒ Object
Returns the value of attribute bank_name.
-
#customer_id ⇒ Object
Returns the value of attribute customer_id.
-
#deleted ⇒ Object
Returns the value of attribute deleted.
-
#email ⇒ Object
Returns the value of attribute email.
-
#gateway ⇒ Object
Returns the value of attribute gateway.
-
#gateway_account_id ⇒ Object
Returns the value of attribute gateway_account_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#reference_id ⇒ Object
Returns the value of attribute reference_id.
-
#routing_number ⇒ Object
Returns the value of attribute routing_number.
-
#swift_code ⇒ Object
Returns the value of attribute swift_code.
Class Method Summary collapse
- .create(params, env = nil, headers = {}) ⇒ Object
-
.create_using_permanent_token(params, env = nil, headers = {}) ⇒ Object
OPERATIONS -----------.
- .list(params = {}, env = nil, headers = {}) ⇒ Object
- .retrieve(id, env = nil, headers = {}) ⇒ Object
Methods inherited from Model
construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #to_s, uri_path
Constructor Details
This class inherits a constructor from ChargeBee::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ChargeBee::Model
Instance Attribute Details
#account_number ⇒ Object
Returns the value of attribute account_number.
4 5 6 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4 def account_number @account_number end |
#bank_name ⇒ Object
Returns the value of attribute bank_name.
4 5 6 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4 def bank_name @bank_name end |
#customer_id ⇒ Object
Returns the value of attribute customer_id.
4 5 6 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4 def customer_id @customer_id end |
#deleted ⇒ Object
Returns the value of attribute deleted.
4 5 6 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4 def deleted @deleted end |
#email ⇒ Object
Returns the value of attribute email.
4 5 6 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4 def email @email end |
#gateway ⇒ Object
Returns the value of attribute gateway.
4 5 6 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4 def gateway @gateway end |
#gateway_account_id ⇒ Object
Returns the value of attribute gateway_account_id.
4 5 6 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4 def gateway_account_id @gateway_account_id end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4 def id @id end |
#reference_id ⇒ Object
Returns the value of attribute reference_id.
4 5 6 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4 def reference_id @reference_id end |
#routing_number ⇒ Object
Returns the value of attribute routing_number.
4 5 6 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4 def routing_number @routing_number end |
#swift_code ⇒ Object
Returns the value of attribute swift_code.
4 5 6 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4 def swift_code @swift_code end |
Class Method Details
.create(params, env = nil, headers = {}) ⇒ Object
14 15 16 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 14 def self.create(params, env=nil, headers={}) Request.send('post', uri_path("virtual_bank_accounts"), params, env, headers) end |
.create_using_permanent_token(params, env = nil, headers = {}) ⇒ Object
OPERATIONS
10 11 12 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 10 def self.create_using_permanent_token(params, env=nil, headers={}) Request.send('post', uri_path("virtual_bank_accounts","create_using_permanent_token"), params, env, headers) end |
.list(params = {}, env = nil, headers = {}) ⇒ Object
22 23 24 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 22 def self.list(params={}, env=nil, headers={}) Request.send_list_request('get', uri_path("virtual_bank_accounts"), params, env, headers) end |
.retrieve(id, env = nil, headers = {}) ⇒ Object
18 19 20 |
# File 'lib/chargebee/models/virtual_bank_account.rb', line 18 def self.retrieve(id, env=nil, headers={}) Request.send('get', uri_path("virtual_bank_accounts",id.to_s), {}, env, headers) end |