Class: ChargeBee::OfferFulfillment

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

Defined Under Namespace

Classes: Error

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

#completed_atObject

Returns the value of attribute completed_at.



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

def completed_at
  @completed_at
end

#created_atObject

Returns the value of attribute created_at.



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

def created_at
  @created_at
end

#errorObject

Returns the value of attribute error.



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

def error
  @error
end

#failed_atObject

Returns the value of attribute failed_at.



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

def failed_at
  @failed_at
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#option_idObject

Returns the value of attribute option_id.



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

def option_id
  @option_id
end

#personalized_offer_idObject

Returns the value of attribute personalized_offer_id.



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

def personalized_offer_id
  @personalized_offer_id
end

#processing_typeObject

Returns the value of attribute processing_type.



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

def processing_type
  @processing_type
end

#redirect_urlObject

Returns the value of attribute redirect_url.



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

def redirect_url
  @redirect_url
end

#statusObject

Returns the value of attribute status.



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

def status
  @status
end

Class Method Details

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

OPERATIONS




14
15
16
17
18
19
# File 'lib/chargebee/models/offer_fulfillment.rb', line 14

def self.offer_fulfillments(params, env=nil, headers={})
  jsonKeys = { 
  }
  options = {}
  Request.send('post', uri_path("offer_fulfillments"), params, env, headers, "grow", true, jsonKeys, options)
end

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



21
22
23
24
25
26
# File 'lib/chargebee/models/offer_fulfillment.rb', line 21

def self.offer_fulfillments_get(id, env=nil, headers={})
  jsonKeys = { 
  }
  options = {}
  Request.send('get', uri_path("offer_fulfillments",id.to_s), {}, env, headers, "grow", true, jsonKeys, options)
end

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



28
29
30
31
32
33
# File 'lib/chargebee/models/offer_fulfillment.rb', line 28

def self.offer_fulfillments_update(id, params, env=nil, headers={})
  jsonKeys = { 
  }
  options = {}
  Request.send('post', uri_path("offer_fulfillments",id.to_s), params, env, headers, "grow", true, jsonKeys, options)
end