Package com.stripe.model
Class PaymentMethod.Card.Networks
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentMethod.Card.Networks
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentMethod.Card
The type of mobile wallet, one of
apple_pay
, google_pay
,
samsung_pay
, or unknown
.-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
All available networks for the card.The preferred network for co-branded cards.int
hashCode()
void
setAvailable
(List<String> available) All available networks for the card.void
setPreferred
(String preferred) The preferred network for co-branded cards.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Networks
public Networks()
-
-
Method Details
-
getAvailable
All available networks for the card. -
getPreferred
The preferred network for co-branded cards. Can becartes_bancaires
,mastercard
,visa
orinvalid_preference
if requested network is not valid for the card. -
setAvailable
All available networks for the card. -
setPreferred
The preferred network for co-branded cards. Can becartes_bancaires
,mastercard
,visa
orinvalid_preference
if requested network is not valid for the card. -
equals
-
canEqual
-
hashCode
public int hashCode()
-