Class: Stripe::Tax::Transaction::ShippingCost::TaxBreakdown::TaxRateDetails
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Tax::Transaction::ShippingCost::TaxBreakdown::TaxRateDetails
- Defined in:
- lib/stripe/resources/tax/transaction.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
Method Summary
Methods inherited from StripeObject
#==, #[], #[]=, 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.)”.
88 89 90 |
# File 'lib/stripe/resources/tax/transaction.rb', line 88 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”.
90 91 92 |
# File 'lib/stripe/resources/tax/transaction.rb', line 90 def percentage_decimal @percentage_decimal end |
#tax_type ⇒ Object (readonly)
The tax type, such as ‘vat` or `sales_tax`.
92 93 94 |
# File 'lib/stripe/resources/tax/transaction.rb', line 92 def tax_type @tax_type end |