Class: ChargeBee::GrantBlock
- Defined in:
- lib/chargebee/models/grant_block.rb
Instance Attribute Summary collapse
-
#account_type ⇒ Object
Returns the value of attribute account_type.
-
#balance ⇒ Object
Returns the value of attribute balance.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#effective_from ⇒ Object
Returns the value of attribute effective_from.
-
#expired_amount ⇒ Object
Returns the value of attribute expired_amount.
-
#expires_at ⇒ Object
Returns the value of attribute expires_at.
-
#grant_source ⇒ Object
Returns the value of attribute grant_source.
-
#granted_amount ⇒ Object
Returns the value of attribute granted_amount.
-
#hold_amount ⇒ Object
Returns the value of attribute hold_amount.
-
#id ⇒ Object
Returns the value of attribute id.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#origin_grant_block_id ⇒ Object
Returns the value of attribute origin_grant_block_id.
-
#rolled_over_amount ⇒ Object
Returns the value of attribute rolled_over_amount.
-
#status ⇒ Object
Returns the value of attribute status.
-
#unit_id ⇒ Object
Returns the value of attribute unit_id.
-
#unit_type ⇒ Object
Returns the value of attribute unit_type.
-
#used_amount ⇒ Object
Returns the value of attribute used_amount.
-
#voided_amount ⇒ Object
Returns the value of attribute voided_amount.
Class Method Summary collapse
-
.list_grant_blocks(params, env = nil, headers = {}) ⇒ Object
OPERATIONS ———–.
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
#account_type ⇒ Object
Returns the value of attribute account_type.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def account_type @account_type end |
#balance ⇒ Object
Returns the value of attribute balance.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def balance @balance end |
#created_at ⇒ Object
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def created_at @created_at end |
#effective_from ⇒ Object
Returns the value of attribute effective_from.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def effective_from @effective_from end |
#expired_amount ⇒ Object
Returns the value of attribute expired_amount.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def expired_amount @expired_amount end |
#expires_at ⇒ Object
Returns the value of attribute expires_at.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def expires_at @expires_at end |
#grant_source ⇒ Object
Returns the value of attribute grant_source.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def grant_source @grant_source end |
#granted_amount ⇒ Object
Returns the value of attribute granted_amount.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def granted_amount @granted_amount end |
#hold_amount ⇒ Object
Returns the value of attribute hold_amount.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def hold_amount @hold_amount end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def id @id end |
#metadata ⇒ Object
Returns the value of attribute metadata.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def @metadata end |
#origin_grant_block_id ⇒ Object
Returns the value of attribute origin_grant_block_id.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def origin_grant_block_id @origin_grant_block_id end |
#rolled_over_amount ⇒ Object
Returns the value of attribute rolled_over_amount.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def rolled_over_amount @rolled_over_amount end |
#status ⇒ Object
Returns the value of attribute status.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def status @status end |
#unit_id ⇒ Object
Returns the value of attribute unit_id.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def unit_id @unit_id end |
#unit_type ⇒ Object
Returns the value of attribute unit_type.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def unit_type @unit_type end |
#used_amount ⇒ Object
Returns the value of attribute used_amount.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def used_amount @used_amount end |
#voided_amount ⇒ Object
Returns the value of attribute voided_amount.
4 5 6 |
# File 'lib/chargebee/models/grant_block.rb', line 4 def voided_amount @voided_amount end |
Class Method Details
.list_grant_blocks(params, env = nil, headers = {}) ⇒ Object
OPERATIONS
11 12 13 14 15 16 |
# File 'lib/chargebee/models/grant_block.rb', line 11 def self.list_grant_blocks(params, env=nil, headers={}) jsonKeys = { } = {} Request.send('get', uri_path("grant_blocks"), params, env, headers,nil, false, jsonKeys, ) end |