Class: ChargeBee::RetrySegment

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

#condition_logic ⇒ Object

Returns the value of attribute condition_logic.



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

def condition_logic
  @condition_logic
end

#criteria ⇒ Object

Returns the value of attribute criteria.



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

def criteria
  @criteria
end

#enabled ⇒ Object

Returns the value of attribute enabled.



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

def enabled
  @enabled
end

#id ⇒ Object

Returns the value of attribute id.



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

def id
  @id
end

#invoice_id ⇒ Object

Returns the value of attribute invoice_id.



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

def invoice_id
  @invoice_id
end

#name ⇒ Object

Returns the value of attribute name.



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

def name
  @name
end

#priority ⇒ Object

Returns the value of attribute priority.



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

def priority
  @priority
end

#retry_settings ⇒ Object

Returns the value of attribute retry_settings.



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

def retry_settings
  @retry_settings
end

Class Method Details

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

OPERATIONS



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

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