Class: Recurly::Requests::AddOnPricing
- Inherits:
-
Recurly::Request
- Object
- Recurly::Request
- Recurly::Requests::AddOnPricing
- Defined in:
- lib/recurly/requests/add_on_pricing.rb
Instance Attribute Summary collapse
-
#currency ⇒ String
3-letter ISO 4217 currency code.
-
#tax_inclusive ⇒ Boolean
This field is deprecated.
-
#unit_amount ⇒ Float
Allows up to 2 decimal places.
-
#unit_amount_decimal ⇒ String
Allows up to 9 decimal places.
Attributes inherited from Recurly::Request
Method Summary
Methods inherited from Recurly::Request
Methods included from Schema::SchemaFactory
Methods included from Schema::RequestCaster
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#currency ⇒ String
Returns 3-letter ISO 4217 currency code.
11 |
# File 'lib/recurly/requests/add_on_pricing.rb', line 11 define_attribute :currency, String |
#tax_inclusive ⇒ Boolean
Returns This field is deprecated. Please do not use it.
15 |
# File 'lib/recurly/requests/add_on_pricing.rb', line 15 define_attribute :tax_inclusive, :Boolean |
#unit_amount ⇒ Float
Returns Allows up to 2 decimal places. Required unless `unit_amount_decimal` is provided.
19 |
# File 'lib/recurly/requests/add_on_pricing.rb', line 19 define_attribute :unit_amount, Float |
#unit_amount_decimal ⇒ String
Returns Allows up to 9 decimal places. Only supported when `add_on_type` = `usage`. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
23 |
# File 'lib/recurly/requests/add_on_pricing.rb', line 23 define_attribute :unit_amount_decimal, String |