Class: Recurly::Resources::DunningCampaign

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/dunning_campaign.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Resource

#attributes

Method Summary

Methods inherited from Recurly::Resource

#==, #get_response, #inspect, #requires_client?, #to_json, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#codeString

Returns Campaign code.

Returns:

  • (String)

    Campaign code.



11
# File 'lib/recurly/resources/dunning_campaign.rb', line 11

define_attribute :code, String

#created_atDateTime

Returns When the current campaign was created in Recurly.

Returns:

  • (DateTime)

    When the current campaign was created in Recurly.



15
# File 'lib/recurly/resources/dunning_campaign.rb', line 15

define_attribute :created_at, DateTime

#default_campaignBoolean

Returns Whether or not this is the default campaign for accounts or plans without an assigned dunning campaign.

Returns:

  • (Boolean)

    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_atDateTime

Returns When the current campaign was deleted in Recurly.

Returns:

  • (DateTime)

    When the current campaign was deleted in Recurly.



23
# File 'lib/recurly/resources/dunning_campaign.rb', line 23

define_attribute :deleted_at, DateTime

#descriptionString

Returns Campaign description.

Returns:

  • (String)

    Campaign description.



27
# File 'lib/recurly/resources/dunning_campaign.rb', line 27

define_attribute :description, String

#dunning_cyclesArray[DunningCycle]

Returns Dunning Cycle settings.

Returns:



31
# File 'lib/recurly/resources/dunning_campaign.rb', line 31

define_attribute :dunning_cycles, Array, { :item_type => :DunningCycle }

#idString

Returns:

  • (String)


35
# File 'lib/recurly/resources/dunning_campaign.rb', line 35

define_attribute :id, String

#nameString

Returns Campaign name.

Returns:

  • (String)

    Campaign name.



39
# File 'lib/recurly/resources/dunning_campaign.rb', line 39

define_attribute :name, String

#objectString

Returns Object type.

Returns:

  • (String)

    Object type



43
# File 'lib/recurly/resources/dunning_campaign.rb', line 43

define_attribute :object, String

#updated_atDateTime

Returns When the current campaign was updated in Recurly.

Returns:

  • (DateTime)

    When the current campaign was updated in Recurly.



47
# File 'lib/recurly/resources/dunning_campaign.rb', line 47

define_attribute :updated_at, DateTime