-
Notifications
You must be signed in to change notification settings - Fork 294
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
Allow email OR phone to init BTShopperInsightsRequest
#1149
Conversation
UI test failures unrelated. Created a JIRA to investigate DTBTSDK-3253 |
/// The buyer's country code prefix to the national telephone number. An identifier for a specific country. | ||
/// Must not contain special characters. | ||
private let phoneCountryCode: String | ||
private var email: String? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we will want these to be internal not private eventually so we can access the properties within the module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, maybe let's leave them private until we have to? I'm not sure that we will necessarily
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This type will end up being encoded for the POST to PaymentReady API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ,gotcha. Yeah we can always change it down the road if needed!
Summary of changes
BTShopperInsightsRequest
to allow for merchants to pass the following combinations:Note: Tests for this will come once we start constructing the POST json body.
Checklist
Added a changelog entryAuthors
@scannillo