whatarmy / fedexrest Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
MIT?
It looks like not all of FedEx's service types are defined in the ServiceType.php file. I created this issue to add the missing types.
Here's a quick preview of my proposed adjustments.
const _FEDEX_2_DAY = 'FEDEX_2_DAY';
const _FEDEX_2_DAY_AM = 'FEDEX_2_DAY_AM';
const _FEDEX_CUSTOM_CRITICAL_CHARTER_AIR = 'FEDEX_CUSTOM_CRITICAL_CHARTER_AIR';
const _FEDEX_CUSTOM_CRITICAL_AIR_EXPEDITE = 'FEDEX_CUSTOM_CRITICAL_AIR_EXPEDITE';
const _FEDEX_CUSTOM_CRITICAL_AIR_EXPEDITE_EXCLUSIVE_USE = 'FEDEX_CUSTOM_CRITICAL_AIR_EXPEDITE_EXCLUSIVE_USE';
const _FEDEX_CUSTOM_CRITICAL_AIR_EXPEDITE_NETWORK = 'FEDEX_CUSTOM_CRITICAL_AIR_EXPEDITE_NETWORK';
const _FEDEX_CUSTOM_CRITICAL_POINT_TO_POINT = 'FEDEX_CUSTOM_CRITICAL_POINT_TO_POINT';
const _FEDEX_CUSTOM_CRITICAL_SURFACE_EXPEDITE = 'FEDEX_CUSTOM_CRITICAL_SURFACE_EXPEDITE';
const _FEDEX_CUSTOM_CRITICAL_SURFACE_EXPEDITE_EXCLUSIVE_USE = 'FEDEX_CUSTOM_CRITICAL_SURFACE_EXPEDITE_EXCLUSIVE_USE';
const _FEDEX_DISTANCE_DEFERRED = 'FEDEX_DISTANCE_DEFERRED';
const _EUROPE_FIRST_INTERNATIONAL_PRIORITY = 'EUROPE_FIRST_INTERNATIONAL_PRIORITY';
const _FEDEX_EXPRESS_SAVER = 'FEDEX_EXPRESS_SAVER';
const _FIRST_OVERNIGHT = 'FIRST_OVERNIGHT';
const _FEDEX_FIRST_OVERNIGHT_EXTRA_HOURS = 'FEDEX_FIRST_OVERNIGHT_EXTRA_HOURS';
const _FEDEX_GROUND = 'FEDEX_GROUND';
const _GROUND_HOME_DELIVERY = 'GROUND_HOME_DELIVERY';
const _FEDEX_CARGO_AIRPORT_TO_AIRPORT = 'FEDEX_CARGO_AIRPORT_TO_AIRPORT';
const _FEDEX_INTERNATIONAL_CONNECT_PLUS = 'FEDEX_INTERNATIONAL_CONNECT_PLUS';
const _INTERNATIONAL_ECONOMY = 'INTERNATIONAL_ECONOMY';
const _INTERNATIONAL_ECONOMY_DISTRIBUTION = 'INTERNATIONAL_ECONOMY_DISTRIBUTION';
const _INTERNATIONAL_FIRST = 'INTERNATIONAL_FIRST';
const _FEDEX_CARGO_MAIL = 'FEDEX_CARGO_MAIL';
const _FEDEX_CARGO_INTERNATIONAL_PREMIUM = 'FEDEX_CARGO_INTERNATIONAL_PREMIUM';
const _INTERNATIONAL_PRIORITY_DISTRIBUTION = 'INTERNATIONAL_PRIORITY_DISTRIBUTION';
const _FEDEX_INTERNATIONAL_PRIORITY_EXPRESS = 'FEDEX_INTERNATIONAL_PRIORITY_EXPRESS';
const _FEDEX_INTERNATIONAL_PRIORITY = 'FEDEX_INTERNATIONAL_PRIORITY';
const _FEDEX_INTERNATIONAL_PRIORITY_PLUS = 'FEDEX_INTERNATIONAL_PRIORITY_PLUS';
const _PRIORITY_OVERNIGHT = 'PRIORITY_OVERNIGHT';
const _PRIORITY_OVERNIGHT_EXTRA_HOURS = 'PRIORITY_OVERNIGHT_EXTRA_HOURS';
const _SAME_DAY = 'SAME_DAY';
const _SAME_DAY_CITY = 'SAME_DAY_CITY';
const _SMART_POST = 'SMART_POST';
const _FEDEX_STANDARD_OVERNIGHT_EXTRA_HOURS = 'FEDEX_STANDARD_OVERNIGHT_EXTRA_HOURS';
const _STANDARD_OVERNIGHT = 'STANDARD_OVERNIGHT';
const _TRANSBORDER_DISTRIBUTION_CONSOLIDATION = 'TRANSBORDER_DISTRIBUTION_CONSOLIDATION';
const _FEDEX_CUSTOM_CRITICAL_TEMP_ASSURE_AIR = 'FEDEX_CUSTOM_CRITICAL_TEMP_ASSURE_AIR';
const _FEDEX_CUSTOM_CRITICAL_TEMP_ASSURE_VALIDATED_AIR = 'FEDEX_CUSTOM_CRITICAL_TEMP_ASSURE_VALIDATED_AIR';
const _FEDEX_CUSTOM_CRITICAL_WHITE_GLOVE_SERVICES = 'FEDEX_CUSTOM_CRITICAL_WHITE_GLOVE_SERVICES';
const _FEDEX_REGIONAL_ECONOMY = 'FEDEX_REGIONAL_ECONOMY';
const _FEDEX_REGIONAL_ECONOMY_FREIGHT = 'FEDEX_REGIONAL_ECONOMY_FREIGHT';
const _INTERNATIONAL_PRIORITY = 'INTERNATIONAL_PRIORITY';
const _FEDEX_1_DAY_FREIGHT = 'FEDEX_1_DAY_FREIGHT';
const _FEDEX_2_DAY_FREIGHT = 'FEDEX_2_DAY_FREIGHT';
const _FEDEX_3_DAY_FREIGHT = 'FEDEX_3_DAY_FREIGHT';
const _FIRST_OVERNIGHT_FREIGHT = 'FIRST_OVERNIGHT_FREIGHT';
const _FEDEX_NEXT_DAY_AFTERNOON = 'FEDEX_NEXT_DAY_AFTERNOON';
const _FEDEX_NEXT_DAY_EARLY_MORNING = 'FEDEX_NEXT_DAY_EARLY_MORNING';
const _FEDEX_NEXT_DAY_END_OF_DAY = 'FEDEX_NEXT_DAY_END_OF_DAY';
const _FEDEX_NEXT_DAY_MID_MORNING = 'FEDEX_NEXT_DAY_MID_MORNING';
const _FEDEX_NEXT_DAY_FREIGHT = 'FEDEX_NEXT_DAY_FREIGHT';
const _INTERNATIONAL_ECONOMY_FREIGHT = 'INTERNATIONAL_ECONOMY_FREIGHT';
const _INTERNATIONAL_PRIORITY_FREIGHT = 'INTERNATIONAL_PRIORITY_FREIGHT';
The README says that Shipping Tags are not supported, but the code for that feature seems to exist.
Thanks for creating this library!
I also noticed this at the bottom of the README:
Currently I'm working on Ship,Track and Address Validation API because that's all I need for my own purposes.
I'm curious if you made progress on Shipping especially as I'm working on a project that will need to create shipments. We would be interested to help in testing or building out the shipping feature. If that means making a first MR for it we can potentially do that, but if you've got work started or an idea of what features should exist that would be good to know as well. Thanks!
We need a way to create shipments using the FedEx Ship API. The goal of this issue is to add a Ship service that creates shipments with all necessary tests.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.