Class: Stripe::Tax::Settings::Defaults

Inherits:
StripeObject show all
Defined in:
lib/stripe/resources/tax/settings.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

#providerObject (readonly)

The tax calculation provider this account uses. Defaults to ‘stripe` when not using a [third-party provider](/tax/third-party-apps).



19
20
21
# File 'lib/stripe/resources/tax/settings.rb', line 19

def provider
  @provider
end

#tax_behaviorObject (readonly)

Default [tax behavior](stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) used to specify whether the price is considered inclusive of taxes or exclusive of taxes. If the item’s price has a tax behavior set, it will take precedence over the default tax behavior.



21
22
23
# File 'lib/stripe/resources/tax/settings.rb', line 21

def tax_behavior
  @tax_behavior
end

#tax_codeObject (readonly)

Default [tax code](stripe.com/docs/tax/tax-categories) used to classify your products and prices.



23
24
25
# File 'lib/stripe/resources/tax/settings.rb', line 23

def tax_code
  @tax_code
end

Class Method Details

.field_remappingsObject



29
30
31
# File 'lib/stripe/resources/tax/settings.rb', line 29

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



25
26
27
# File 'lib/stripe/resources/tax/settings.rb', line 25

def self.inner_class_types
  @inner_class_types = {}
end