Class: ChargeBee::PaymentScheduleScheme

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

Defined Under Namespace

Classes: PreferredSchedule

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

#created_atObject

Returns the value of attribute created_at.



8
9
10
# File 'lib/chargebee/models/payment_schedule_scheme.rb', line 8

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



8
9
10
# File 'lib/chargebee/models/payment_schedule_scheme.rb', line 8

def description
  @description
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/chargebee/models/payment_schedule_scheme.rb', line 8

def id
  @id
end

#number_of_schedulesObject

Returns the value of attribute number_of_schedules.



8
9
10
# File 'lib/chargebee/models/payment_schedule_scheme.rb', line 8

def number_of_schedules
  @number_of_schedules
end

#periodObject

Returns the value of attribute period.



8
9
10
# File 'lib/chargebee/models/payment_schedule_scheme.rb', line 8

def period
  @period
end

#period_unitObject

Returns the value of attribute period_unit.



8
9
10
# File 'lib/chargebee/models/payment_schedule_scheme.rb', line 8

def period_unit
  @period_unit
end

#preferred_schedulesObject

Returns the value of attribute preferred_schedules.



8
9
10
# File 'lib/chargebee/models/payment_schedule_scheme.rb', line 8

def preferred_schedules
  @preferred_schedules
end

#resource_versionObject

Returns the value of attribute resource_version.



8
9
10
# File 'lib/chargebee/models/payment_schedule_scheme.rb', line 8

def resource_version
  @resource_version
end

#updated_atObject

Returns the value of attribute updated_at.



8
9
10
# File 'lib/chargebee/models/payment_schedule_scheme.rb', line 8

def updated_at
  @updated_at
end

Class Method Details

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

OPERATIONS




14
15
16
# File 'lib/chargebee/models/payment_schedule_scheme.rb', line 14

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

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



22
23
24
# File 'lib/chargebee/models/payment_schedule_scheme.rb', line 22

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

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



18
19
20
# File 'lib/chargebee/models/payment_schedule_scheme.rb', line 18

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