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, 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_nameObject (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_decimalObject (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_typeObject (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_remappingsObject



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

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



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

def self.inner_class_types
  @inner_class_types = {}
end