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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
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, 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()
-