Class: Stripe::Tax::Transaction::ShippingCost::TaxBreakdown::TaxRateDetails

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

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

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_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.)”.



88
89
90
# File 'lib/stripe/resources/tax/transaction.rb', line 88

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



90
91
92
# File 'lib/stripe/resources/tax/transaction.rb', line 90

def percentage_decimal
  @percentage_decimal
end

#tax_typeObject (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