mirror of
https://github.com/System-End/theseus.git
synced 2026-04-19 16:38:18 +00:00
[notice123] pull in rates 2025-12-18
This commit is contained in:
parent
6a2f683706
commit
204c67f1cb
1 changed files with 75 additions and 75 deletions
|
|
@ -5,25 +5,25 @@ module USPS
|
|||
FCMI_RATE_TABLE = {
|
||||
letter: {
|
||||
1.0 => {
|
||||
ca: 1.65,
|
||||
mx: 1.65,
|
||||
other: 1.65
|
||||
ca: 1.70,
|
||||
mx: 1.70,
|
||||
other: 1.70
|
||||
},
|
||||
2.0 => {
|
||||
ca: 1.65,
|
||||
mx: 2.50,
|
||||
other: 2.98
|
||||
ca: 2.00,
|
||||
mx: 2.55,
|
||||
other: 3.40
|
||||
},
|
||||
3.0 => {
|
||||
ca: 2.36,
|
||||
mx: 3.30,
|
||||
other: 4.36
|
||||
ca: 2.70,
|
||||
mx: 3.40,
|
||||
other: 5.10
|
||||
},
|
||||
3.5 => {
|
||||
ca: 3.02,
|
||||
mx: 4.14,
|
||||
ca: 3.40,
|
||||
mx: 4.15,
|
||||
other: 5.75
|
||||
}
|
||||
},
|
||||
},
|
||||
flat: {
|
||||
1.0 => {
|
||||
|
|
@ -32,98 +32,98 @@ module USPS
|
|||
other: 3.15
|
||||
},
|
||||
2.0 => {
|
||||
ca: 3.55,
|
||||
mx: 4.22,
|
||||
other: 4.48
|
||||
ca: 3.65,
|
||||
mx: 4.25,
|
||||
other: 4.55
|
||||
},
|
||||
3.0 => {
|
||||
ca: 3.86,
|
||||
mx: 5.16,
|
||||
other: 5.78
|
||||
ca: 4.15,
|
||||
mx: 5.35,
|
||||
other: 5.95
|
||||
},
|
||||
4.0 => {
|
||||
ca: 4.12,
|
||||
mx: 6.13,
|
||||
other: 7.11
|
||||
ca: 4.65,
|
||||
mx: 6.45,
|
||||
other: 7.35
|
||||
},
|
||||
5.0 => {
|
||||
ca: 4.43,
|
||||
mx: 7.09,
|
||||
other: 8.41
|
||||
ca: 5.15,
|
||||
mx: 7.55,
|
||||
other: 8.75
|
||||
},
|
||||
6.0 => {
|
||||
ca: 4.73,
|
||||
mx: 8.03,
|
||||
other: 9.71
|
||||
ca: 5.65,
|
||||
mx: 8.65,
|
||||
other: 10.15
|
||||
},
|
||||
7.0 => {
|
||||
ca: 5.02,
|
||||
mx: 9.01,
|
||||
other: 11.01
|
||||
ca: 6.15,
|
||||
mx: 9.75,
|
||||
other: 11.55
|
||||
},
|
||||
8.0 => {
|
||||
ca: 5.32,
|
||||
mx: 9.96,
|
||||
other: 12.31
|
||||
ca: 6.65,
|
||||
mx: 10.85,
|
||||
other: 12.95
|
||||
},
|
||||
12.0 => {
|
||||
ca: 6.79,
|
||||
mx: 12.03,
|
||||
other: 14.92
|
||||
ca: 7.60,
|
||||
mx: 13.00,
|
||||
other: 15.75
|
||||
},
|
||||
15.994 => {
|
||||
ca: 8.27,
|
||||
mx: 14.10,
|
||||
other: 17.53
|
||||
}
|
||||
ca: 8.55,
|
||||
mx: 15.15,
|
||||
other: 18.55
|
||||
},
|
||||
}
|
||||
}
|
||||
FCMI_NON_MACHINABLE_SURCHARGE = 0.46
|
||||
FCMI_NON_MACHINABLE_SURCHARGE = 0.49
|
||||
|
||||
US_LETTER_RATES = {
|
||||
1.0 => 0.69,
|
||||
2.0 => 0.97,
|
||||
3.0 => 1.25,
|
||||
3.5 => 1.53
|
||||
1.0 => 0.74,
|
||||
2.0 => 1.03,
|
||||
3.0 => 1.32,
|
||||
3.5 => 1.61
|
||||
}
|
||||
|
||||
US_FLAT_RATES = {
|
||||
1.0 => 1.50,
|
||||
2.0 => 1.77,
|
||||
3.0 => 2.04,
|
||||
4.0 => 2.31,
|
||||
5.0 => 2.59,
|
||||
6.0 => 2.87,
|
||||
7.0 => 3.15,
|
||||
8.0 => 3.43,
|
||||
9.0 => 3.71,
|
||||
10.0 => 4.01,
|
||||
11.0 => 4.31,
|
||||
12.0 => 4.61,
|
||||
13.0 => 4.91
|
||||
1.0 => 1.63,
|
||||
2.0 => 1.90,
|
||||
3.0 => 2.17,
|
||||
4.0 => 2.44,
|
||||
5.0 => 2.72,
|
||||
6.0 => 3.00,
|
||||
7.0 => 3.28,
|
||||
8.0 => 3.56,
|
||||
9.0 => 3.84,
|
||||
10.0 => 4.14,
|
||||
11.0 => 4.44,
|
||||
12.0 => 4.74,
|
||||
13.0 => 5.04
|
||||
}
|
||||
|
||||
US_STAMP_LETTER_RATES = {
|
||||
1.0 => 0.73,
|
||||
2.0 => 1.01,
|
||||
3.0 => 1.29,
|
||||
3.5 => 1.57
|
||||
1.0 => 0.74,
|
||||
2.0 => 1.03,
|
||||
3.0 => 1.32,
|
||||
3.5 => 1.61
|
||||
}
|
||||
|
||||
US_STAMP_FLAT_RATES = {
|
||||
1.0 => 1.50,
|
||||
2.0 => 1.77,
|
||||
3.0 => 2.04,
|
||||
4.0 => 2.31,
|
||||
5.0 => 2.59,
|
||||
6.0 => 2.87,
|
||||
7.0 => 3.15,
|
||||
8.0 => 3.43,
|
||||
9.0 => 3.71,
|
||||
10.0 => 4.01,
|
||||
11.0 => 4.31,
|
||||
12.0 => 4.61,
|
||||
13.0 => 4.91
|
||||
1.0 => 1.63,
|
||||
2.0 => 1.90,
|
||||
3.0 => 2.17,
|
||||
4.0 => 2.44,
|
||||
5.0 => 2.72,
|
||||
6.0 => 3.00,
|
||||
7.0 => 3.28,
|
||||
8.0 => 3.56,
|
||||
9.0 => 3.84,
|
||||
10.0 => 4.14,
|
||||
11.0 => 4.44,
|
||||
12.0 => 4.74,
|
||||
13.0 => 5.04
|
||||
}
|
||||
|
||||
def metered_price(processing_category, weight, non_machinable = false)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue