Stripe::TaxRate
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
Tax rates can be applied to invoices, subscriptions and Checkout Sessions to collect tax. Related guide: Tax rates
Constants
Constructors
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance methods
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Defaults to true. When set to false, this tax rate cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set.
Custom attribute writer method checking allowed values (enum). @param [Object] active Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] country Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] created Object to be assigned
An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.
Custom attribute writer method checking allowed values (enum). @param [Object] description Object to be assigned
The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page.
Custom attribute writer method checking allowed values (enum). @param [Object] display_name Object to be assigned
Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage reflects the rate actually used to calculate tax based on the product's taxability and whether the user is registered to collect taxes in the corresponding jurisdiction.
Custom attribute writer method checking allowed values (enum). @param [Object] effective_percentage Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] inclusive Object to be assigned
The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.
Custom attribute writer method checking allowed values (enum). @param [Object] jurisdiction Object to be assigned
The level of the jurisdiction that imposes this tax rate. Will be null for manually defined tax rates.
Custom attribute writer method checking allowed values (enum). @param [Object] jurisdiction_level Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
Custom attribute writer method checking allowed values (enum). @param [Object] livemode Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] metadata Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] object Object to be assigned
Tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage includes the statutory tax rate of non-taxable jurisdictions.
Custom attribute writer method checking allowed values (enum). @param [Object] percentage Object to be assigned
ISO 3166-2 subdivision code, without country prefix. For example, "NY" for New York, United States.
Custom attribute writer method checking allowed values (enum). @param [Object] state Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] tax_type Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid