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
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getType()
The network that the token is associated with.getVisa()
int
hashCode()
void
setDevice
(Token.NetworkData.Device device) void
setMastercard
(Token.NetworkData.Mastercard mastercard) void
The network that the token is associated with.void
void
setWalletProvider
(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()
-