Class: ChargeBee::PaymentSchedule

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

Defined Under Namespace

Classes: ReferenceTransaction, ScheduleEntry

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

#amount ⇒ Object

Returns the value of attribute amount.



12
13
14
# File 'lib/chargebee/models/payment_schedule.rb', line 12

def amount
  @amount
end

#created_at ⇒ Object

Returns the value of attribute created_at.



12
13
14
# File 'lib/chargebee/models/payment_schedule.rb', line 12

def created_at
  @created_at
end

#currency_code ⇒ Object

Returns the value of attribute currency_code.



12
13
14
# File 'lib/chargebee/models/payment_schedule.rb', line 12

def currency_code
  @currency_code
end

#entity_id ⇒ Object

Returns the value of attribute entity_id.



12
13
14
# File 'lib/chargebee/models/payment_schedule.rb', line 12

def entity_id
  @entity_id
end

#entity_type ⇒ Object

Returns the value of attribute entity_type.



12
13
14
# File 'lib/chargebee/models/payment_schedule.rb', line 12

def entity_type
  @entity_type
end

#id ⇒ Object

Returns the value of attribute id.



12
13
14
# File 'lib/chargebee/models/payment_schedule.rb', line 12

def id
  @id
end

#reference_transactions ⇒ Object

Returns the value of attribute reference_transactions.



12
13
14
# File 'lib/chargebee/models/payment_schedule.rb', line 12

def reference_transactions
  @reference_transactions
end

#resource_version ⇒ Object

Returns the value of attribute resource_version.



12
13
14
# File 'lib/chargebee/models/payment_schedule.rb', line 12

def resource_version
  @resource_version
end

#schedule_entries ⇒ Object

Returns the value of attribute schedule_entries.



12
13
14
# File 'lib/chargebee/models/payment_schedule.rb', line 12

def schedule_entries
  @schedule_entries
end

#scheme_id ⇒ Object

Returns the value of attribute scheme_id.



12
13
14
# File 'lib/chargebee/models/payment_schedule.rb', line 12

def scheme_id
  @scheme_id
end

#updated_at ⇒ Object

Returns the value of attribute updated_at.



12
13
14
# File 'lib/chargebee/models/payment_schedule.rb', line 12

def updated_at
  @updated_at
end

Class Method Details

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

OPERATIONS



18
19
20
21
22
23
# File 'lib/chargebee/models/payment_schedule.rb', line 18

def self.list(params={}, env=nil, headers={})
  jsonKeys = { 
  }
  options = {}
  Request.send_list_request('get', uri_path("payment_schedules"), params, env, headers,nil, false, jsonKeys, options, "paymentSchedule", "list")
end