Class: Recurly::Resources::ReferenceOnlyCurrencyConversion

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

#currency ⇒ String

Returns 3-letter ISO 4217 currency code.

Returns:

  • (String) —

    3-letter ISO 4217 currency code.



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

define_attribute :currency, String

#date ⇒ String

Returns The date of the conversion rate.

Returns:

  • (String) —

    The date of the conversion rate.



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

define_attribute :date, String

#rate ⇒ String

Returns The conversion rate to the currency.

Returns:

  • (String) —

    The conversion rate to the currency.



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

define_attribute :rate, String

#source ⇒ String

Returns The source of the conversion rate.

Returns:

  • (String) —

    The source of the conversion rate.



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

define_attribute :source, String

#subtotal_in_cents ⇒ Float

Returns The subtotal converted to the currency.

Returns:

  • (Float) —

    The subtotal converted to the currency.



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

define_attribute :subtotal_in_cents, Float

#tax_in_cents ⇒ Float

Returns The tax converted to the currency.

Returns:

  • (Float) —

    The tax converted to the currency.



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

define_attribute :tax_in_cents, Float