Class: ChargeBee::VaultedPaymentMethod

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/vaulted_payment_method.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, #respond_to_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

#created_atObject

Returns the value of attribute created_at.



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

def created_at
  @created_at
end

#credit_card_idObject

Returns the value of attribute credit_card_id.



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

def credit_card_id
  @credit_card_id
end

#customer_idObject

Returns the value of attribute customer_id.



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

def customer_id
  @customer_id
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#modified_atObject

Returns the value of attribute modified_at.



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

def modified_at
  @modified_at
end

Class Method Details

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

OPERATIONS



9
10
11
12
13
14
# File 'lib/chargebee/models/vaulted_payment_method.rb', line 9

def self.retrieve(id, env=nil, headers={})
  jsonKeys = { 
  }
  options = {}
  Request.send('get', uri_path("vaulted_payment_methods",id.to_s), {}, env, headers,nil, false, jsonKeys, options, "vaultedPaymentMethod", "retrieve")
end