- From: adamroach <notifications@github.com>
- Date: Mon, 20 Jun 2016 16:14:25 -0700
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
- Cc:
Received on Monday, 20 June 2016 23:15:21 UTC
To be clear, what I'm proposing would end up looking like:
```javascript
if(PaymentOptions.getSupportedOptions()['requestShipping']){
// can use 'requestShipping' in the dictionary
}
```
...as contrasted with:
```javascript
if(PaymentRequest.prototype.hasOwnProperty("shippingAddress")){
// can use 'requestShipping' in the dictionary
}
```
So you can see how one of these has a straight line (e.g., requestShipping -> requestShipping) while the other has an inference (e.g. shippingAddress -> requestShipping)
---
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/issues/33#issuecomment-227297557
Received on Monday, 20 June 2016 23:15:21 UTC