Sha256: 40707591e8f8522c88bb9bb499d2b01e22608ed34725c98dc6dbc24b113f0729

Contents?: true

Size: 1.23 KB

Versions: 64

Compression:

Stored size: 1.23 KB

Contents

module ChargeBee
  class VirtualBankAccount < Model

  attr_accessor :id, :customer_id, :email, :scheme, :bank_name, :account_number, :routing_number,
  :swift_code, :gateway, :gateway_account_id, :resource_version, :updated_at, :created_at, :reference_id,
  :deleted

  # OPERATIONS
  #-----------

  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

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

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

  def self.list(params={}, env=nil, headers={})
    Request.send_list_request('get', uri_path("virtual_bank_accounts"), params, env, headers)
  end

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

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

  end # ~VirtualBankAccount
end # ~ChargeBee

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
chargebee-2.47.0.beta.1 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.46.0 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.45.0 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.44.1 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.44.0 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.43.0 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.42.0 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.41.0 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.40.0 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.38.1 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.38.0 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.37.1 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.37.0 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.36.2 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.36.1 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.36.0 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.35.0 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.34.0 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.33.0 lib/chargebee/models/virtual_bank_account.rb
chargebee-2.32.0 lib/chargebee/models/virtual_bank_account.rb