Class: Fastbill::Automatic::Article
- Defined in:
- lib/fastbill-automatic/article.rb
Instance Attribute Summary collapse
-
#allow_multiple ⇒ Object
readonly
Returns the value of attribute allow_multiple.
-
#article_number ⇒ Object
readonly
Returns the value of attribute article_number.
-
#checkout_url ⇒ Object
readonly
Returns the value of attribute checkout_url.
-
#currency_code ⇒ Object
readonly
Returns the value of attribute currency_code.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#is_addon ⇒ Object
readonly
Returns the value of attribute is_addon.
-
#return_url_cancel ⇒ Object
readonly
Returns the value of attribute return_url_cancel.
-
#return_url_success ⇒ Object
readonly
Returns the value of attribute return_url_success.
-
#setup_fee ⇒ Object
readonly
Returns the value of attribute setup_fee.
-
#subscription_cancellation ⇒ Object
readonly
Returns the value of attribute subscription_cancellation.
-
#subscription_duration ⇒ Object
readonly
Returns the value of attribute subscription_duration.
-
#subscription_interval ⇒ Object
readonly
Returns the value of attribute subscription_interval.
-
#subscription_number_events ⇒ Object
readonly
Returns the value of attribute subscription_number_events.
-
#subscription_trail ⇒ Object
readonly
Returns the value of attribute subscription_trail.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#unit_price ⇒ Object
readonly
Returns the value of attribute unit_price.
-
#vat_percent ⇒ Object
readonly
Returns the value of attribute vat_percent.
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
clear_request_infos, #initialize, request_infos, request_infos=, #set_attributes
Methods included from Services::Create
Methods included from Services::Get
Constructor Details
This class inherits a constructor from Fastbill::Automatic::Base
Instance Attribute Details
#allow_multiple ⇒ Object (readonly)
Returns the value of attribute allow_multiple.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def allow_multiple @allow_multiple end |
#article_number ⇒ Object (readonly)
Returns the value of attribute article_number.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def article_number @article_number end |
#checkout_url ⇒ Object (readonly)
Returns the value of attribute checkout_url.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def checkout_url @checkout_url end |
#currency_code ⇒ Object (readonly)
Returns the value of attribute currency_code.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def currency_code @currency_code end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def description @description end |
#is_addon ⇒ Object (readonly)
Returns the value of attribute is_addon.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def is_addon @is_addon end |
#return_url_cancel ⇒ Object (readonly)
Returns the value of attribute return_url_cancel.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def return_url_cancel @return_url_cancel end |
#return_url_success ⇒ Object (readonly)
Returns the value of attribute return_url_success.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def return_url_success @return_url_success end |
#setup_fee ⇒ Object (readonly)
Returns the value of attribute setup_fee.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def setup_fee @setup_fee end |
#subscription_cancellation ⇒ Object (readonly)
Returns the value of attribute subscription_cancellation.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def subscription_cancellation @subscription_cancellation end |
#subscription_duration ⇒ Object (readonly)
Returns the value of attribute subscription_duration.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def subscription_duration @subscription_duration end |
#subscription_interval ⇒ Object (readonly)
Returns the value of attribute subscription_interval.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def subscription_interval @subscription_interval end |
#subscription_number_events ⇒ Object (readonly)
Returns the value of attribute subscription_number_events.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def subscription_number_events @subscription_number_events end |
#subscription_trail ⇒ Object (readonly)
Returns the value of attribute subscription_trail.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def subscription_trail @subscription_trail end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def title @title end |
#unit_price ⇒ Object (readonly)
Returns the value of attribute unit_price.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def unit_price @unit_price end |
#vat_percent ⇒ Object (readonly)
Returns the value of attribute vat_percent.
5 6 7 |
# File 'lib/fastbill-automatic/article.rb', line 5 def vat_percent @vat_percent end |
Class Method Details
.create(attributes) ⇒ Object
9 10 11 |
# File 'lib/fastbill-automatic/article.rb', line 9 def self.create(attributes) raise FastbillError.new('Create method not implemented.') end |