Skip to content

UPS how to set UnitOfMeasurement? #67

Answered by alexeybusygin
ebaj-tech asked this question in Q&A
Discussion options

You must be logged in to vote

Starting from v2.2.0, the UPS provider sends kg/cm dimensions for shipments from outside the US. Package dimensions are automatically converted to the necessary system of measurement. Along with the existing Packages class (accepting values for lbs and inches), a new PackageKgCm class is introduced for dimensions in kg and cm. Both classes can be used for shipments.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@ebaj-tech
Comment options

@alexeybusygin
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by alexeybusygin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants