Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add STPBillingAddressFieldsName option for STPBillingAddressFields #964

Merged
merged 1 commit into from
Jun 11, 2018

Conversation

joeydong-stripe
Copy link
Contributor

Summary

Add STPBillingAddressFieldsName option for STPBillingAddressFields so users can require just the name part of the billing address. The full set of options are:

typedef NS_ENUM(NSUInteger, STPBillingAddressFields) {
    /**
     No billing address information
     */
    STPBillingAddressFieldsNone,
    /**
     Just request the user's billing ZIP code
     */
    STPBillingAddressFieldsZip,
    /**
     Request the user's full billing address
     */
    STPBillingAddressFieldsFull,

    /**
     Just request the user's billing name
     */
    STPBillingAddressFieldsName,
};

Motivation

MOBILE-25

Testing

simulator screen shot - iphone 6s - 2018-06-11 at 14 02 42

@joeydong-stripe joeydong-stripe self-assigned this Jun 11, 2018
@joeydong-stripe
Copy link
Contributor Author

r? @csabol-stripe / @danj-stripe

Copy link
Contributor

@danj-stripe danj-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joeydong-stripe
Copy link
Contributor Author

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants