Skip to content

Commit

Permalink
Make PaymentMethod.Card.networks field public (#5552)
Browse files Browse the repository at this point in the history
* Make PaymentMethod networks prop public

* Update API

* Update changelog
  • Loading branch information
tillh-stripe authored Sep 14, 2022
1 parent 71c5e33 commit 33f0c60
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## X.X.X - 2022-XX-XX

### Payments

* [CHANGED] [5552](https://github.com/stripe/stripe-android/pull/5552) Make `PaymentMethod.Card.networks` field public.

## 20.12.0 - 2022-09-13
This release upgrades `compileSdkVersion` to 33, updates Google Pay button to match the new brand
guidelines and fixes some bugs in `FlowController`.
Expand Down
2 changes: 2 additions & 0 deletions payments-core/api/payments-core.api
Original file line number Diff line number Diff line change
Expand Up @@ -3567,10 +3567,12 @@ public final class com/stripe/android/model/PaymentMethod$Card : com/stripe/andr
public final field fingerprint Ljava/lang/String;
public final field funding Ljava/lang/String;
public final field last4 Ljava/lang/String;
public final field networks Lcom/stripe/android/model/PaymentMethod$Card$Networks;
public final field threeDSecureUsage Lcom/stripe/android/model/PaymentMethod$Card$ThreeDSecureUsage;
public final field wallet Lcom/stripe/android/model/wallets/Wallet;
public final fun component1 ()Lcom/stripe/android/model/CardBrand;
public final fun component10 ()Lcom/stripe/android/model/wallets/Wallet;
public final fun component11 ()Lcom/stripe/android/model/PaymentMethod$Card$Networks;
public final fun component2 ()Lcom/stripe/android/model/PaymentMethod$Card$Checks;
public final fun component3 ()Ljava/lang/String;
public final fun component4 ()Ljava/lang/Integer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ constructor(
@JvmField val wallet: Wallet? = null,

@JvmField
internal val networks: Networks? = null
val networks: Networks? = null
) : TypeData() {
override val type: Type get() = Type.Card

Expand Down

0 comments on commit 33f0c60

Please sign in to comment.