Class: Recurly::Resources::PlanPricing

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

#currencyString

Returns 3-letter ISO 4217 currency code.

Returns:

  • (String)

    3-letter ISO 4217 currency code.



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

define_attribute :currency, String

#setup_feeFloat

Returns Amount of one-time setup fee automatically charged at the beginning of a subscription billing cycle. For subscription plans with a trial, the setup fee will be charged at the time of signup. Setup fees do not increase with the quantity of a subscription plan.

Returns:

  • (Float)

    Amount of one-time setup fee automatically charged at the beginning of a subscription billing cycle. For subscription plans with a trial, the setup fee will be charged at the time of signup. Setup fees do not increase with the quantity of a subscription plan.



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

define_attribute :setup_fee, Float

#tax_inclusiveBoolean

Returns This field is deprecated. Please do not use it.

Returns:

  • (Boolean)

    This field is deprecated. Please do not use it.



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

define_attribute :tax_inclusive, :Boolean

#unit_amountFloat

Returns This field should not be sent when the pricing model is 'ramp'.

Returns:

  • (Float)

    This field should not be sent when the pricing model is 'ramp'.



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

define_attribute :unit_amount, Float