Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.92 KB

File metadata and controls

35 lines (26 loc) · 1.92 KB

ShipmentOptionsV2

Properties

Name Type Description Notes
add_to_manifest bool This option asks if the shipment is to be added for Manifest, so that the shipment will reflect in the Manifest Form while compilation. The value can be 'true' or 'false'. Applicable for USPS [optional]
print_custom_message str This prints a custom message on shipping label [optional]
receipt_option str It provides options to print receipt with shipping label. Only applicable for USPS, can take values- RECEIPT_ONLY or RECEIPT_WITH_INSTRUCTIONS or NO_OPTIONS [optional]
print_department str This prints department on shipping label, applicable for FedEx [optional]
print_invoice_number str This prints invoice number on shipping label, applicable for FedEx [optional]
print_po_number str This prints po number on shipping label, applicable for FedEx [optional]
minimal_address_validation bool If true, then only City, State, and PostalCode (zip) are validated. This option is specific for US domestic addresses only. [optional]

Example

from shipping.models.shipment_options_v2 import ShipmentOptionsV2

# TODO update the JSON string below
json = "{}"
# create an instance of ShipmentOptionsV2 from a JSON string
shipment_options_v2_instance = ShipmentOptionsV2.from_json(json)
# print the JSON string representation of the object
print(ShipmentOptionsV2.to_json())

# convert the object into a dict
shipment_options_v2_dict = shipment_options_v2_instance.to_dict()
# create an instance of ShipmentOptionsV2 from a dict
shipment_options_v2_from_dict = ShipmentOptionsV2.from_dict(shipment_options_v2_dict)

[Back to Model list] [Back to API list] [Back to README]