Class: ChargeBee::Einvoice

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

Defined Under Namespace

Classes: Artifact

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

#artifacts ⇒ Object

Returns the value of attribute artifacts.



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

def artifacts
  @artifacts
end

#business_entity_id ⇒ Object

Returns the value of attribute business_entity_id.



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

def business_entity_id
  @business_entity_id
end

#created_at ⇒ Object

Returns the value of attribute created_at.



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

def created_at
  @created_at
end

#deleted ⇒ Object

Returns the value of attribute deleted.



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

def deleted
  @deleted
end

#entity_id ⇒ Object

Returns the value of attribute entity_id.



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

def entity_id
  @entity_id
end

#entity_type ⇒ Object

Returns the value of attribute entity_type.



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

def entity_type
  @entity_type
end

#id ⇒ Object

Returns the value of attribute id.



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

def id
  @id
end

#message ⇒ Object

Returns the value of attribute message.



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

def message
  @message
end

#provider_references ⇒ Object

Returns the value of attribute provider_references.



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

def provider_references
  @provider_references
end

#reference_id ⇒ Object

Returns the value of attribute reference_id.



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

def reference_id
  @reference_id
end

#reference_number ⇒ Object

Returns the value of attribute reference_number.



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

def reference_number
  @reference_number
end

#resource_version ⇒ Object

Returns the value of attribute resource_version.



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

def resource_version
  @resource_version
end

#status ⇒ Object

Returns the value of attribute status.



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

def status
  @status
end

#updated_at ⇒ Object

Returns the value of attribute updated_at.



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

def updated_at
  @updated_at
end

Class Method Details

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



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

def self.list_einvoices(params={}, env=nil, headers={})
  jsonKeys = { 
  }
  options = {}
  Request.send('get', uri_path("einvoices"), params, env, headers,nil, false, jsonKeys, options, "einvoice", "listEinvoices")
end

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

OPERATIONS



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

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