XiaoFaye / WooCommerce.NET

A .NET Wrapper for WooCommerce/WordPress REST API
MIT License
391 stars 217 forks source link

Accounting for situations where '-' symbol is returned for null numeric values #765

Open edmundas-kevisas opened 9 months ago

edmundas-kevisas commented 9 months ago

Example API response that is handled with the PR change:

...
"line_items": [
    {
        ...
        "taxes": [
            {
                "id": 1,
                "total": "-",
                "subtotal": "-"
            }
        ],
        ...
    }
],
...