Class: Stripe::Tax::CalculationLineItem::TaxBreakdown::TaxRateDetails

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/tax/calculation_line_item.rb

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Class Method Summary collapse

Methods inherited from StripeObject

#==, #[], #[]=, #_get_inner_class_type, #_get_union_variant_class, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, inner_class_union_variant_types, #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.)".



35
36
37
# File 'lib/stripe/resources/tax/calculation_line_item.rb', line 35

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".



37
38
39
# File 'lib/stripe/resources/tax/calculation_line_item.rb', line 37

def percentage_decimal
  @percentage_decimal
end

#tax_type ⇒ Object (readonly)

The tax type, such as vat or sales_tax.



39
40
41
# File 'lib/stripe/resources/tax/calculation_line_item.rb', line 39

def tax_type
  @tax_type
end

Class Method Details

.field_remappings ⇒ Object



45
46
47
# File 'lib/stripe/resources/tax/calculation_line_item.rb', line 45

def self.field_remappings
  @field_remappings = {}
end

.inner_class_types ⇒ Object



41
42
43
# File 'lib/stripe/resources/tax/calculation_line_item.rb', line 41

def self.inner_class_types
  @inner_class_types = {}
end