Class: Recurly::Resources::DunningCampaign
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::DunningCampaign
- Defined in:
- lib/recurly/resources/dunning_campaign.rb
Instance Attribute Summary collapse
-
#code ⇒ String
Campaign code.
-
#created_at ⇒ DateTime
When the current campaign was created in Recurly.
-
#default_campaign ⇒ Boolean
Whether or not this is the default campaign for accounts or plans without an assigned dunning campaign.
-
#deleted_at ⇒ DateTime
When the current campaign was deleted in Recurly.
-
#description ⇒ String
Campaign description.
-
#dunning_cycles ⇒ Array[DunningCycle]
Dunning Cycle settings.
- #id ⇒ String
-
#name ⇒ String
Campaign name.
-
#object ⇒ String
Object type.
-
#updated_at ⇒ DateTime
When the current campaign was updated in Recurly.
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
#code ⇒ String
Returns Campaign code.
11 |
# File 'lib/recurly/resources/dunning_campaign.rb', line 11 define_attribute :code, String |
#created_at ⇒ DateTime
Returns When the current campaign was created in Recurly.
15 |
# File 'lib/recurly/resources/dunning_campaign.rb', line 15 define_attribute :created_at, DateTime |
#default_campaign ⇒ Boolean
Returns Whether or not this is the default campaign for accounts or plans without an assigned dunning campaign.
19 |
# File 'lib/recurly/resources/dunning_campaign.rb', line 19 define_attribute :default_campaign, :Boolean |
#deleted_at ⇒ DateTime
Returns When the current campaign was deleted in Recurly.
23 |
# File 'lib/recurly/resources/dunning_campaign.rb', line 23 define_attribute :deleted_at, DateTime |
#description ⇒ String
Returns Campaign description.
27 |
# File 'lib/recurly/resources/dunning_campaign.rb', line 27 define_attribute :description, String |
#dunning_cycles ⇒ Array[DunningCycle]
Returns Dunning Cycle settings.
31 |
# File 'lib/recurly/resources/dunning_campaign.rb', line 31 define_attribute :dunning_cycles, Array, { :item_type => :DunningCycle } |
#id ⇒ String
35 |
# File 'lib/recurly/resources/dunning_campaign.rb', line 35 define_attribute :id, String |
#name ⇒ String
Returns Campaign name.
39 |
# File 'lib/recurly/resources/dunning_campaign.rb', line 39 define_attribute :name, String |
#object ⇒ String
Returns Object type.
43 |
# File 'lib/recurly/resources/dunning_campaign.rb', line 43 define_attribute :object, String |
#updated_at ⇒ DateTime
Returns When the current campaign was updated in Recurly.
47 |
# File 'lib/recurly/resources/dunning_campaign.rb', line 47 define_attribute :updated_at, DateTime |