Class: Recurly::Resources::ExternalCharge

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

#accountAccountMini

Returns Account mini details.

Returns:



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

define_attribute :account, :AccountMini

#created_atDateTime

Returns When the external charge was created in Recurly.

Returns:

  • (DateTime)

    When the external charge was created in Recurly.



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

define_attribute :created_at, DateTime

#currencyString

Returns 3-letter ISO 4217 currency code.

Returns:

  • (String)

    3-letter ISO 4217 currency code.



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

define_attribute :currency, String

#descriptionString

Returns:

  • (String)


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

define_attribute :description, String

#external_product_referenceExternalProductReferenceMini

Returns External Product Reference details.

Returns:



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

define_attribute :external_product_reference, :ExternalProductReferenceMini

#idString

Returns System-generated unique identifier for an external charge ID, e.g. `e28zov4fw0v2`.

Returns:

  • (String)

    System-generated unique identifier for an external charge ID, e.g. `e28zov4fw0v2`.



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

define_attribute :id, String

#objectString

Returns Object type.

Returns:

  • (String)

    Object type



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

define_attribute :object, String

#quantityInteger

Returns:

  • (Integer)


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

define_attribute :quantity, Integer

#unit_amountString

Returns Unit Amount.

Returns:

  • (String)

    Unit Amount



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

define_attribute :unit_amount, String

#updated_atDateTime

Returns When the external charge was updated in Recurly.

Returns:

  • (DateTime)

    When the external charge was updated in Recurly.



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

define_attribute :updated_at, DateTime