Class: ChargeBee::GatewayWebhookLog

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

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

#customer_handle ⇒ Object

Returns the value of attribute customer_handle.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def customer_handle
  @customer_handle
end

#gateway ⇒ Object

Returns the value of attribute gateway.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def gateway
  @gateway
end

#gateway_credential_handle ⇒ Object

Returns the value of attribute gateway_credential_handle.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def gateway_credential_handle
  @gateway_credential_handle
end

#id_at_gateway ⇒ Object

Returns the value of attribute id_at_gateway.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def id_at_gateway
  @id_at_gateway
end

#invoice_handle ⇒ Object

Returns the value of attribute invoice_handle.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def invoice_handle
  @invoice_handle
end

#method ⇒ Object

Returns the value of attribute method.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def method
  @method
end

#payment_attempt_handle ⇒ Object

Returns the value of attribute payment_attempt_handle.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def payment_attempt_handle
  @payment_attempt_handle
end

#payment_intent_handle ⇒ Object

Returns the value of attribute payment_intent_handle.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def payment_intent_handle
  @payment_intent_handle
end

#payment_method_handle ⇒ Object

Returns the value of attribute payment_method_handle.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def payment_method_handle
  @payment_method_handle
end

#payment_method_name ⇒ Object

Returns the value of attribute payment_method_name.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def payment_method_name
  @payment_method_name
end

#received_at ⇒ Object

Returns the value of attribute received_at.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def received_at
  @received_at
end

#request_body ⇒ Object

Returns the value of attribute request_body.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def request_body
  @request_body
end

#request_headers ⇒ Object

Returns the value of attribute request_headers.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def request_headers
  @request_headers
end

#response_body ⇒ Object

Returns the value of attribute response_body.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def response_body
  @response_body
end

#response_headers ⇒ Object

Returns the value of attribute response_headers.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def response_headers
  @response_headers
end

#response_time ⇒ Object

Returns the value of attribute response_time.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def response_time
  @response_time
end

#status_code ⇒ Object

Returns the value of attribute status_code.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def status_code
  @status_code
end

#transaction_handle ⇒ Object

Returns the value of attribute transaction_handle.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def transaction_handle
  @transaction_handle
end

#url ⇒ Object

Returns the value of attribute url.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def url
  @url
end

#webhook_id ⇒ Object

Returns the value of attribute webhook_id.



4
5
6
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 4

def webhook_id
  @webhook_id
end

Class Method Details

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

OPERATIONS



12
13
14
15
16
17
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 12

def self.list(params={}, env=nil, headers={})
  jsonKeys = { 
  }
  options = {}
  Request.send_list_request('get', uri_path("gateway_webhook_logs"), params, env, headers,nil, false, jsonKeys, options, "gatewayWebhookLog", "list")
end

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



19
20
21
22
23
24
# File 'lib/chargebee/models/gateway_webhook_log.rb', line 19

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