Class: Lithic::Models::Device
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::Device
- Defined in:
- lib/lithic/models/device.rb
Instance Attribute Summary collapse
-
#imei ⇒ String?
The IMEI number of the device being provisioned.
-
#ip_address ⇒ String?
The IP address of the device initiating the request.
-
#location ⇒ String?
Latitude and longitude where the device is located during the authorization attempt.
Instance Method Summary collapse
-
#initialize(imei:, ip_address:, location:) ⇒ Object
constructor
Some parameter documentations has been truncated, see Device for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(imei:, ip_address:, location:) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::Device for more details.
|
|
# File 'lib/lithic/models/device.rb', line 26
|
Instance Attribute Details
#imei ⇒ String?
The IMEI number of the device being provisioned. For Amex, this field contains device ID instead as IMEI is not provided
11 |
# File 'lib/lithic/models/device.rb', line 11 required :imei, String, nil?: true |
#ip_address ⇒ String?
The IP address of the device initiating the request
17 |
# File 'lib/lithic/models/device.rb', line 17 required :ip_address, String, nil?: true |
#location ⇒ String?
Latitude and longitude where the device is located during the authorization attempt
24 |
# File 'lib/lithic/models/device.rb', line 24 required :location, String, nil?: true |