Class: Stripe::Issuing::Token::NetworkData::Device

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/issuing/token.rb

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

#device_fingerprintObject (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_addressObject (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

#locationObject (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

#nameObject (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_numberObject (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

#typeObject (readonly)

The type of device used for tokenization.



29
30
31
# File 'lib/stripe/resources/issuing/token.rb', line 29

def type
  @type
end