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

public static class PaymentMethod.Card.Networks extends StripeObject
The type of mobile wallet, one of apple_pay, google_pay, samsung_pay, or unknown.
  • Constructor Details

    • Networks

      public Networks()
  • Method Details

    • getAvailable

      public List<String> getAvailable()
      All available networks for the card.
    • getPreferred

      public String getPreferred()
      The preferred network for co-branded cards. Can be cartes_bancaires, mastercard, visa or invalid_preference if requested network is not valid for the card.
    • setAvailable

      public void setAvailable(List<String> available)
      All available networks for the card.
    • setPreferred

      public void setPreferred(String preferred)
      The preferred network for co-branded cards. Can be cartes_bancaires, mastercard, visa or invalid_preference if requested network is not valid for the card.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object