If shippingType is provided, it will always be a valid shipping type, now that we are using an enum (as of 7e9a3323ac7ed932597fe4b3963331f9fa883041). But we also need to correctly handle the case where it is not provided, or where requestShipping is false, in which case it should be null.
You can view, comment on, or merge this pull request online at:
https://github.com/w3c/browser-payment-api/pull/452
-- Commit Summary --
* Fix constructor handling of shippingType
-- File Changes --
M index.html (21)
-- Patch Links --
https://github.com/w3c/browser-payment-api/pull/452.patch
https://github.com/w3c/browser-payment-api/pull/452.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/browser-payment-api/pull/452