Class: ApRubySdk::Subscription
- Inherits:
-
ApiResource
- Object
- BaseModel
- ApiResource
- ApRubySdk::Subscription
- Defined in:
- lib/ap_ruby_sdk/subscription.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#currentBillingCycle ⇒ Object
Returns the value of attribute currentBillingCycle.
-
#customer ⇒ Object
Returns the value of attribute customer.
-
#customerId ⇒ Object
Returns the value of attribute customerId.
-
#ipAddress ⇒ Object
Returns the value of attribute ipAddress.
-
#isConversionRateFixed ⇒ Object
Returns the value of attribute isConversionRateFixed.
-
#payment ⇒ Object
Returns the value of attribute payment.
-
#paymentId ⇒ Object
Returns the value of attribute paymentId.
-
#phoneverification ⇒ Object
Returns the value of attribute phoneverification.
-
#plan ⇒ Object
Returns the value of attribute plan.
-
#planId ⇒ Object
Returns the value of attribute planId.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#status ⇒ Object
Returns the value of attribute status.
Attributes inherited from ApiResource
Attributes inherited from BaseModel
#created, #id, #mode, #updated
Class Method Summary collapse
Methods included from ApiOperations::Retrieve
Methods included from ApiOperations::List
Methods included from ApiOperations::Create
Methods inherited from ApiResource
construct_object, url_with_prefix
Methods inherited from BaseModel
#attributes=, #initialize, #to_json
Constructor Details
This class inherits a constructor from ApRubySdk::BaseModel
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
7 8 9 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 7 def amount @amount end |
#currentBillingCycle ⇒ Object
Returns the value of attribute currentBillingCycle.
7 8 9 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 7 def currentBillingCycle @currentBillingCycle end |
#customer ⇒ Object
Returns the value of attribute customer.
7 8 9 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 7 def customer @customer end |
#customerId ⇒ Object
Returns the value of attribute customerId.
7 8 9 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 7 def customerId @customerId end |
#ipAddress ⇒ Object
Returns the value of attribute ipAddress.
7 8 9 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 7 def ipAddress @ipAddress end |
#isConversionRateFixed ⇒ Object
Returns the value of attribute isConversionRateFixed.
7 8 9 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 7 def isConversionRateFixed @isConversionRateFixed end |
#payment ⇒ Object
Returns the value of attribute payment.
7 8 9 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 7 def payment @payment end |
#paymentId ⇒ Object
Returns the value of attribute paymentId.
7 8 9 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 7 def paymentId @paymentId end |
#phoneverification ⇒ Object
Returns the value of attribute phoneverification.
7 8 9 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 7 def phoneverification @phoneverification end |
#plan ⇒ Object
Returns the value of attribute plan.
7 8 9 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 7 def plan @plan end |
#planId ⇒ Object
Returns the value of attribute planId.
7 8 9 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 7 def planId @planId end |
#quantity ⇒ Object
Returns the value of attribute quantity.
7 8 9 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 7 def quantity @quantity end |
#status ⇒ Object
Returns the value of attribute status.
7 8 9 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 7 def status @status end |
Class Method Details
.list_members ⇒ Object
37 38 39 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 37 def self.list_members :subscriptions end |
.url ⇒ Object
33 34 35 |
# File 'lib/ap_ruby_sdk/subscription.rb', line 33 def self.url '/subscriptions' end |