Class: ApRubySdk::Plan

Inherits:
ApiResource show all
Includes:
ApiOperations::Create, ApiOperations::List, ApiOperations::Retrieve
Defined in:
lib/ap_ruby_sdk/plan.rb

Instance Attribute Summary collapse

Attributes inherited from ApiResource

#mode

Attributes inherited from BaseModel

#created, #id, #mode, #updated

Class Method Summary collapse

Methods included from ApiOperations::List

included

Methods included from ApiOperations::Retrieve

included

Methods included from ApiOperations::Create

included

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

#amountObject

Returns the value of attribute amount.



7
8
9
# File 'lib/ap_ruby_sdk/plan.rb', line 7

def amount
  @amount
end

#billingCyclesObject

Returns the value of attribute billingCycles.



7
8
9
# File 'lib/ap_ruby_sdk/plan.rb', line 7

def billingCycles
  @billingCycles
end

#cancelSubscriptionsObject

Returns the value of attribute cancelSubscriptions.



7
8
9
# File 'lib/ap_ruby_sdk/plan.rb', line 7

def cancelSubscriptions
  @cancelSubscriptions
end

#currencyObject

Returns the value of attribute currency.



7
8
9
# File 'lib/ap_ruby_sdk/plan.rb', line 7

def currency
  @currency
end

#descriptionObject

Returns the value of attribute description.



7
8
9
# File 'lib/ap_ruby_sdk/plan.rb', line 7

def description
  @description
end

#intervalCountObject

Returns the value of attribute intervalCount.



7
8
9
# File 'lib/ap_ruby_sdk/plan.rb', line 7

def intervalCount
  @intervalCount
end

#intervalUnitObject

Returns the value of attribute intervalUnit.



7
8
9
# File 'lib/ap_ruby_sdk/plan.rb', line 7

def intervalUnit
  @intervalUnit
end

#ipAddressObject

Returns the value of attribute ipAddress.



7
8
9
# File 'lib/ap_ruby_sdk/plan.rb', line 7

def ipAddress
  @ipAddress
end

#isConversionRateFixedObject

Returns the value of attribute isConversionRateFixed.



7
8
9
# File 'lib/ap_ruby_sdk/plan.rb', line 7

def isConversionRateFixed
  @isConversionRateFixed
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/ap_ruby_sdk/plan.rb', line 7

def name
  @name
end

#trialPeriodObject

Returns the value of attribute trialPeriod.



7
8
9
# File 'lib/ap_ruby_sdk/plan.rb', line 7

def trialPeriod
  @trialPeriod
end

Class Method Details

.list_membersObject



24
25
26
# File 'lib/ap_ruby_sdk/plan.rb', line 24

def self.list_members
  :plans
end

.urlObject



20
21
22
# File 'lib/ap_ruby_sdk/plan.rb', line 20

def self.url
  '/plans'
end