View Source UspsEx (usps_ex v2023.1.27)

Documentation for UspsEx.

Link to this section Summary

Functions

See UspsEx.Config.env/0.

Link to this section Functions

Link to this function

cancel_transaction(transaction)

View Source
Link to this function

cancel_transaction(shipment, tracking_number)

View Source
Link to this function

create_transaction(shipment, service)

View Source

See UspsEx.Config.env/0.

Link to this function

express_mail_commitments(data)

View Source
Link to this function

express_mail_commitments(origin_zip, destination_zip, date, drop_off_time, return_dates \\ "true", pm_guarantee \\ "N")

View Source
Link to this function

fetch_city_state_by_zipcode(zipcode)

View Source
Link to this function

fetch_rate(shipment, service)

View Source
Link to this function

first_class_service_standards(data)

View Source
Link to this function

first_class_service_standards(origin_zip, destination_zip, type, mail_class)

View Source
Link to this function

international_mail_type(package)

View Source
Link to this function

machineable?(package, binary, bool)

View Source
Link to this function

package_pickup_availability(data)

View Source
Link to this function

package_pickup_availability(firm_name, suite_or_apt, address2, city, state, zip5, zip4, urbanization \\ nil)

View Source
Link to this function

package_pickup_cancel(data)

View Source
Link to this function

package_pickup_cancel(firm_name, address2, suite_or_apt, city, state, zip5, zip4, confirmation_number, urbanization \\ nil)

View Source
Link to this function

package_pickup_change(data)

View Source
Link to this function

package_pickup_change(firm_name, suite_or_apt, address2, city, state, zip5, zip4, urbanization \\ nil)

View Source
Link to this function

package_pickup_inquery(data)

View Source
Link to this function

package_pickup_inquery(first_name, last_name, firm_name, address2, suite_or_apt, city, state, zip5, zip4, confirmation_number, urbanization \\ nil)

View Source
Link to this function

package_pickup_schedule(data)

View Source
Link to this function

package_pickup_schedule(first_name, last_name, firm_name, suite_or_apt, address2, city, state, zip5, zip4, phone, extension, packages \\ [], estimated_weight \\ 0, package_location \\ 0, special_instructions \\ 0, urbanization \\ nil)

View Source
Link to this function

package_service_standardb(data)

View Source
Link to this function

package_service_standardb(origin_zip, destination_zip, type, mail_class)

View Source
Link to this function

package_tracking_fields(tracking_numbers)

View Source
Link to this function

priority_mail_service_standards(data)

View Source
Link to this function

priority_mail_service_standards(origin_zip, destination_zip, mail_class)

View Source
Link to this function

proof_of_delivery(tracking_number, client_ip, company_name, mp_suffix, mp_date, request_type, email)

View Source
Link to this function

return_label(image_type, separate_receipt_page, customer_first_name, customer_last_name, customer_firm, customer_address2, customer_city, customer_state, customer_zip5, customer_zip4, po_zip_code, allow_non_cleansed_origin_addr, retailer_attn, retailer_firm, weight_in_ounces, service_type, width, length, height, girth, machinable, customer_ref_no, print_customer_ref_no, customer_ref_no2, print_customer_ref_no2, sender_name, sender_email, recipient_name, recipient_email, tracking_email_pdf, extra_services)

View Source
Link to this function

return_receipt(tracking_number, track_id, client_ip, company_name, mp_suffix, mp_date, request_type, email, table_code, cust_reg_id)

View Source
Link to this function

scan(form, name, firm, address1, address2, city, state, zip5, zip4, pkg_bar_code, mail_date, mail_time, image_type, customer_ref_no)

View Source
Link to this function

sdc_get_locations(mail_class, origin_zip, destination_zip, accept_date, accept_time, non_emdetail, non_emorigin_type, non_emdest_type)

View Source
Link to this function

sunday_holiday(sunday_holiday, from_zip_code, to_zip_code)

View Source
Link to this function

track_and_confirm_by_email(data)

View Source
Link to this function

track_and_confirm_by_email(tracking_number, company_name, mp_suffix, mp_date, request_type, first_name, last_name, email, email2 \\ nil, email3 \\ nil)

View Source
Link to this function

track_packages(tracking_number)

View Source
Link to this function

validate_address(address)

View Source
Link to this macro

with_response(response, list)

View Source (macro)