Package com.stripe.model.issuing
Class Token.NetworkData
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.issuing.Token.NetworkData
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Token
For more details about NetworkData, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Device, please refer to the API Reference.static classFor more details about Mastercard, please refer to the API Reference.static classFor more details about Visa, please refer to the API Reference.static classFor more details about WalletProvider, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetType()The network that the token is associated with.getVisa()inthashCode()voidsetDevice(Token.NetworkData.Device device) voidsetMastercard(Token.NetworkData.Mastercard mastercard) voidThe network that the token is associated with.voidvoidsetWalletProvider(Token.NetworkData.WalletProvider walletProvider) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
NetworkData
public NetworkData()
-
-
Method Details
-
getDevice
-
getMastercard
-
getType
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.One of
mastercard, orvisa. -
getVisa
-
getWalletProvider
-
setDevice
-
setMastercard
-
setType
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.One of
mastercard, orvisa. -
setVisa
-
setWalletProvider
-
equals
-
canEqual
-
hashCode
public int hashCode()
-