Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen293 committed Jul 15, 2024
1 parent 9ead807 commit 48d0df4
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package shipments;

import com.easypost.exception.EasyPostException;
import com.easypost.model.Shipment;
import com.easypost.model.EstimateDeliveryDateForZipPairResult;
import com.easypost.service.EasyPostClient;

import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class RetrieveRecommendShipDate {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package shipments;

import com.easypost.exception.EasyPostException;
import com.easypost.model.Shipment;
import com.easypost.model.RecommendShipDateForZipPairResult;
import com.easypost.service.EasyPostClient;

import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class RetrieveRecommendShipDate {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const params = {
};

(async () => {
const results = await this.client.SmartRate.estimateDeliveryDate(params);
const results = await client.SmartRate.estimateDeliveryDate(params);

console.log(results);
})();
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const params = {
};

(async () => {
const results = await this.client.SmartRate.recommendShipDate(params);
const results = await client.SmartRate.recommendShipDate(params);

console.log(results);
})();
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
$client = new \EasyPost\EasyPostClient('EASYPOST_API_KEY');

$params = [
'from_zip' => "10001",
'to_zip' => "10002",
'planned_ship_date' => "2024-07-18",
'carriers' => ["UPS"],
'from_zip' => '10001',
'to_zip' => '10002',
'planned_ship_date' => '2024-07-18',
'carriers' => ['UPS'],
];

$results = $client->smartRate->estimateDeliveryDate($params);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
$client = new \EasyPost\EasyPostClient('EASYPOST_API_KEY');

$params = [
'from_zip' => "10001",
'to_zip' => "10002",
'desired_delivery_date' => "2024-07-18",
'carriers' => ["UPS"],
'from_zip' => '10001',
'to_zip' => '10002',
'desired_delivery_date' => '2024-07-18',
'carriers' => ['UPS'],
];

$results = $client->smartRate->recommendShipDate($params);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
client = EasyPost::Client.new(api_key: 'EASYPOST_API_KEY')

params = {
from_zip: "10001",
to_zip: "10002",
planned_ship_date: "2024-07-18",
carriers: ["ups"],
from_zip: '10001',
to_zip: '10002',
planned_ship_date: '2024-07-18',
carriers: ['ups'],
}

results = client.smart_rate.estimate_delivery_date(params)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
client = EasyPost::Client.new(api_key: 'EASYPOST_API_KEY')

params = {
from_zip: "10001",
to_zip: "10002",
desired_delivery_date: "2024-07-18",
carriers: ["ups"],
from_zip: '10001',
to_zip: '10002',
desired_delivery_date: '2024-07-18',
carriers: ['ups'],
}

results = client.smart_rate.recommend_ship_date(params)
Expand Down

0 comments on commit 48d0df4

Please sign in to comment.