diff --git a/VP/Request/Location/State/List.php b/VP/Request/Location/State/List.php index 1bc0126..3b7e669 100644 --- a/VP/Request/Location/State/List.php +++ b/VP/Request/Location/State/List.php @@ -15,7 +15,8 @@ public function info_url() public function info_params() { return array( - 'authToken' + 'authToken', + 'military' ); } diff --git a/VP/Request/Shipping/Label/Calculate.php b/VP/Request/Shipping/Label/Calculate.php index 59db5bf..4ee44be 100644 --- a/VP/Request/Shipping/Label/Calculate.php +++ b/VP/Request/Shipping/Label/Calculate.php @@ -39,6 +39,9 @@ public function info_params() 'senderPostalCode', 'countryId', 'labelType', + 'length', + 'height', + 'width', ); $domestic = array( @@ -51,6 +54,9 @@ public function info_params() 'recipientPostalCode', 'dimensionalWeight', // @TODO array 'labelType', + 'length', + 'height', + 'width', ); return ($this->is_international() ? $international : $domestic); diff --git a/VP/Request/Shipping/Label/Mailclasses.php b/VP/Request/Shipping/Label/Mailclasses.php new file mode 100644 index 0000000..03a0223 --- /dev/null +++ b/VP/Request/Shipping/Label/Mailclasses.php @@ -0,0 +1,22 @@ +is_international() ? $international : $domestic); diff --git a/VP/Request/Shipping/Pickup/Labels.php b/VP/Request/Shipping/Pickup/Labels.php new file mode 100644 index 0000000..85b387e --- /dev/null +++ b/VP/Request/Shipping/Pickup/Labels.php @@ -0,0 +1,25 @@ +