Class: Recurly::Resources::ExternalPaymentPhase

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/external_payment_phase.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

#amount ⇒ String

Returns Allows up to 9 decimal places.

Returns:

  • (String) —

    Allows up to 9 decimal places



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

define_attribute :amount, String

#created_at ⇒ DateTime

Returns When the external subscription was created in Recurly.

Returns:

  • (DateTime) —

    When the external subscription was created in Recurly.



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

define_attribute :created_at, DateTime

#currency ⇒ String

Returns 3-letter ISO 4217 currency code.

Returns:

  • (String) —

    3-letter ISO 4217 currency code.



19
# File 'lib/recurly/resources/external_payment_phase.rb', line 19

define_attribute :currency, String

#ending_billing_period_index ⇒ Integer

Returns Ending Billing Period Index.

Returns:

  • (Integer) —

    Ending Billing Period Index



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

define_attribute :ending_billing_period_index, Integer

#ends_at ⇒ DateTime

Returns Ends At.

Returns:

  • (DateTime) —

    Ends At



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

define_attribute :ends_at, DateTime

#id ⇒ String

Returns System-generated unique identifier for an external payment phase ID, e.g. e28zov4fw0v2.

Returns:

  • (String) —

    System-generated unique identifier for an external payment phase ID, e.g. e28zov4fw0v2.



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

define_attribute :id, String

#object ⇒ String

Returns Object type.

Returns:

  • (String) —

    Object type



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

define_attribute :object, String

#offer_name ⇒ String

Returns Name of the discount offer given, e.g. "introductory".

Returns:

  • (String) —

    Name of the discount offer given, e.g. "introductory"



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

define_attribute :offer_name, String

#offer_type ⇒ String

Returns Type of discount offer given, e.g. "FREE_TRIAL".

Returns:

  • (String) —

    Type of discount offer given, e.g. "FREE_TRIAL"



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

define_attribute :offer_type, String

#period_count ⇒ Integer

Returns Number of billing periods.

Returns:

  • (Integer) —

    Number of billing periods



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

define_attribute :period_count, Integer

#period_length ⇒ String

Returns Billing cycle length.

Returns:

  • (String) —

    Billing cycle length



51
# File 'lib/recurly/resources/external_payment_phase.rb', line 51

define_attribute :period_length, String

#started_at ⇒ DateTime

Returns Started At.

Returns:

  • (DateTime) —

    Started At



55
# File 'lib/recurly/resources/external_payment_phase.rb', line 55

define_attribute :started_at, DateTime

#starting_billing_period_index ⇒ Integer

Returns Starting Billing Period Index.

Returns:

  • (Integer) —

    Starting Billing Period Index



59
# File 'lib/recurly/resources/external_payment_phase.rb', line 59

define_attribute :starting_billing_period_index, Integer

#updated_at ⇒ DateTime

Returns When the external subscription was updated in Recurly.

Returns:

  • (DateTime) —

    When the external subscription was updated in Recurly.



63
# File 'lib/recurly/resources/external_payment_phase.rb', line 63

define_attribute :updated_at, DateTime