Create DownloadFinianceOperation and service function accordingly
Implement DownloadFianaceReport Command
⚠️ Items of Note
The suffix of the downloaded file is .gz
🧐🗒 Reviewer Notes
💁 Example
USAGE: asc reports financial [--api-issuer <uuid>] [--api-key-id <keyid>] [--csv] [--json] [--table] [--yaml] <region-code> <report-date> <vendor-number> <output-filename>
ARGUMENTS:
<region-code> You can download consolidated or separate financial reports per territory.
Possible values: (AE, AU, BG, BR, CA, CH, CL, CN, CO, CZ, DK, EG, EU, GB, HK, HU, ID, IL, IN, JP, KR, KZ, MX, MY, NG, NO, NZ,
PE, PH, PK, PL, QA, RU, SA, SE, SG, TR, TW, TZ, US, VN, WW, ZA, ZZ)
<report-date> The date of the report you wish to download based on the Apple Fiscal Calendar.
The date is specified in the YYYY-MM format.
<vendor-number> Your vendor number.
<output-filename> The downloaded report file name.
🔨 How To Test
swift run asc reports financial AU 2020-05 12345678 ./../report
Closes #90
📝 Summary of Changes
Changes proposed in this pull request:
DownloadFinianceOperation
and service function accordingly⚠️ Items of Note
The suffix of the downloaded file is
.gz
🧐🗒 Reviewer Notes
💁 Example
🔨 How To Test
swift run asc reports financial AU 2020-05 12345678 ./../report