Class: Recurly::Resources::AccountAcquisitionCost

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

#amountFloat

Returns The amount of the corresponding currency used to acquire the account.

Returns:

  • (Float)

    The amount of the corresponding currency used to acquire the account.



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

define_attribute :amount, Float

#currencyString

Returns 3-letter ISO 4217 currency code.

Returns:

  • (String)

    3-letter ISO 4217 currency code.



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

define_attribute :currency, String