Class: ChargeBee::PaymentIntent
- Defined in:
- lib/chargebee/models/payment_intent.rb
Defined Under Namespace
Classes: PaymentAttempt
Instance Attribute Summary collapse
-
#active_payment_attempt ⇒ Object
Returns the value of attribute active_payment_attempt.
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#business_entity_id ⇒ Object
Returns the value of attribute business_entity_id.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#currency_code ⇒ Object
Returns the value of attribute currency_code.
-
#customer_id ⇒ Object
Returns the value of attribute customer_id.
-
#expires_at ⇒ Object
Returns the value of attribute expires_at.
-
#failure_url ⇒ Object
Returns the value of attribute failure_url.
-
#gateway ⇒ Object
Returns the value of attribute gateway.
-
#gateway_account_id ⇒ Object
Returns the value of attribute gateway_account_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modified_at ⇒ Object
Returns the value of attribute modified_at.
-
#payment_method_type ⇒ Object
Returns the value of attribute payment_method_type.
-
#reference_id ⇒ Object
Returns the value of attribute reference_id.
-
#resource_version ⇒ Object
Returns the value of attribute resource_version.
-
#status ⇒ Object
Returns the value of attribute status.
-
#success_url ⇒ Object
Returns the value of attribute success_url.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Class Method Summary collapse
-
.create(params, env = nil, headers = {}) ⇒ Object
OPERATIONS ———–.
- .retrieve(id, env = nil, headers = {}) ⇒ Object
- .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, #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
#active_payment_attempt ⇒ Object
Returns the value of attribute active_payment_attempt.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def active_payment_attempt @active_payment_attempt end |
#amount ⇒ Object
Returns the value of attribute amount.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def amount @amount end |
#business_entity_id ⇒ Object
Returns the value of attribute business_entity_id.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.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/payment_intent.rb', line 8 def created_at @created_at end |
#currency_code ⇒ Object
Returns the value of attribute currency_code.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def currency_code @currency_code end |
#customer_id ⇒ Object
Returns the value of attribute customer_id.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def customer_id @customer_id end |
#expires_at ⇒ Object
Returns the value of attribute expires_at.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def expires_at @expires_at end |
#failure_url ⇒ Object
Returns the value of attribute failure_url.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def failure_url @failure_url end |
#gateway ⇒ Object
Returns the value of attribute gateway.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def gateway @gateway end |
#gateway_account_id ⇒ Object
Returns the value of attribute gateway_account_id.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def gateway_account_id @gateway_account_id end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def id @id end |
#modified_at ⇒ Object
Returns the value of attribute modified_at.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def modified_at @modified_at end |
#payment_method_type ⇒ Object
Returns the value of attribute payment_method_type.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def payment_method_type @payment_method_type end |
#reference_id ⇒ Object
Returns the value of attribute reference_id.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def reference_id @reference_id end |
#resource_version ⇒ Object
Returns the value of attribute resource_version.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def resource_version @resource_version end |
#status ⇒ Object
Returns the value of attribute status.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def status @status end |
#success_url ⇒ Object
Returns the value of attribute success_url.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def success_url @success_url end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
8 9 10 |
# File 'lib/chargebee/models/payment_intent.rb', line 8 def updated_at @updated_at end |
Class Method Details
.create(params, env = nil, headers = {}) ⇒ Object
OPERATIONS
15 16 17 |
# File 'lib/chargebee/models/payment_intent.rb', line 15 def self.create(params, env=nil, headers={}) Request.send('post', uri_path("payment_intents"), params, env, headers) end |