Sha256: 0191e093b2a46b065f76d15d3221bb60839e646871fbe9f40cd86cf6bd3547f6

Contents?: true

Size: 1.9 KB

Versions: 1

Compression:

Stored size: 1.9 KB

Contents

# This file is automatically created by Recurly's OpenAPI generation process
# and thus any edits you make by hand will be lost. If you wish to make a
# change to this file, please create a Github issue explaining the changes you
# need and we will usher them to the appropriate places.
module Recurly
  module Resources
    class AccountAcquisition < Resource

      # @!attribute account
      #   @return [AccountMini]
      define_attribute :account, :AccountMini

      # @!attribute campaign
      #   @return [String] An arbitrary identifier for the marketing campaign that led to the acquisition of this account.
      define_attribute :campaign, String

      # @!attribute channel
      #   @return [String] The channel through which the account was acquired.
      define_attribute :channel, String, { :enum => ["referral", "social_media", "email", "paid_search", "organic_search", "direct_traffic", "marketing_content", "blog", "events", "outbound_sales", "advertising", "public_relations", "other"] }

      # @!attribute cost
      #   @return [Hash] Account balance
      define_attribute :cost, Hash

      # @!attribute [r] created_at
      #   @return [DateTime] When the account acquisition data was created.
      define_attribute :created_at, DateTime, { :read_only => true }

      # @!attribute [r] id
      #   @return [String]
      define_attribute :id, String, { :read_only => true }

      # @!attribute [r] object
      #   @return [String] Object type
      define_attribute :object, String, { :read_only => true }

      # @!attribute subchannel
      #   @return [String] An arbitrary subchannel string representing a distinction/subcategory within a broader channel.
      define_attribute :subchannel, String

      # @!attribute [r] updated_at
      #   @return [DateTime] When the account acquisition data was last changed.
      define_attribute :updated_at, DateTime, { :read_only => true }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
recurly-3.0.0.beta.4 lib/recurly/resources/account_acquisition.rb