Skip to content

Commit c3595e8

Browse files
author
Bashar
committed
Updated sample for shipmentRequest
1 parent 2c01719 commit c3595e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

samples/GB/ShipmentRequest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
$sample->Billing->DutyPaymentType = 'S';
5252
$sample->Billing->DutyAccountNumber = $dhl['dutyAccountNumber'];
5353
$sample->Consignee->CompanyName = 'Ssense';
54-
$sample->Consignee->AddressLine = '333 Chabanel West, #900';
54+
$sample->Consignee->addAddressLine('333 Chabanel West, #900');
5555
$sample->Consignee->City = 'Montreal';
5656
$sample->Consignee->PostalCode = 'H3E1G6';
5757
$sample->Consignee->CountryCode = 'CA';
@@ -105,15 +105,15 @@
105105
$sample->ShipmentDetails->Contents = 'AM international shipment contents';
106106
$sample->ShipmentDetails->DoorTo = 'DD';
107107
$sample->ShipmentDetails->DimensionUnit = 'I';
108-
$sample->ShipmentDetails->InsuredAmount = '1200.00';
108+
$sample->ShipmentDetails->InsuredAmount = '1000.00';
109109
$sample->ShipmentDetails->PackageType = 'EE';
110110
$sample->ShipmentDetails->IsDutiable = 'Y';
111111
$sample->ShipmentDetails->CurrencyCode = 'USD';
112112
$sample->Shipper->ShipperID = '751008818';
113113
$sample->Shipper->CompanyName = 'IBM Corporation';
114114
$sample->Shipper->RegisteredAccount = '751008818';
115-
$sample->Shipper->AddressLine = '1 New Orchard Road';
116-
$sample->Shipper->AddressLine = 'Armonk';
115+
$sample->Shipper->addAddressLine('1 New Orchard Road');
116+
$sample->Shipper->addAddressLine('Armonk');
117117
$sample->Shipper->City = 'New York';
118118
$sample->Shipper->Division = 'ny';
119119
$sample->Shipper->DivisionCode = 'ny';

0 commit comments

Comments
 (0)