Class: Stripe::Tax::CalculationLineItem::TaxBreakdown::TaxRateDetails
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Tax::CalculationLineItem::TaxBreakdown::TaxRateDetails
- Defined in:
- lib/stripe/resources/tax/calculation_line_item.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#display_name ⇒ Object
readonly
A localized display name for tax type, intended to be human-readable.
-
#percentage_decimal ⇒ Object
readonly
The tax rate percentage as a string.
-
#tax_type ⇒ Object
readonly
The tax type, such as ‘vat` or `sales_tax`.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#display_name ⇒ Object (readonly)
A localized display name for tax type, intended to be human-readable. For example, “Local Sales and Use Tax”, “Value-added tax (VAT)”, or “Umsatzsteuer (USt.)”.
34 35 36 |
# File 'lib/stripe/resources/tax/calculation_line_item.rb', line 34 def display_name @display_name end |
#percentage_decimal ⇒ Object (readonly)
The tax rate percentage as a string. For example, 8.5% is represented as “8.5”.
36 37 38 |
# File 'lib/stripe/resources/tax/calculation_line_item.rb', line 36 def percentage_decimal @percentage_decimal end |
#tax_type ⇒ Object (readonly)
The tax type, such as ‘vat` or `sales_tax`.
38 39 40 |
# File 'lib/stripe/resources/tax/calculation_line_item.rb', line 38 def tax_type @tax_type end |
Class Method Details
.field_remappings ⇒ Object
44 45 46 |
# File 'lib/stripe/resources/tax/calculation_line_item.rb', line 44 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
40 41 42 |
# File 'lib/stripe/resources/tax/calculation_line_item.rb', line 40 def self.inner_class_types @inner_class_types = {} end |