Class: Recurly::Resources::DunningCycle
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::DunningCycle
- Defined in:
- lib/recurly/resources/dunning_cycle.rb
Instance Attribute Summary collapse
-
#applies_to_manual_trial ⇒ Boolean
Whether the dunning settings will be applied to manual trials.
-
#created_at ⇒ DateTime
When the current settings were created in Recurly.
-
#expire_subscription ⇒ Boolean
Whether the subscription(s) should be cancelled at the end of the dunning cycle.
-
#fail_invoice ⇒ Boolean
Whether the invoice should be failed at the end of the dunning cycle.
-
#first_communication_interval ⇒ Integer
The number of days after a transaction failure before the first dunning email is sent.
-
#intervals ⇒ Array[DunningInterval]
Dunning intervals.
-
#send_immediately_on_hard_decline ⇒ Boolean
Whether or not to send an extra email immediately to customers whose initial payment attempt fails with either a hard decline or invalid billing info.
-
#total_dunning_days ⇒ Integer
The number of days between the first dunning email being sent and the end of the dunning cycle.
-
#total_recycling_days ⇒ Integer
The number of days between a transaction failure and the end of the dunning cycle.
-
#type ⇒ String
The type of invoice this cycle applies to.
-
#updated_at ⇒ DateTime
When the current settings were updated in Recurly.
-
#version ⇒ Integer
Current campaign version.
Attributes inherited from Recurly::Resource
Method Summary
Methods inherited from Recurly::Resource
#==, #get_response, #inspect, #requires_client?, #to_json, #to_s
Methods included from Schema::SchemaFactory
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#applies_to_manual_trial ⇒ Boolean
Returns Whether the dunning settings will be applied to manual trials. Only applies to trial cycles.
11 |
# File 'lib/recurly/resources/dunning_cycle.rb', line 11 define_attribute :applies_to_manual_trial, :Boolean |
#created_at ⇒ DateTime
Returns When the current settings were created in Recurly.
15 |
# File 'lib/recurly/resources/dunning_cycle.rb', line 15 define_attribute :created_at, DateTime |
#expire_subscription ⇒ Boolean
Returns Whether the subscription(s) should be cancelled at the end of the dunning cycle.
19 |
# File 'lib/recurly/resources/dunning_cycle.rb', line 19 define_attribute :expire_subscription, :Boolean |
#fail_invoice ⇒ Boolean
Returns Whether the invoice should be failed at the end of the dunning cycle.
23 |
# File 'lib/recurly/resources/dunning_cycle.rb', line 23 define_attribute :fail_invoice, :Boolean |
#first_communication_interval ⇒ Integer
Returns The number of days after a transaction failure before the first dunning email is sent.
27 |
# File 'lib/recurly/resources/dunning_cycle.rb', line 27 define_attribute :first_communication_interval, Integer |
#intervals ⇒ Array[DunningInterval]
Returns Dunning intervals.
31 |
# File 'lib/recurly/resources/dunning_cycle.rb', line 31 define_attribute :intervals, Array, { :item_type => :DunningInterval } |
#send_immediately_on_hard_decline ⇒ Boolean
Returns Whether or not to send an extra email immediately to customers whose initial payment attempt fails with either a hard decline or invalid billing info.
35 |
# File 'lib/recurly/resources/dunning_cycle.rb', line 35 define_attribute :send_immediately_on_hard_decline, :Boolean |
#total_dunning_days ⇒ Integer
Returns The number of days between the first dunning email being sent and the end of the dunning cycle.
39 |
# File 'lib/recurly/resources/dunning_cycle.rb', line 39 define_attribute :total_dunning_days, Integer |
#total_recycling_days ⇒ Integer
Returns The number of days between a transaction failure and the end of the dunning cycle.
43 |
# File 'lib/recurly/resources/dunning_cycle.rb', line 43 define_attribute :total_recycling_days, Integer |
#type ⇒ String
Returns The type of invoice this cycle applies to.
47 |
# File 'lib/recurly/resources/dunning_cycle.rb', line 47 define_attribute :type, String |
#updated_at ⇒ DateTime
Returns When the current settings were updated in Recurly.
51 |
# File 'lib/recurly/resources/dunning_cycle.rb', line 51 define_attribute :updated_at, DateTime |
#version ⇒ Integer
Returns Current campaign version.
55 |
# File 'lib/recurly/resources/dunning_cycle.rb', line 55 define_attribute :version, Integer |