Class: ChargeBee::HostedPage
- Defined in:
- lib/chargebee/models/hosted_page.rb
Defined Under Namespace
Classes: Content
Instance Attribute Summary collapse
-
#checkout_info ⇒ Object
Returns the value of attribute checkout_info.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#embed ⇒ Object
Returns the value of attribute embed.
-
#expires_at ⇒ Object
Returns the value of attribute expires_at.
-
#failure_reason ⇒ Object
Returns the value of attribute failure_reason.
-
#id ⇒ Object
Returns the value of attribute id.
-
#pass_thru_content ⇒ Object
Returns the value of attribute pass_thru_content.
-
#resource_version ⇒ Object
Returns the value of attribute resource_version.
-
#state ⇒ Object
Returns the value of attribute state.
-
#type ⇒ Object
Returns the value of attribute type.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
- .accept_quote(params, env = nil, headers = {}) ⇒ Object
- .acknowledge(id, env = nil, headers = {}) ⇒ Object
- .checkout_existing(params, env = nil, headers = {}) ⇒ Object
- .checkout_existing_for_items(params, env = nil, headers = {}) ⇒ Object
- .checkout_gift(params, env = nil, headers = {}) ⇒ Object
- .checkout_gift_for_items(params = {}, env = nil, headers = {}) ⇒ Object
-
.checkout_new(params, env = nil, headers = {}) ⇒ Object
OPERATIONS ———–.
- .checkout_new_for_items(params, env = nil, headers = {}) ⇒ Object
- .checkout_one_time(params = {}, env = nil, headers = {}) ⇒ Object
- .checkout_one_time_for_items(params = {}, env = nil, headers = {}) ⇒ Object
- .claim_gift(params, env = nil, headers = {}) ⇒ Object
- .collect_now(params, env = nil, headers = {}) ⇒ Object
- .extend_subscription(params, env = nil, headers = {}) ⇒ Object
- .list(params = {}, env = nil, headers = {}) ⇒ Object
- .manage_payment_sources(params, env = nil, headers = {}) ⇒ Object
- .retrieve(id, env = nil, headers = {}) ⇒ Object
- .retrieve_agreement_pdf(params, env = nil, headers = {}) ⇒ Object
- .update_card(params, env = nil, headers = {}) ⇒ Object
- .update_payment_method(params, env = nil, headers = {}) ⇒ Object
Instance Method Summary collapse
Methods inherited from Model
construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_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
#checkout_info ⇒ Object
Returns the value of attribute checkout_info.
4 5 6 |
# File 'lib/chargebee/models/hosted_page.rb', line 4 def checkout_info @checkout_info end |
#created_at ⇒ Object
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/chargebee/models/hosted_page.rb', line 4 def created_at @created_at end |
#embed ⇒ Object
Returns the value of attribute embed.
4 5 6 |
# File 'lib/chargebee/models/hosted_page.rb', line 4 def @embed end |
#expires_at ⇒ Object
Returns the value of attribute expires_at.
4 5 6 |
# File 'lib/chargebee/models/hosted_page.rb', line 4 def expires_at @expires_at end |
#failure_reason ⇒ Object
Returns the value of attribute failure_reason.
4 5 6 |
# File 'lib/chargebee/models/hosted_page.rb', line 4 def failure_reason @failure_reason end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/chargebee/models/hosted_page.rb', line 4 def id @id end |
#pass_thru_content ⇒ Object
Returns the value of attribute pass_thru_content.
4 5 6 |
# File 'lib/chargebee/models/hosted_page.rb', line 4 def pass_thru_content @pass_thru_content end |
#resource_version ⇒ Object
Returns the value of attribute resource_version.
4 5 6 |
# File 'lib/chargebee/models/hosted_page.rb', line 4 def resource_version @resource_version end |
#state ⇒ Object
Returns the value of attribute state.
4 5 6 |
# File 'lib/chargebee/models/hosted_page.rb', line 4 def state @state end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/chargebee/models/hosted_page.rb', line 4 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
4 5 6 |
# File 'lib/chargebee/models/hosted_page.rb', line 4 def updated_at @updated_at end |
#url ⇒ Object
Returns the value of attribute url.
4 5 6 |
# File 'lib/chargebee/models/hosted_page.rb', line 4 def url @url end |
Class Method Details
.accept_quote(params, env = nil, headers = {}) ⇒ Object
61 62 63 |
# File 'lib/chargebee/models/hosted_page.rb', line 61 def self.accept_quote(params, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","accept_quote"), params, env, headers) end |
.acknowledge(id, env = nil, headers = {}) ⇒ Object
85 86 87 |
# File 'lib/chargebee/models/hosted_page.rb', line 85 def self.acknowledge(id, env=nil, headers={}) Request.send('post', uri_path("hosted_pages",id.to_s,"acknowledge"), {}, env, headers) end |
.checkout_existing(params, env = nil, headers = {}) ⇒ Object
37 38 39 |
# File 'lib/chargebee/models/hosted_page.rb', line 37 def self.checkout_existing(params, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","checkout_existing"), params, env, headers) end |
.checkout_existing_for_items(params, env = nil, headers = {}) ⇒ Object
41 42 43 |
# File 'lib/chargebee/models/hosted_page.rb', line 41 def self.checkout_existing_for_items(params, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","checkout_existing_for_items"), params, env, headers) end |
.checkout_gift(params, env = nil, headers = {}) ⇒ Object
69 70 71 |
# File 'lib/chargebee/models/hosted_page.rb', line 69 def self.checkout_gift(params, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","checkout_gift"), params, env, headers) end |
.checkout_gift_for_items(params = {}, env = nil, headers = {}) ⇒ Object
73 74 75 |
# File 'lib/chargebee/models/hosted_page.rb', line 73 def self.checkout_gift_for_items(params={}, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","checkout_gift_for_items"), params, env, headers) end |
.checkout_new(params, env = nil, headers = {}) ⇒ Object
OPERATIONS
21 22 23 |
# File 'lib/chargebee/models/hosted_page.rb', line 21 def self.checkout_new(params, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","checkout_new"), params, env, headers) end |
.checkout_new_for_items(params, env = nil, headers = {}) ⇒ Object
33 34 35 |
# File 'lib/chargebee/models/hosted_page.rb', line 33 def self.checkout_new_for_items(params, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","checkout_new_for_items"), params, env, headers) end |
.checkout_one_time(params = {}, env = nil, headers = {}) ⇒ Object
25 26 27 |
# File 'lib/chargebee/models/hosted_page.rb', line 25 def self.checkout_one_time(params={}, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","checkout_one_time"), params, env, headers) end |
.checkout_one_time_for_items(params = {}, env = nil, headers = {}) ⇒ Object
29 30 31 |
# File 'lib/chargebee/models/hosted_page.rb', line 29 def self.checkout_one_time_for_items(params={}, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","checkout_one_time_for_items"), params, env, headers) end |
.claim_gift(params, env = nil, headers = {}) ⇒ Object
77 78 79 |
# File 'lib/chargebee/models/hosted_page.rb', line 77 def self.claim_gift(params, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","claim_gift"), params, env, headers) end |
.collect_now(params, env = nil, headers = {}) ⇒ Object
57 58 59 |
# File 'lib/chargebee/models/hosted_page.rb', line 57 def self.collect_now(params, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","collect_now"), params, env, headers) end |
.extend_subscription(params, env = nil, headers = {}) ⇒ Object
65 66 67 |
# File 'lib/chargebee/models/hosted_page.rb', line 65 def self.extend_subscription(params, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","extend_subscription"), params, env, headers) end |
.list(params = {}, env = nil, headers = {}) ⇒ Object
93 94 95 |
# File 'lib/chargebee/models/hosted_page.rb', line 93 def self.list(params={}, env=nil, headers={}) Request.send_list_request('get', uri_path("hosted_pages"), params, env, headers) end |
.manage_payment_sources(params, env = nil, headers = {}) ⇒ Object
53 54 55 |
# File 'lib/chargebee/models/hosted_page.rb', line 53 def self.manage_payment_sources(params, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","manage_payment_sources"), params, env, headers) end |
.retrieve(id, env = nil, headers = {}) ⇒ Object
89 90 91 |
# File 'lib/chargebee/models/hosted_page.rb', line 89 def self.retrieve(id, env=nil, headers={}) Request.send('get', uri_path("hosted_pages",id.to_s), {}, env, headers) end |
.retrieve_agreement_pdf(params, env = nil, headers = {}) ⇒ Object
81 82 83 |
# File 'lib/chargebee/models/hosted_page.rb', line 81 def self.retrieve_agreement_pdf(params, env=nil, headers={}) Request.send('post', uri_path("hosted_pages","retrieve_agreement_pdf"), params, env, headers) end |