Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pbshipping/models/carrier.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ class Carrier(object):
PBI = "PBI"
FEDEX = "FEDEX"
USP = "USP"
PBCS = "PBCS"

allowable_values = [USPS, PBPRESORT, NEWGISTICS, PBI, FEDEX, USP] # noqa: E501
allowable_values = [USPS, PBPRESORT, NEWGISTICS, PBI, FEDEX, USP, PBCS] # noqa: E501

"""
Attributes:
Expand Down
2 changes: 1 addition & 1 deletion pbshipping/models/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def carrier(self, carrier):
"""
if self.local_vars_configuration.client_side_validation and carrier is None: # noqa: E501
raise ValueError("Invalid value for `carrier`, must not be `None`") # noqa: E501
allowed_values = ["USPS", "NEWGISTICS", "PBPresort"] # noqa: E501
allowed_values = ["USPS", "NEWGISTICS", "PBPresort", "pbcs"] # noqa: E501
if self.local_vars_configuration.client_side_validation and carrier not in allowed_values: # noqa: E501
raise ValueError(
"Invalid value for `carrier` ({0}), must be one of {1}" # noqa: E501
Expand Down