Class: ChargeBee::VirtualBankAccount

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/virtual_bank_account.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Model

construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #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_numberObject

Returns the value of attribute account_number.



4
5
6
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4

def 
  @account_number
end

#bank_nameObject

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

#created_atObject

Returns the value of attribute created_at.



4
5
6
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4

def created_at
  @created_at
end

#customer_idObject

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

#deletedObject

Returns the value of attribute deleted.



4
5
6
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4

def deleted
  @deleted
end

#emailObject

Returns the value of attribute email.



4
5
6
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4

def email
  @email
end

#gatewayObject

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_idObject

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
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4

def id
  @id
end

#reference_idObject

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

#resource_versionObject

Returns the value of attribute resource_version.



4
5
6
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4

def resource_version
  @resource_version
end

#routing_numberObject

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

#schemeObject

Returns the value of attribute scheme.



4
5
6
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4

def scheme
  @scheme
end

#swift_codeObject

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

#updated_atObject

Returns the value of attribute updated_at.



4
5
6
# File 'lib/chargebee/models/virtual_bank_account.rb', line 4

def updated_at
  @updated_at
end

Class Method Details

.create(params, env = nil, headers = {}) ⇒ Object



15
16
17
# File 'lib/chargebee/models/virtual_bank_account.rb', line 15

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




11
12
13
# File 'lib/chargebee/models/virtual_bank_account.rb', line 11

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

.delete(id, env = nil, headers = {}) ⇒ Object



27
28
29
# File 'lib/chargebee/models/virtual_bank_account.rb', line 27

def self.delete(id, env=nil, headers={})
  Request.send('post', uri_path("virtual_bank_accounts",id.to_s,"delete"), {}, env, headers)
end

.delete_local(id, env = nil, headers = {}) ⇒ Object



31
32
33
# File 'lib/chargebee/models/virtual_bank_account.rb', line 31

def self.delete_local(id, env=nil, headers={})
  Request.send('post', uri_path("virtual_bank_accounts",id.to_s,"delete_local"), {}, env, headers)
end

.list(params = {}, env = nil, headers = {}) ⇒ Object



23
24
25
# File 'lib/chargebee/models/virtual_bank_account.rb', line 23

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



19
20
21
# File 'lib/chargebee/models/virtual_bank_account.rb', line 19

def self.retrieve(id, env=nil, headers={})
  Request.send('get', uri_path("virtual_bank_accounts",id.to_s), {}, env, headers)
end