Class: ChargeBee::Purchase
- Defined in:
- lib/chargebee/models/purchase.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#customer_id ⇒ Object
Returns the value of attribute customer_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#invoice_ids ⇒ Object
Returns the value of attribute invoice_ids.
-
#modified_at ⇒ Object
Returns the value of attribute modified_at.
-
#subscription_ids ⇒ Object
Returns the value of attribute subscription_ids.
Class Method Summary collapse
-
.create(params, env = nil, headers = {}) ⇒ Object
OPERATIONS ———–.
- .estimate(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, #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_at ⇒ Object
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/chargebee/models/purchase.rb', line 4 def created_at @created_at end |
#customer_id ⇒ Object
Returns the value of attribute customer_id.
4 5 6 |
# File 'lib/chargebee/models/purchase.rb', line 4 def customer_id @customer_id end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/chargebee/models/purchase.rb', line 4 def id @id end |
#invoice_ids ⇒ Object
Returns the value of attribute invoice_ids.
4 5 6 |
# File 'lib/chargebee/models/purchase.rb', line 4 def invoice_ids @invoice_ids end |
#modified_at ⇒ Object
Returns the value of attribute modified_at.
4 5 6 |
# File 'lib/chargebee/models/purchase.rb', line 4 def modified_at @modified_at end |
#subscription_ids ⇒ Object
Returns the value of attribute subscription_ids.
4 5 6 |
# File 'lib/chargebee/models/purchase.rb', line 4 def subscription_ids @subscription_ids end |