Class: Stripe::Tax::Transaction::CustomerDetails

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

Defined Under Namespace

Classes: Address, TaxId

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

#addressObject (readonly)

The customer’s postal address (for example, home or business location).



38
39
40
# File 'lib/stripe/resources/tax/transaction.rb', line 38

def address
  @address
end

#address_sourceObject (readonly)

The type of customer address provided.



40
41
42
# File 'lib/stripe/resources/tax/transaction.rb', line 40

def address_source
  @address_source
end

#ip_addressObject (readonly)

The customer’s IP address (IPv4 or IPv6).



42
43
44
# File 'lib/stripe/resources/tax/transaction.rb', line 42

def ip_address
  @ip_address
end

#tax_idsObject (readonly)

The customer’s tax IDs (for example, EU VAT numbers).



44
45
46
# File 'lib/stripe/resources/tax/transaction.rb', line 44

def tax_ids
  @tax_ids
end

#taxability_overrideObject (readonly)

The taxability override used for taxation.



46
47
48
# File 'lib/stripe/resources/tax/transaction.rb', line 46

def taxability_override
  @taxability_override
end