Skip to content

Commit

Permalink
Add RequiredBillingAddressFields.NAME option to enumeration
Browse files Browse the repository at this point in the history
  • Loading branch information
joeydong-stripe committed Jun 11, 2018
1 parent 5a0ac68 commit 4a954a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Add EPS and Multibanco support to `SourceParams` (https://github.com/stripe/stripe-android/pull/583)
Add `RequiredBillingAddressFields.NAME` option to enumeration (https://github.com/stripe/stripe-android/pull/586)

7.0.1 2018-05-25
Make iDEAL params match API - `name` is optional and optional ideal `bank` and `statement_descriptor` can be set independently
Expand Down
4 changes: 3 additions & 1 deletion stripe/src/main/java/com/stripe/android/model/Address.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ public class Address extends StripeJsonModel implements Parcelable {
@IntDef({
RequiredBillingAddressFields.NONE,
RequiredBillingAddressFields.ZIP,
RequiredBillingAddressFields.FULL})
RequiredBillingAddressFields.FULL,
RequiredBillingAddressFields.NAME})
@Retention(RetentionPolicy.SOURCE)
public @interface RequiredBillingAddressFields {
int NONE = 0;
int ZIP = 1;
int FULL = 2;
int NAME = 3;
}

private static final String FIELD_CITY = "city";
Expand Down

0 comments on commit 4a954a4

Please sign in to comment.