Class: Stripe::Issuing::Token::NetworkData::Device
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Issuing::Token::NetworkData::Device
- Defined in:
- lib/stripe/resources/issuing/token.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#device_fingerprint ⇒ Object
readonly
An obfuscated ID derived from the device ID.
-
#ip_address ⇒ Object
readonly
The IP address of the device at provisioning time.
-
#location ⇒ Object
readonly
The geographic latitude/longitude coordinates of the device at provisioning time.
-
#name ⇒ Object
readonly
The name of the device used for tokenization.
-
#phone_number ⇒ Object
readonly
The phone number of the device used for tokenization.
-
#type ⇒ Object
readonly
The type of device used for tokenization.
Attributes inherited from StripeObject
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
#device_fingerprint ⇒ Object (readonly)
An obfuscated ID derived from the device ID.
19 20 21 |
# File 'lib/stripe/resources/issuing/token.rb', line 19 def device_fingerprint @device_fingerprint end |
#ip_address ⇒ Object (readonly)
The IP address of the device at provisioning time.
21 22 23 |
# File 'lib/stripe/resources/issuing/token.rb', line 21 def ip_address @ip_address end |
#location ⇒ Object (readonly)
The geographic latitude/longitude coordinates of the device at provisioning time. The format is [-]decimal/[
-]decimal.
23 24 25 |
# File 'lib/stripe/resources/issuing/token.rb', line 23 def location @location end |
#name ⇒ Object (readonly)
The name of the device used for tokenization.
25 26 27 |
# File 'lib/stripe/resources/issuing/token.rb', line 25 def name @name end |
#phone_number ⇒ Object (readonly)
The phone number of the device used for tokenization.
27 28 29 |
# File 'lib/stripe/resources/issuing/token.rb', line 27 def phone_number @phone_number end |
#type ⇒ Object (readonly)
The type of device used for tokenization.
29 30 31 |
# File 'lib/stripe/resources/issuing/token.rb', line 29 def type @type end |