Class: Stripe::Issuing::Token::NetworkData
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Issuing::Token::NetworkData
- Defined in:
- lib/stripe/resources/issuing/token.rb
Defined Under Namespace
Classes: Device, Mastercard, Visa, WalletProvider
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#device ⇒ Object
readonly
Attribute for field device.
-
#mastercard ⇒ Object
readonly
Attribute for field mastercard.
-
#type ⇒ Object
readonly
The network that the token is associated with.
-
#visa ⇒ Object
readonly
Attribute for field visa.
-
#wallet_provider ⇒ Object
readonly
Attribute for field wallet_provider.
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
#device ⇒ Object (readonly)
Attribute for field device
123 124 125 |
# File 'lib/stripe/resources/issuing/token.rb', line 123 def device @device end |
#mastercard ⇒ Object (readonly)
Attribute for field mastercard
125 126 127 |
# File 'lib/stripe/resources/issuing/token.rb', line 125 def mastercard @mastercard end |
#type ⇒ Object (readonly)
The network that the token is associated with. An additional hash is included with a name matching this value, containing tokenization data specific to the card network.
127 128 129 |
# File 'lib/stripe/resources/issuing/token.rb', line 127 def type @type end |
#visa ⇒ Object (readonly)
Attribute for field visa
129 130 131 |
# File 'lib/stripe/resources/issuing/token.rb', line 129 def visa @visa end |
#wallet_provider ⇒ Object (readonly)
Attribute for field wallet_provider
131 132 133 |
# File 'lib/stripe/resources/issuing/token.rb', line 131 def wallet_provider @wallet_provider end |
Class Method Details
.field_remappings ⇒ Object
142 143 144 |
# File 'lib/stripe/resources/issuing/token.rb', line 142 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
133 134 135 136 137 138 139 140 |
# File 'lib/stripe/resources/issuing/token.rb', line 133 def self.inner_class_types @inner_class_types = { device: Device, mastercard: Mastercard, visa: Visa, wallet_provider: WalletProvider, } end |