Class: ChargeBee::OfferFulfillment
- Defined in:
- lib/chargebee/models/offer_fulfillment.rb
Defined Under Namespace
Classes: Error
Instance Attribute Summary collapse
-
#completed_at ⇒ Object
Returns the value of attribute completed_at.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#error ⇒ Object
Returns the value of attribute error.
-
#failed_at ⇒ Object
Returns the value of attribute failed_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#option_id ⇒ Object
Returns the value of attribute option_id.
-
#personalized_offer_id ⇒ Object
Returns the value of attribute personalized_offer_id.
-
#processing_type ⇒ Object
Returns the value of attribute processing_type.
-
#redirect_url ⇒ Object
Returns the value of attribute redirect_url.
-
#status ⇒ Object
Returns the value of attribute status.
Class Method Summary collapse
-
.offer_fulfillments(params, env = nil, headers = {}) ⇒ Object
OPERATIONS ———–.
- .offer_fulfillments_get(id, env = nil, headers = {}) ⇒ Object
- .offer_fulfillments_update(id, params, env = nil, headers = {}) ⇒ Object
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_at ⇒ Object
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_at ⇒ Object
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 |
#error ⇒ Object
Returns the value of attribute error.
8 9 10 |
# File 'lib/chargebee/models/offer_fulfillment.rb', line 8 def error @error end |
#failed_at ⇒ Object
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 |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/chargebee/models/offer_fulfillment.rb', line 8 def id @id end |
#option_id ⇒ Object
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_id ⇒ Object
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_type ⇒ Object
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_url ⇒ Object
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 |
#status ⇒ Object
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 = { } = {} Request.send('post', uri_path("offer_fulfillments"), params, env, headers, "grow", true, jsonKeys, ) 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 = { } = {} Request.send('get', uri_path("offer_fulfillments",id.to_s), {}, env, headers, "grow", true, jsonKeys, ) 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 = { } = {} Request.send('post', uri_path("offer_fulfillments",id.to_s), params, env, headers, "grow", true, jsonKeys, ) end |