Advertisement
Marlingaming

Gov Ec API

Nov 2nd, 2022 (edited)
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. local TaxCodeReference = "1002 Company Regulations"
  2.  
  3. local function GetTax(item)
  4. local Tax
  5. if item == "sales" then
  6. Tax = 0.05
  7. elseif item == "property" then
  8. Tax = 0
  9. elseif item == "income" then
  10. Tax = 0
  11. elseif item == "other" then
  12. Tax = 0
  13. end
  14. return Tax
  15. end
  16.  
  17. local function GetCode()
  18. return TaxCodeReference
  19. end
  20.  
  21. return { GetTax = GetTax, GetCode = GetCode }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement