Class: Stripe::Tax::Calculation::CustomerDetails
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Tax::Calculation::CustomerDetails
- Defined in:
- lib/stripe/resources/tax/calculation.rb
Defined Under Namespace
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
The customer’s postal address (for example, home or business location).
-
#address_source ⇒ Object
readonly
The type of customer address provided.
-
#ip_address ⇒ Object
readonly
The customer’s IP address (IPv4 or IPv6).
-
#tax_ids ⇒ Object
readonly
The customer’s tax IDs (for example, EU VAT numbers).
-
#taxability_override ⇒ Object
readonly
The taxability override used for taxation.
Attributes inherited from StripeObject
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
#address ⇒ Object (readonly)
The customer’s postal address (for example, home or business location).
56 57 58 |
# File 'lib/stripe/resources/tax/calculation.rb', line 56 def address @address end |
#address_source ⇒ Object (readonly)
The type of customer address provided.
58 59 60 |
# File 'lib/stripe/resources/tax/calculation.rb', line 58 def address_source @address_source end |
#ip_address ⇒ Object (readonly)
The customer’s IP address (IPv4 or IPv6).
60 61 62 |
# File 'lib/stripe/resources/tax/calculation.rb', line 60 def ip_address @ip_address end |
#tax_ids ⇒ Object (readonly)
The customer’s tax IDs (for example, EU VAT numbers).
62 63 64 |
# File 'lib/stripe/resources/tax/calculation.rb', line 62 def tax_ids @tax_ids end |
#taxability_override ⇒ Object (readonly)
The taxability override used for taxation.
64 65 66 |
# File 'lib/stripe/resources/tax/calculation.rb', line 64 def taxability_override @taxability_override end |
Class Method Details
.field_remappings ⇒ Object
70 71 72 |
# File 'lib/stripe/resources/tax/calculation.rb', line 70 def self.field_remappings @field_remappings = {} end |