Function example based upon API2.0

Function example based upon API2.0

When a script was made by making reference to the custom function example indicated on a manual, an error message of the effect which isn't based upon API2.0 was indicated.
Please tell me function example based upon API2.0.

<<Uniform Resource Locator and the item of the man page to which I referred>>



Calculation of Taxes in Product Line items.

Thank you.