Class: Stripe::Tax::Calculation::TaxBreakdown::TaxRateDetails

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

Defined Under Namespace

Classes: FlatAmount

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

#countryObject (readonly)

Returns the value of attribute country.



54
55
56
# File 'lib/stripe/resources/tax/calculation.rb', line 54

def country
  @country
end

#flat_amountObject (readonly)

Returns the value of attribute flat_amount.



54
55
56
# File 'lib/stripe/resources/tax/calculation.rb', line 54

def flat_amount
  @flat_amount
end

#percentage_decimalObject (readonly)

Returns the value of attribute percentage_decimal.



54
55
56
# File 'lib/stripe/resources/tax/calculation.rb', line 54

def percentage_decimal
  @percentage_decimal
end

#rate_typeObject (readonly)

Returns the value of attribute rate_type.



54
55
56
# File 'lib/stripe/resources/tax/calculation.rb', line 54

def rate_type
  @rate_type
end

#stateObject (readonly)

Returns the value of attribute state.



54
55
56
# File 'lib/stripe/resources/tax/calculation.rb', line 54

def state
  @state
end

#tax_typeObject (readonly)

Returns the value of attribute tax_type.



54
55
56
# File 'lib/stripe/resources/tax/calculation.rb', line 54

def tax_type
  @tax_type
end