Skip to content

Commit

Permalink
Add rough start for ASTRA numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeen committed Nov 5, 2022
1 parent 8b28b5f commit b1267f9
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions couriers/fedex.json
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,38 @@
"9622001560001234567100794808390597"
]
}
},
{
"name": "FedEx Astra Legacy",
"regex": [
"\\s*3\\s*",
"(?<ZipCode>([0-9]\\s*){5})",
"([0-9]\\s*){3}",
"(6\\s*0\\s*([0-9]\\s*){5})",
"(?<SerialNumber>([0-9]\\s*){12})",
"([0-9]\\s*){3}",
"(?<CheckDigit>([0-9]\\s*){1})"
],
"validation": {
"checksum": {
"name": "mod10",
"evens_multiplier": 3,
"odds_multiplier": 1
}
},
"tracking_url": "https://www.fedex.com/apps/fedextrack/?tracknumbers=%s",
"test_numbers": {
"valid": [
"32971514560102447849175802862014",
"32971510360102447848540980802018",
"32971508360102447847941133172013"
],
"invalid": [
"42971514560102447849175802862011",
"52971510360102447848540980802011",
"52971508360102447847941133172011"
]
}
}
]
}

0 comments on commit b1267f9

Please sign in to comment.