paypal / paypal-js

Loading wrapper and TypeScript types for the PayPal JS SDK
Apache License 2.0
238 stars 83 forks source link

[Bug] shipping_detail.type does not reflect documented values #571

Open rcambrj opened 1 month ago

rcambrj commented 1 month ago

Library used

paypal-js

🐞 Describe the Bug

In the documentation for orders, the shipping_detail.type attribute can be one of the following values: SHIPPING, PICKUP_IN_PERSON (DEPRECATED), PICKUP_IN_STORE, PICKUP_FROM_PERSON.

But the type in this repository is missing the following values: PICKUP_IN_STORE and PICKUP_FROM_PERSON.

🔬 Minimal Reproduction

Not relevant.

😕 Actual Behavior

Not relevant.

🤔 Expected Behavior

Types should reflect documentation.

🌍 Environment

Not relevant

➕ Additional Context

None