Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Content of array sent to $client->processShipping();
- array (
- 'WebAuthenticationDetail' =>
- array (
- 'UserCredential' =>
- array (
- 'Key' => 'kzlkoS0BP13zYx60',
- 'Password' => 'bDTUEKvUJvN5YkXNEmxJk9jzK',
- ),
- ),
- 'ClientDetail' =>
- array (
- 'AccountNumber' => '510087283',
- 'MeterNumber' => '1241063',
- ),
- 'TransactionDetail' =>
- array (
- 'CustomerTransactionId' => '*** Express Domestic Shipping Request v3 using PHP ***',
- ),
- 'Version' =>
- array (
- 'ServiceId' => 'ship',
- 'Major' => '3',
- 'Intermediate' => '0',
- 'Minor' => '0',
- ),
- 'RequestedShipment' =>
- array (
- 'ShipTimestamp' => '2008-09-16T07:27:39-07:00',
- 'DropoffType' => 'REGULAR_PICKUP',
- 'ServiceType' => 'FEDEX_2_DAY',
- 'PackagingType' => 'YOUR_PACKAGING',
- 'TotalWeight' =>
- array (
- 'Value' => 0.3,
- 'Units' => 'LB',
- ),
- 'Shipper' =>
- array (
- 'Contact' =>
- array (
- 'CompanyName' => 'Luv-U-Diamonds',
- 'PhoneNumber' => '2155675900',
- ),
- 'Address' =>
- array (
- 'StreetLines' =>
- array (
- 0 => '50 S. 16th Street, 22nd Floor',
- ),
- 'City' => 'Philadelphia',
- 'StateOrProvinceCode' => 'PA',
- 'PostalCode' => '19102',
- 'CountryCode' => 'US',
- ),
- ),
- 'Recipient' =>
- array (
- 'Contact' =>
- array (
- 'PersonName' => 'Victoria Schwanda',
- 'PhoneNumber' => '9083915626',
- ),
- 'Address' =>
- array (
- 'StreetLines' =>
- array (
- 0 => '5 Deer Run',
- 1 => '',
- ),
- 'City' => 'Stanton',
- 'StateOrProvinceCode' => 'NJ',
- 'PostalCode' => '08885',
- 'CountryCode' => 'US',
- ),
- 'Residential' => true,
- ),
- 'ShippingChargesPayment' =>
- array (
- 'PaymentType' => 'SENDER',
- 'Payor' =>
- array (
- 'AccountNumber' => '510087283',
- 'CountryCode' => 'US',
- ),
- ),
- 'SpecialServicesRequested' =>
- array (
- 'SpecialServiceTypes' =>
- array (
- 0 => 'FUTURE_DAY_SHIPMENT',
- 1 => 'EMAIL_NOTIFICATION',
- ),
- 'EmailNotificationDetail' =>
- array (
- 'Recipients' =>
- array (
- 0 =>
- array (
- 'EmailNotificationRecipientType' => 'SHIPPER',
- 'EMailAddress' => 'luvudiamonds@gmail.com',
- 'NotifyOnShipment' => 1,
- 'NotifyOnException' => 1,
- 'NotifyOnDelivery' => 1,
- 'EmailNotificationFormatType' => 'Text',
- ),
- ),
- ),
- ),
- 'LabelSpecification' =>
- array (
- 'LabelFormatType' => 'COMMON2D',
- 'ImageType' => 'PNG',
- ),
- 'RateRequestTypes' =>
- array (
- 0 => 'ACCOUNT',
- ),
- 'PackageCount' => 1,
- 'RequestedPackages' =>
- array (
- 'Weight' =>
- array (
- 'Value' => 0.3,
- 'Units' => 'LB',
- ),
- ),
- ),
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement