Hello, i have been working in a plugin that gets an order via Shopify Rest API and for each item i need to know the discounted percentage. I was thinking of using the array "discount_allocations" inside every line item and shipping item to sum all discount allocations values and calculate the percentage. Keep in mind that i don't need to know how the discount was applied, only need the percentage for each one. I don't know if this is the right way to cover all types of discount that can be applied to and order. I have been wondering if anyone can give me an opionion how this should be developed.