Skip to content

Commit e58eaac

Browse files
author
Oleksii Korshenko
committed
UPS Option to include TAX in rate #11707
- fixed code style
1 parent d064b32 commit e58eaac

8 files changed

+1742
-1652
lines changed
Lines changed: 162 additions & 153 deletions
Original file line numberDiff line numberDiff line change
@@ -1,155 +1,164 @@
11
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
28
<RatingServiceSelectionResponse>
3-
<Response>
4-
<TransactionReference>
5-
<CustomerContext>Rating and Service</CustomerContext>
6-
<XpciVersion>1.0</XpciVersion>
7-
</TransactionReference>
8-
<ResponseStatusCode>1</ResponseStatusCode>
9-
<ResponseStatusDescription>Success</ResponseStatusDescription>
10-
</Response>
11-
<RatedShipment>
12-
<Service>
13-
<Code>11</Code>
14-
</Service>
15-
<RatedShipmentWarning>Your invoice may vary from the displayed reference
16-
rates</RatedShipmentWarning>
17-
<BillingWeight>
18-
<UnitOfMeasurement>
19-
<Code>KGS</Code>
20-
</UnitOfMeasurement>
21-
<Weight>2.0</Weight>
22-
</BillingWeight>
23-
<TransportationCharges>
24-
<CurrencyCode>GBP</CurrencyCode>
25-
<MonetaryValue>6.45</MonetaryValue>
26-
</TransportationCharges>
27-
<ServiceOptionsCharges>
28-
<CurrencyCode>GBP</CurrencyCode>
29-
<MonetaryValue>0.00</MonetaryValue>
30-
</ServiceOptionsCharges>
31-
<TotalCharges>
32-
<CurrencyCode>GBP</CurrencyCode>
33-
<MonetaryValue>6.45</MonetaryValue>
34-
</TotalCharges>
35-
<GuaranteedDaysToDelivery />
36-
<ScheduledDeliveryTime />
37-
<RatedPackage>
38-
<TransportationCharges>
39-
<CurrencyCode />
40-
<MonetaryValue />
41-
</TransportationCharges>
42-
<ServiceOptionsCharges>
43-
<CurrencyCode />
44-
<MonetaryValue />
45-
</ServiceOptionsCharges>
46-
<TotalCharges>
47-
<CurrencyCode />
48-
<MonetaryValue />
49-
</TotalCharges>
50-
<Weight>2.0</Weight>
51-
<BillingWeight>
52-
<UnitOfMeasurement>
53-
<Code />
54-
</UnitOfMeasurement>
55-
<Weight />
56-
</BillingWeight>
57-
</RatedPackage>
58-
</RatedShipment>
59-
<RatedShipment>
60-
<Service>
61-
<Code>65</Code>
62-
</Service>
63-
<RatedShipmentWarning>Your invoice may vary from the displayed reference
64-
rates</RatedShipmentWarning>
65-
<BillingWeight>
66-
<UnitOfMeasurement>
67-
<Code>KGS</Code>
68-
</UnitOfMeasurement>
69-
<Weight>2.0</Weight>
70-
</BillingWeight>
71-
<TransportationCharges>
72-
<CurrencyCode>GBP</CurrencyCode>
73-
<MonetaryValue>10.25</MonetaryValue>
74-
</TransportationCharges>
75-
<ServiceOptionsCharges>
76-
<CurrencyCode>GBP</CurrencyCode>
77-
<MonetaryValue>0.00</MonetaryValue>
78-
</ServiceOptionsCharges>
79-
<TotalCharges>
80-
<CurrencyCode>GBP</CurrencyCode>
81-
<MonetaryValue>10.25</MonetaryValue>
82-
</TotalCharges>
83-
<GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery>
84-
<ScheduledDeliveryTime>12:00 Noon</ScheduledDeliveryTime>
85-
<RatedPackage>
86-
<TransportationCharges>
87-
<CurrencyCode />
88-
<MonetaryValue />
89-
</TransportationCharges>
90-
<ServiceOptionsCharges>
91-
<CurrencyCode />
92-
<MonetaryValue />
93-
</ServiceOptionsCharges>
94-
<TotalCharges>
95-
<CurrencyCode />
96-
<MonetaryValue />
97-
</TotalCharges>
98-
<Weight>2.0</Weight>
99-
<BillingWeight>
100-
<UnitOfMeasurement>
101-
<Code />
102-
</UnitOfMeasurement>
103-
<Weight />
104-
</BillingWeight>
105-
</RatedPackage>
106-
</RatedShipment>
107-
<RatedShipment>
108-
<Service>
109-
<Code>54</Code>
110-
</Service>
111-
<RatedShipmentWarning>Your invoice may vary from the displayed reference
112-
rates</RatedShipmentWarning>
113-
<BillingWeight>
114-
<UnitOfMeasurement>
115-
<Code>KGS</Code>
116-
</UnitOfMeasurement>
117-
<Weight>2.0</Weight>
118-
</BillingWeight>
119-
<TransportationCharges>
120-
<CurrencyCode>GBP</CurrencyCode>
121-
<MonetaryValue>15.02</MonetaryValue>
122-
</TransportationCharges>
123-
<ServiceOptionsCharges>
124-
<CurrencyCode>GBP</CurrencyCode>
125-
<MonetaryValue>0.00</MonetaryValue>
126-
</ServiceOptionsCharges>
127-
<TotalCharges>
128-
<CurrencyCode>GBP</CurrencyCode>
129-
<MonetaryValue>15.02</MonetaryValue>
130-
</TotalCharges>
131-
<GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery>
132-
<ScheduledDeliveryTime>9:00 A.M.</ScheduledDeliveryTime>
133-
<RatedPackage>
134-
<TransportationCharges>
135-
<CurrencyCode />
136-
<MonetaryValue />
137-
</TransportationCharges>
138-
<ServiceOptionsCharges>
139-
<CurrencyCode />
140-
<MonetaryValue />
141-
</ServiceOptionsCharges>
142-
<TotalCharges>
143-
<CurrencyCode />
144-
<MonetaryValue />
145-
</TotalCharges>
146-
<Weight>2.0</Weight>
147-
<BillingWeight>
148-
<UnitOfMeasurement>
149-
<Code />
150-
</UnitOfMeasurement>
151-
<Weight />
152-
</BillingWeight>
153-
</RatedPackage>
154-
</RatedShipment>
155-
</RatingServiceSelectionResponse>
9+
<Response>
10+
<TransactionReference>
11+
<CustomerContext>Rating and Service</CustomerContext>
12+
<XpciVersion>1.0</XpciVersion>
13+
</TransactionReference>
14+
<ResponseStatusCode>1</ResponseStatusCode>
15+
<ResponseStatusDescription>Success</ResponseStatusDescription>
16+
</Response>
17+
<RatedShipment>
18+
<Service>
19+
<Code>11</Code>
20+
</Service>
21+
<RatedShipmentWarning>Your invoice may vary from the displayed reference
22+
rates
23+
</RatedShipmentWarning>
24+
<BillingWeight>
25+
<UnitOfMeasurement>
26+
<Code>KGS</Code>
27+
</UnitOfMeasurement>
28+
<Weight>2.0</Weight>
29+
</BillingWeight>
30+
<TransportationCharges>
31+
<CurrencyCode>GBP</CurrencyCode>
32+
<MonetaryValue>6.45</MonetaryValue>
33+
</TransportationCharges>
34+
<ServiceOptionsCharges>
35+
<CurrencyCode>GBP</CurrencyCode>
36+
<MonetaryValue>0.00</MonetaryValue>
37+
</ServiceOptionsCharges>
38+
<TotalCharges>
39+
<CurrencyCode>GBP</CurrencyCode>
40+
<MonetaryValue>6.45</MonetaryValue>
41+
</TotalCharges>
42+
<GuaranteedDaysToDelivery/>
43+
<ScheduledDeliveryTime/>
44+
<RatedPackage>
45+
<TransportationCharges>
46+
<CurrencyCode/>
47+
<MonetaryValue/>
48+
</TransportationCharges>
49+
<ServiceOptionsCharges>
50+
<CurrencyCode/>
51+
<MonetaryValue/>
52+
</ServiceOptionsCharges>
53+
<TotalCharges>
54+
<CurrencyCode/>
55+
<MonetaryValue/>
56+
</TotalCharges>
57+
<Weight>2.0</Weight>
58+
<BillingWeight>
59+
<UnitOfMeasurement>
60+
<Code/>
61+
</UnitOfMeasurement>
62+
<Weight/>
63+
</BillingWeight>
64+
</RatedPackage>
65+
</RatedShipment>
66+
<RatedShipment>
67+
<Service>
68+
<Code>65</Code>
69+
</Service>
70+
<RatedShipmentWarning>Your invoice may vary from the displayed reference
71+
rates
72+
</RatedShipmentWarning>
73+
<BillingWeight>
74+
<UnitOfMeasurement>
75+
<Code>KGS</Code>
76+
</UnitOfMeasurement>
77+
<Weight>2.0</Weight>
78+
</BillingWeight>
79+
<TransportationCharges>
80+
<CurrencyCode>GBP</CurrencyCode>
81+
<MonetaryValue>10.25</MonetaryValue>
82+
</TransportationCharges>
83+
<ServiceOptionsCharges>
84+
<CurrencyCode>GBP</CurrencyCode>
85+
<MonetaryValue>0.00</MonetaryValue>
86+
</ServiceOptionsCharges>
87+
<TotalCharges>
88+
<CurrencyCode>GBP</CurrencyCode>
89+
<MonetaryValue>10.25</MonetaryValue>
90+
</TotalCharges>
91+
<GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery>
92+
<ScheduledDeliveryTime>12:00 Noon</ScheduledDeliveryTime>
93+
<RatedPackage>
94+
<TransportationCharges>
95+
<CurrencyCode/>
96+
<MonetaryValue/>
97+
</TransportationCharges>
98+
<ServiceOptionsCharges>
99+
<CurrencyCode/>
100+
<MonetaryValue/>
101+
</ServiceOptionsCharges>
102+
<TotalCharges>
103+
<CurrencyCode/>
104+
<MonetaryValue/>
105+
</TotalCharges>
106+
<Weight>2.0</Weight>
107+
<BillingWeight>
108+
<UnitOfMeasurement>
109+
<Code/>
110+
</UnitOfMeasurement>
111+
<Weight/>
112+
</BillingWeight>
113+
</RatedPackage>
114+
</RatedShipment>
115+
<RatedShipment>
116+
<Service>
117+
<Code>54</Code>
118+
</Service>
119+
<RatedShipmentWarning>Your invoice may vary from the displayed reference
120+
rates
121+
</RatedShipmentWarning>
122+
<BillingWeight>
123+
<UnitOfMeasurement>
124+
<Code>KGS</Code>
125+
</UnitOfMeasurement>
126+
<Weight>2.0</Weight>
127+
</BillingWeight>
128+
<TransportationCharges>
129+
<CurrencyCode>GBP</CurrencyCode>
130+
<MonetaryValue>15.02</MonetaryValue>
131+
</TransportationCharges>
132+
<ServiceOptionsCharges>
133+
<CurrencyCode>GBP</CurrencyCode>
134+
<MonetaryValue>0.00</MonetaryValue>
135+
</ServiceOptionsCharges>
136+
<TotalCharges>
137+
<CurrencyCode>GBP</CurrencyCode>
138+
<MonetaryValue>15.02</MonetaryValue>
139+
</TotalCharges>
140+
<GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery>
141+
<ScheduledDeliveryTime>9:00 A.M.</ScheduledDeliveryTime>
142+
<RatedPackage>
143+
<TransportationCharges>
144+
<CurrencyCode/>
145+
<MonetaryValue/>
146+
</TransportationCharges>
147+
<ServiceOptionsCharges>
148+
<CurrencyCode/>
149+
<MonetaryValue/>
150+
</ServiceOptionsCharges>
151+
<TotalCharges>
152+
<CurrencyCode/>
153+
<MonetaryValue/>
154+
</TotalCharges>
155+
<Weight>2.0</Weight>
156+
<BillingWeight>
157+
<UnitOfMeasurement>
158+
<Code/>
159+
</UnitOfMeasurement>
160+
<Weight/>
161+
</BillingWeight>
162+
</RatedPackage>
163+
</RatedShipment>
164+
</RatingServiceSelectionResponse>

0 commit comments

Comments
 (0)