-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
411 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
lib/shippex/carrier/usps/templates/carrier_pickup_availability.eex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<% username = config().username %> | ||
<CarrierPickupAvailabilityRequest USERID='<%= username %>'> | ||
<FirmName><%= @firm_name %></FirmName> | ||
<SuiteOrApt><%= @suite_or_apt %></SuiteOrApt> | ||
<Address2><%= @address2 %></Address2> | ||
<Urbanization><%= @urbanization %></Urbanization> | ||
<City><%= @city %></City> | ||
<State><%= @state %></State> | ||
<ZIP5><%= @zip5 %></ZIP5> | ||
<ZIP4><%= @zip4 %></ZIP4> | ||
</CarrierPickupAvailabilityRequest> |
9 changes: 9 additions & 0 deletions
9
lib/shippex/carrier/usps/templates/express_mail_commitments.eex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<% username = config().username %> | ||
<ExpressMailCommitmentRequest USERID='<%= username %>'> | ||
<OriginZip><%= @origin_zip %></OriginZip> | ||
<DestinationZip><%= @destination_zip %></DestinationZip> | ||
<Date><%= @date %></Date> | ||
<DropOffTime><%= @drop_off_time %></DropOffTime> | ||
<ReturnDates><%= @return_dates %></ReturnDates> | ||
<PMGuarantee><%= @pm_guarantee %></PMGuarantee> | ||
</ExpressMailCommitmentRequest> |
6 changes: 6 additions & 0 deletions
6
lib/shippex/carrier/usps/templates/first_class_service_standards.eex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<% username = config().username %> | ||
<FirstClassMailRequest USERID='<%= username %>'> | ||
<OriginZip><%= @origin_zip %></OriginZip> | ||
<DestinationZip><%= @destination_zip %></DestinationZip> | ||
<MailClass><%= @mail_class %></MailClass> | ||
</FirstClassMailRequest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<% username = config().username %> | ||
<HFPFacilityInfoRequest USERID='<%= username %>'> | ||
<PickupCity /> | ||
<PickupState/> | ||
<PickupZIP><%= @pickup_zip %></PickupZIP> | ||
<PickupZIP4 /> | ||
<Service /> | ||
</HFPFacilityInfoRequest> |
12 changes: 12 additions & 0 deletions
12
lib/shippex/carrier/usps/templates/package_pickup_cancel.eex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<% username = config().username %> | ||
<CarrierPickupCancelRequest USERID='<%= username %>'> | ||
<FirmName><%= @firm_name %></FirmName> | ||
<SuiteOrApt><%= @suite_or_apt %></SuiteOrApt> | ||
<Address2><%= @address2 %></Address2> | ||
<Urbanization><%= @urbanization %></Urbanization> | ||
<City><%= @city %></City> | ||
<State><%= @state %></State> | ||
<ZIP5><%= @zip5 %></ZIP5> | ||
<ZIP4><%= @zip4 %></ZIP4> | ||
<ConfirmationNumber><%= @confirmation_number %><</ConfirmationNumber> | ||
</CarrierPickupCancelRequest> |
22 changes: 22 additions & 0 deletions
22
lib/shippex/carrier/usps/templates/package_pickup_change.eex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<% username = config().username %> | ||
<CarrierPickupChangeRequest USERID='<%= username %>'> | ||
<FirstName><%= @first_name %></FirstName> | ||
<LastName><%= @last_name %></LastName> | ||
<FirmName><%= @firm_name %></FirmName> | ||
<SuiteOrApt><%= @suite_or_apt %></SuiteOrApt> | ||
<Address2><%= @address2 %></Address2> | ||
<Urbanization><%= @urbanization %></Urbanization> | ||
<City><%= @city %></City> | ||
<State><%= @state %></State> | ||
<ZIP5><%= @zip5 %></ZIP5> | ||
<ZIP4><%= @zip4 %></ZIP4> | ||
<Extension><%= @extension %></Extension> | ||
<Package> | ||
<ServiceType><%= @eervice_type %></ServiceType> | ||
<Count><%= @count %></Count> | ||
</Package> | ||
<EstimatedWeight><%= @estimated_weight %></EstimatedWeight> | ||
<PackageLocation><%= @packag_location %></PackageLocation> | ||
<SpecialInstructions><%= @special_instructions %></SpecialInstructions> | ||
<ConfirmationNumber><%= @confirmation_number %><</ConfirmationNumber> | ||
</CarrierPickupChangeRequest> |
11 changes: 11 additions & 0 deletions
11
lib/shippex/carrier/usps/templates/package_pickup_inquery.eex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<% username = config().username %> | ||
<CarrierPickupInquiryRequest USERID='<%= username %>'> | ||
<SuiteOrApt><%= @suite_or_apt %></SuiteOrApt> | ||
<Address2><%= @address2 %></Address2> | ||
<Urbanization><%= @urbanization %></Urbanization> | ||
<City><%= @city %></City> | ||
<State><%= @state %></State> | ||
<ZIP5><%= @zip5 %></ZIP5> | ||
<ZIP4><%= @zip4 %></ZIP4> | ||
<ConfirmationNumber><%= @confirmation_number %><</ConfirmationNumber> | ||
</CarrierPickupInquiryRequest> |
21 changes: 21 additions & 0 deletions
21
lib/shippex/carrier/usps/templates/package_pickup_schedule.eex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<% username = config().username %> | ||
<CarrierPickupScheduleRequest USERID='<%= username %>'> | ||
<FirstName><%= @first_name %></FirstName> | ||
<LastName><%= @last_name %></LastName> | ||
<SuiteOrApt><%= @suite_or_apt %></SuiteOrApt> | ||
<Address2><%= @address2 %></Address2> | ||
<Urbanization><%= @urbanization %></Urbanization> | ||
<City><%= @city %></City> | ||
<State><%= @state %></State> | ||
<ZIP5><%= @zip5 %></ZIP5> | ||
<ZIP4><%= @zip4 %></ZIP4> | ||
<Phone><%= @phone %></Phone> | ||
<Extension><%= @extension %></Extension> | ||
<Package> | ||
<ServiceType><%= @service_type %></ServiceType> | ||
<Count><%= @count %></Count> | ||
</Package> | ||
<EstimatedWeight><%= @estimated_weight %></EstimatedWeight> | ||
<PackageLocation><%= @package_location %></PackageLocation> | ||
<SpecialInstructions><%= @special_instructions %></SpecialInstructions> | ||
</CarrierPickupScheduleRequest> |
6 changes: 6 additions & 0 deletions
6
lib/shippex/carrier/usps/templates/package_service_standardb.eex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<% username = config().username %> | ||
<StandardBRequest USERID='<%= username %>'> | ||
<OriginZip><%= @origin_zip %></OriginZip> | ||
<DestinationZip><%= @destination_zip %></DestinationZip> | ||
<MailClass><%= @mail_class %></MailClass> | ||
</StandardBRequest> |
6 changes: 6 additions & 0 deletions
6
lib/shippex/carrier/usps/templates/priority_mail_service_standards.eex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<% username = config().username %> | ||
<PriorityMailRequest USERID='<%= username %>'> | ||
<OriginZip><%= @origin_zip %></OriginZip> | ||
<DestinationZip><%= @destination_zip %></DestinationZip> | ||
<MailClass><%= @mail_class %></MailClass> | ||
</PriorityMailRequest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<% username = config().username %> | ||
<PTSPodRequest USERID='<%= username %>'> | ||
<TrackId><%= @tracking_number %></TrackId > | ||
<ClientIp><%= @client_ip %></ClientIp> | ||
<SourceId><%= @company_name %></SourceId> | ||
<MpSuffix><%= @mp_suffix %></MpSuffix> | ||
<MpDate><%= @mp_date %></MpDate> | ||
<RequestType><%= @request_type %></RequestType> | ||
<FirstName><%= @first_name %></FirstName> | ||
<LastName><%= @last_name %></LastName> | ||
<Email1><%= @email1 %></Email1> | ||
<Email2></Email2> | ||
<Email3></Email3> | ||
<TableCode><%= @table_code %></TableCode> | ||
<CustRegID><%= @cust_reg_id %></CustRegID> | ||
</PTSPodRequest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.