Browse Source

Update Ship to work with SurePost packages

Jason Nedell 4 years ago
parent
commit
19f49e49f2
100 changed files with 11070 additions and 0 deletions
  1. 267
    0
      lib/SparkLib/UPS/Ship/CountryCodes.php
  2. 205
    0
      lib/SparkLib/UPS/Ship/SchemaType/ADLAddressType.php
  3. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/AccessorialType.php
  4. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/AccountAddressType.php
  5. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/AdditionalCodeDescType.php
  6. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/AdditionalInfoType.php
  7. 178
    0
      lib/SparkLib/UPS/Ship/SchemaType/AddressType.php
  8. 124
    0
      lib/SparkLib/UPS/Ship/SchemaType/AlternateDeliveryAddressType.php
  9. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/BillReceiverAddressType.php
  10. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/BillReceiverType.php
  11. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/BillShipperType.php
  12. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/BillThirdPartyChargeType.php
  13. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/BillingUnitOfMeasurementType.php
  14. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/BillingWeightType.php
  15. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/BlanketPeriodType.php
  16. 205
    0
      lib/SparkLib/UPS/Ship/SchemaType/CN22ContentType.php
  17. 205
    0
      lib/SparkLib/UPS/Ship/SchemaType/CN22FormType.php
  18. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/CODType.php
  19. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/ClientInformationType.php
  20. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/CodeDescriptionType.php
  21. 97
    0
      lib/SparkLib/UPS/Ship/SchemaType/CodeType.php
  22. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/CommodityType.php
  23. 178
    0
      lib/SparkLib/UPS/Ship/SchemaType/CompanyInfoType.php
  24. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/ContactInfoType.php
  25. 151
    0
      lib/SparkLib/UPS/Ship/SchemaType/ContactType.php
  26. 151
    0
      lib/SparkLib/UPS/Ship/SchemaType/CreditCardAddressType.php
  27. 151
    0
      lib/SparkLib/UPS/Ship/SchemaType/CreditCardType.php
  28. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/CurrencyMonetaryType.php
  29. 232
    0
      lib/SparkLib/UPS/Ship/SchemaType/DDTCInformationType.php
  30. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/DeclaredValueType.php
  31. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/DeliveryConfirmationType.php
  32. 124
    0
      lib/SparkLib/UPS/Ship/SchemaType/DimensionsType.php
  33. 97
    0
      lib/SparkLib/UPS/Ship/SchemaType/DryIceType.php
  34. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/DryIceWeightType.php
  35. 151
    0
      lib/SparkLib/UPS/Ship/SchemaType/EEIFilingOptionType.php
  36. 97
    0
      lib/SparkLib/UPS/Ship/SchemaType/EEIInformationType.php
  37. 124
    0
      lib/SparkLib/UPS/Ship/SchemaType/EEILicenseType.php
  38. 205
    0
      lib/SparkLib/UPS/Ship/SchemaType/EmailDetailsType.php
  39. 178
    0
      lib/SparkLib/UPS/Ship/SchemaType/ErrorDetailType.php
  40. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/Errors.php
  41. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/ExcludeFromFormType.php
  42. 97
    0
      lib/SparkLib/UPS/Ship/SchemaType/FRSPaymentInfoType.php
  43. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/FRSShipmentDataType.php
  44. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/FormImageType.php
  45. 151
    0
      lib/SparkLib/UPS/Ship/SchemaType/FormType.php
  46. 97
    0
      lib/SparkLib/UPS/Ship/SchemaType/ForwardAgentType.php
  47. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/FreightCollectType.php
  48. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/HighValueReportType.php
  49. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/IFChargesType.php
  50. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/ImageFormatType.php
  51. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/ImageType.php
  52. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/IndicationType.php
  53. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/InstructionCodeDescriptionType.php
  54. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/IntermediateConsigneeType.php
  55. 1150
    0
      lib/SparkLib/UPS/Ship/SchemaType/InternationalFormType.php
  56. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/LabelDeliveryType.php
  57. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/LabelImageFormatType.php
  58. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/LabelMethodType.php
  59. 124
    0
      lib/SparkLib/UPS/Ship/SchemaType/LabelSpecificationType.php
  60. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/LabelStockSizeType.php
  61. 97
    0
      lib/SparkLib/UPS/Ship/SchemaType/LabelType.php
  62. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/LanguageForUPSPremiumCareType.php
  63. 97
    0
      lib/SparkLib/UPS/Ship/SchemaType/LicenseType.php
  64. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/LocaleType.php
  65. 97
    0
      lib/SparkLib/UPS/Ship/SchemaType/LocationType.php
  66. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/NMFCType.php
  67. 124
    0
      lib/SparkLib/UPS/Ship/SchemaType/NegotiatedRateChargesType.php
  68. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/NetCostDateType.php
  69. 151
    0
      lib/SparkLib/UPS/Ship/SchemaType/NotificationType.php
  70. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/OtherChargesType.php
  71. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/POAType.php
  72. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/PSOCODType.php
  73. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/PSONotificationType.php
  74. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/PackageAssociatedType.php
  75. 97
    0
      lib/SparkLib/UPS/Ship/SchemaType/PackageDeclaredValueType.php
  76. 232
    0
      lib/SparkLib/UPS/Ship/SchemaType/PackageResultsType.php
  77. 232
    0
      lib/SparkLib/UPS/Ship/SchemaType/PackageServiceOptionsType.php
  78. 259
    0
      lib/SparkLib/UPS/Ship/SchemaType/PackageType.php
  79. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/PackageWeightType.php
  80. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/PackagingType.php
  81. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/PackingListInfoType.php
  82. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/PaymentInfoType.php
  83. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/PaymentType.php
  84. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/PhoneType.php
  85. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/PreAlertEMailMessageType.php
  86. 124
    0
      lib/SparkLib/UPS/Ship/SchemaType/PreAlertNotificationType.php
  87. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/PreAlertTextMessageType.php
  88. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/PreAlertVoiceMessageType.php
  89. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/PrepaidType.php
  90. 205
    0
      lib/SparkLib/UPS/Ship/SchemaType/ProducerType.php
  91. 583
    0
      lib/SparkLib/UPS/Ship/SchemaType/ProductType.php
  92. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/ProductWeightType.php
  93. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/Property.php
  94. 97
    0
      lib/SparkLib/UPS/Ship/SchemaType/RateInfoType.php
  95. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/ReceiptImageFormatType.php
  96. 43
    0
      lib/SparkLib/UPS/Ship/SchemaType/ReceiptSpecificationType.php
  97. 17
    0
      lib/SparkLib/UPS/Ship/SchemaType/ReceiptType.php
  98. 97
    0
      lib/SparkLib/UPS/Ship/SchemaType/ReferenceNumberType.php
  99. 70
    0
      lib/SparkLib/UPS/Ship/SchemaType/RequestType.php
  100. 0
    0
      lib/SparkLib/UPS/Ship/SchemaType/ResponseType.php

+ 267
- 0
lib/SparkLib/UPS/Ship/CountryCodes.php View File

@@ -0,0 +1,267 @@
1
+<?php
2
+
3
+namespace SparkLib\UPS\Ship;
4
+
5
+class CountryCodes {
6
+
7
+  private static $_codes = [
8
+    'AD' => 'Andorra',
9
+    'AE' => 'United Arab Emirates',
10
+    'AF' => 'Afganistan',
11
+    'AG' => 'Antigua & Barbuda',
12
+    'AI' => 'Anguilla',
13
+    'AL' => 'Albania',
14
+    'AM' => 'Armenia',
15
+    'AN' => 'Netherlands Antilles',
16
+    'AO' => 'Angola',
17
+    'AR' => 'Argentina',
18
+    'AS' => 'American Samoa',
19
+    'AT' => 'Austria',
20
+    'AU' => 'Australia',
21
+    'AW' => 'Aruba',
22
+    'AX' => 'Åland Islands',
23
+    'AZ' => 'Azerbaijan',
24
+    'BA' => 'Bosnia-Herzegovina',
25
+    'BB' => 'Barbados',
26
+    'BD' => 'Bangladesh',
27
+    'BE' => 'Belgium',
28
+    'BF' => 'Burkina Faso',
29
+    'BG' => 'Bulgaria',
30
+    'BH' => 'Bahrain',
31
+    'BI' => 'Burundi',
32
+    'BJ' => 'Benin',
33
+    'BL' => 'Saint Barthélemy',
34
+    'BM' => 'Bermuda',
35
+    'BN' => 'Brunei Darussalam',
36
+    'BO' => 'Bolivia',
37
+    'BQ' => 'Bonaire',
38
+    'BQ' => 'Saba',
39
+    'BQ' => 'Sint Eustatius',
40
+    'BR' => 'Brazil',
41
+    'BS' => 'Bahamas',
42
+    'BT' => 'Bhutan',
43
+    'BW' => 'Botswana',
44
+    'BY' => 'Belarus',
45
+    'BZ' => 'Belize',
46
+    'CA' => 'Canada',
47
+    'CC' => 'Cocos (Keeling) Islands',
48
+    'CD' => 'Congo (Kinshasa)',
49
+    'CF' => 'Central African Republic',
50
+    'CG' => 'Congo (Brazzaville)',
51
+    'CH' => 'Switzerland',
52
+    'CI' => 'Ivory Coast',
53
+    'CK' => 'Cook Islands',
54
+    'CL' => 'Chile',
55
+    'CM' => 'Cameroon',
56
+    'CN' => 'China',
57
+    'CO' => 'Colombia',
58
+    'CR' => 'Costa Rica',
59
+    'CU' => 'Cuba',
60
+    'CV' => 'Cape Verde Islands',
61
+    'CW' => 'Curaçao',
62
+    'CX' => 'Christmas Island',
63
+    'CY' => 'Cyprus',
64
+    'CZ' => 'Czech Republic',
65
+    'DE' => 'Germany',
66
+    'DJ' => 'Djibouti',
67
+    'DK' => 'Denmark',
68
+    'DM' => 'Dominica',
69
+    'DO' => 'Dominican Republic',
70
+    'DZ' => 'Algeria',
71
+    'EC' => 'Ecuador',
72
+    'EE' => 'Estonia',
73
+    'EG' => 'Egypt',
74
+    'EH' => 'Western Sahara',
75
+    'ER' => 'Eritrea',
76
+    'ES' => 'Spain',
77
+    'ET' => 'Ethiopia',
78
+    'FI' => 'Finland',
79
+    'FJ' => 'Fiji',
80
+    'FK' => 'Falkland Islands',
81
+    'FM' => 'Micronesia',
82
+    'FO' => 'Faeroe Islands',
83
+    'FR' => 'France',
84
+    'GA' => 'Gabon',
85
+    'GB' => 'United Kingdom',
86
+    'GD' => 'Grenada',
87
+    'GE' => 'Georgia',
88
+    'GF' => 'French Guiana',
89
+    'GG' => 'Guernsey',
90
+    'GH' => 'Ghana',
91
+    'GI' => 'Gibralter',
92
+    'GL' => 'Greenland',
93
+    'GM' => 'Gambia',
94
+    'GN' => 'Guinea',
95
+    'GP' => 'Guadeloupe',
96
+    'GQ' => 'Equatorial Guinea',
97
+    'GR' => 'Greece',
98
+    'GS' => 'South Georgia & The South Sandwish Islands',
99
+    'GT' => 'Guatemala',
100
+    'GU' => 'Guam',
101
+    'GW' => 'Guinea-Bissau',
102
+    'GY' => 'Guyana',
103
+    'HK' => 'Hong Kong',
104
+    'HN' => 'Honduras',
105
+    'HR' => 'Croatia',
106
+    'HT' => 'Haiti',
107
+    'HU' => 'Hungary',
108
+    'ID' => 'Indonesia',
109
+    'IE' => 'Ireland',
110
+    'IL' => 'Israel',
111
+    'IM' => 'Isle of Man',
112
+    'IN' => 'India',
113
+    'IO' => 'British Indian Ocean Territory',
114
+    'IQ' => 'Iraq',
115
+    'IR' => 'Iran',
116
+    'IS' => 'Iceland',
117
+    'IT' => 'Italy',
118
+    'JE' => 'Jersey',
119
+    'JM' => 'Jamaica',
120
+    'JO' => 'Jordan',
121
+    'JP' => 'Japan',
122
+    'KE' => 'Kenya',
123
+    'KG' => 'Kyrgyzstan',
124
+    'KH' => 'Cambodia',
125
+    'KI' => 'Kiribati',
126
+    'KM' => 'Comoros',
127
+    'KN' => 'Saint Christopher & Nevis',
128
+    'KP' => 'North Korea',
129
+    'KR' => 'South Korea',
130
+    'KW' => 'Kuwait',
131
+    'KY' => 'Cayman Islands',
132
+    'KZ' => 'Kazakhstan',
133
+    'LA' => 'Laos',
134
+    'LB' => 'Lebanon',
135
+    'LC' => 'Saint Lucia',
136
+    'LI' => 'Liechtenstein',
137
+    'LK' => 'Sri Lanka',
138
+    'LR' => 'Liberia',
139
+    'LS' => 'Lesotho',
140
+    'LT' => 'Lithuania',
141
+    'LU' => 'Luxembourg',
142
+    'LV' => 'Latvia',
143
+    'LY' => 'Libya',
144
+    'MA' => 'Morocco',
145
+    'MC' => 'Monaco',
146
+    'MD' => 'Moldova',
147
+    'ME' => 'Montenegro',
148
+    'MF' => 'Saint Martin',
149
+    'MG' => 'Madagascar',
150
+    'MH' => 'Marshall Islands',
151
+    'MK' => 'Macedonia',
152
+    'ML' => 'Mali',
153
+    'MM' => 'Myanmar',
154
+    'MN' => 'Mongolia',
155
+    'MO' => 'Macau',
156
+    'MP' => 'Northern Mariana Islands',
157
+    'MQ' => 'Martinique',
158
+    'MR' => 'Mauritania',
159
+    'MS' => 'Montserrat',
160
+    'MT' => 'Malta',
161
+    'MU' => 'Mauritius',
162
+    'MV' => 'Maldives',
163
+    'MW' => 'Malawi',
164
+    'MX' => 'Mexico',
165
+    'MY' => 'Malaysia',
166
+    'MZ' => 'Mozambique',
167
+    'NA' => 'Namibia',
168
+    'NC' => 'New Caledonia',
169
+    'NE' => 'Niger',
170
+    'NF' => 'Norfolk Island',
171
+    'NG' => 'Nigeria',
172
+    'NI' => 'Nicaragua',
173
+    'NL' => 'Netherlands',
174
+    'NO' => 'Norway',
175
+    'NP' => 'Nepal',
176
+    'NR' => 'Nauru',
177
+    'NU' => 'Niue',
178
+    'NZ' => 'New Zealand',
179
+    'OM' => 'Oman',
180
+    'PA' => 'Panama',
181
+    'PE' => 'Peru',
182
+    'PF' => 'French Polynesia',
183
+    'PG' => 'Papua New Guinea',
184
+    'PH' => 'Philippines',
185
+    'PK' => 'Pakistan',
186
+    'PL' => 'Poland',
187
+    'PM' => 'Saint Pierre & Miquelon',
188
+    'PN' => 'Pitcairn Islands',
189
+    'PR' => 'Puerto Rico',
190
+    'PS' => 'Palestinian Territories',
191
+    'PT' => 'Portugal',
192
+    'PW' => 'Palau',
193
+    'PY' => 'Paraguay',
194
+    'QA' => 'Qatar',
195
+    'RE' => 'Réunion',
196
+    'RO' => 'Romania',
197
+    'RS' => 'Serbia',
198
+    'RU' => 'Russia',
199
+    'RW' => 'Rwanda',
200
+    'SA' => 'Saudi Arabia',
201
+    'SB' => 'Solomon Islands',
202
+    'SC' => 'Seychelles',
203
+    'SD' => 'Sudan',
204
+    'SE' => 'Sweden',
205
+    'SG' => 'Singapore',
206
+    'SH' => 'Saint Helena',
207
+    'SI' => 'Slovenia',
208
+    'SK' => 'Slovakia',
209
+    'SL' => 'Sierra Leone',
210
+    'SM' => 'San Marino',
211
+    'SN' => 'Senegal',
212
+    'SO' => 'Somalia',
213
+    'SO' => 'Somaliland',
214
+    'SR' => 'Suriname',
215
+    'SS' => 'South Sudan',
216
+    'ST' => 'Sao Tome & Principe',
217
+    'SV' => 'El Salvador',
218
+    'SX' => 'Sint Maarten',
219
+    'SY' => 'Syria',
220
+    'SZ' => 'Swaziland',
221
+    'TC' => 'Turks & Caicos Islands',
222
+    'TD' => 'Chad',
223
+    'TF' => 'French Southern Territories',
224
+    'TG' => 'Togo',
225
+    'TH' => 'Thailand',
226
+    'TJ' => 'Tajikistan',
227
+    'TK' => 'Tokelau',
228
+    'TL' => 'East Timor',
229
+    'TM' => 'Turkmenistan',
230
+    'TN' => 'Tunisia',
231
+    'TO' => 'Tonga',
232
+    'TR' => 'Turkey',
233
+    'TT' => 'Trinidad & Tobago',
234
+    'TV' => 'Tuvalu',
235
+    'TW' => 'Taiwan',
236
+    'TZ' => 'Tanzania',
237
+    'UA' => 'Ukraine',
238
+    'UG' => 'Uganda',
239
+    'US' => 'United States',
240
+    'UY' => 'Uruguay',
241
+    'UZ' => 'Uzbekistan',
242
+    'VA' => 'Holy See',
243
+    'VC' => 'Saint Vincent & The Grenadines',
244
+    'VE' => 'Venezuela',
245
+    'VG' => 'British Virgin Islands',
246
+    'VI' => 'United States Virgin Islands',
247
+    'VN' => 'Vietnam',
248
+    'VU' => 'Vanuatu',
249
+    'WF' => 'Wallis & Futuna',
250
+    'WS' => 'Samoa',
251
+    'YE' => 'Yemen',
252
+    'YT' => 'Mayotte',
253
+    'ZA' => 'South Africa',
254
+    'ZM' => 'Zambia',
255
+    'ZW' => 'Zimbabwe'
256
+  ];
257
+
258
+  public static function valid($code) {
259
+    return array_key_exists($code, static::$_codes);
260
+  }
261
+
262
+  public static function getCountryName($code) {
263
+    if (static::valid($code))
264
+      return static::$_codes[$code];
265
+  }
266
+}
267
+

+ 205
- 0
lib/SparkLib/UPS/Ship/SchemaType/ADLAddressType.php View File

@@ -0,0 +1,205 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class ADLAddressType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $AddressLine
11
+   * @access public
12
+   */
13
+  public $AddressLine = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $City
18
+   * @access public
19
+   */
20
+  public $City = null;
21
+
22
+  /**
23
+   *
24
+   * @var string $StateProvinceCode
25
+   * @access public
26
+   */
27
+  public $StateProvinceCode = null;
28
+
29
+  /**
30
+   *
31
+   * @var string $PostalCode
32
+   * @access public
33
+   */
34
+  public $PostalCode = null;
35
+
36
+  /**
37
+   *
38
+   * @var string $CountryCode
39
+   * @access public
40
+   */
41
+  public $CountryCode = null;
42
+
43
+  /**
44
+   *
45
+   * @var string $ResidentialAddressIndicator
46
+   * @access public
47
+   */
48
+  public $ResidentialAddressIndicator = null;
49
+
50
+  /**
51
+   *
52
+   * @var string $POBoxIndicator
53
+   * @access public
54
+   */
55
+  public $POBoxIndicator = null;
56
+
57
+  /**
58
+   *
59
+   * @param string $AddressLine
60
+   * @param string $City
61
+   * @param string $StateProvinceCode
62
+   * @param string $PostalCode
63
+   * @param string $CountryCode
64
+   * @param string $ResidentialAddressIndicator
65
+   * @param string $POBoxIndicator
66
+   * @access public
67
+   */
68
+  public function __construct($AddressLine = null, $City = null, $StateProvinceCode = null, $PostalCode = null, $CountryCode = null, $ResidentialAddressIndicator = null, $POBoxIndicator = null)
69
+  {
70
+    $this->AddressLine = $AddressLine;
71
+    $this->City = $City;
72
+    $this->StateProvinceCode = $StateProvinceCode;
73
+    $this->PostalCode = $PostalCode;
74
+    $this->CountryCode = $CountryCode;
75
+    $this->ResidentialAddressIndicator = $ResidentialAddressIndicator;
76
+    $this->POBoxIndicator = $POBoxIndicator;
77
+  }
78
+
79
+  /**
80
+   *
81
+   * @return string
82
+   */
83
+  public function getAddressLine()
84
+  {
85
+    return $this->AddressLine;
86
+  }
87
+
88
+  /**
89
+   *
90
+   * @param string $AddressLine
91
+   */
92
+  public function setAddressLine($AddressLine)
93
+  {
94
+    $this->AddressLine = $AddressLine;
95
+  }
96
+
97
+  /**
98
+   *
99
+   * @return string
100
+   */
101
+  public function getCity()
102
+  {
103
+    return $this->City;
104
+  }
105
+
106
+  /**
107
+   *
108
+   * @param string $City
109
+   */
110
+  public function setCity($City)
111
+  {
112
+    $this->City = $City;
113
+  }
114
+
115
+  /**
116
+   *
117
+   * @return string
118
+   */
119
+  public function getStateProvinceCode()
120
+  {
121
+    return $this->StateProvinceCode;
122
+  }
123
+
124
+  /**
125
+   *
126
+   * @param string $StateProvinceCode
127
+   */
128
+  public function setStateProvinceCode($StateProvinceCode)
129
+  {
130
+    $this->StateProvinceCode = $StateProvinceCode;
131
+  }
132
+
133
+  /**
134
+   *
135
+   * @return string
136
+   */
137
+  public function getPostalCode()
138
+  {
139
+    return $this->PostalCode;
140
+  }
141
+
142
+  /**
143
+   *
144
+   * @param string $PostalCode
145
+   */
146
+  public function setPostalCode($PostalCode)
147
+  {
148
+    $this->PostalCode = $PostalCode;
149
+  }
150
+
151
+  /**
152
+   *
153
+   * @return string
154
+   */
155
+  public function getCountryCode()
156
+  {
157
+    return $this->CountryCode;
158
+  }
159
+
160
+  /**
161
+   *
162
+   * @param string $CountryCode
163
+   */
164
+  public function setCountryCode($CountryCode)
165
+  {
166
+    $this->CountryCode = $CountryCode;
167
+  }
168
+
169
+  /**
170
+   *
171
+   * @return string
172
+   */
173
+  public function getResidentialAddressIndicator()
174
+  {
175
+    return $this->ResidentialAddressIndicator;
176
+  }
177
+
178
+  /**
179
+   *
180
+   * @param string $ResidentialAddressIndicator
181
+   */
182
+  public function setResidentialAddressIndicator($ResidentialAddressIndicator)
183
+  {
184
+    $this->ResidentialAddressIndicator = $ResidentialAddressIndicator;
185
+  }
186
+
187
+  /**
188
+   *
189
+   * @return string
190
+   */
191
+  public function getPOBoxIndicator()
192
+  {
193
+    return $this->POBoxIndicator;
194
+  }
195
+
196
+  /**
197
+   *
198
+   * @param string $POBoxIndicator
199
+   */
200
+  public function setPOBoxIndicator($POBoxIndicator)
201
+  {
202
+    $this->POBoxIndicator = $POBoxIndicator;
203
+  }
204
+
205
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/AccessorialType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class AccessorialType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $Code
11
+   * @access public
12
+   */
13
+  public $Code = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $Description
18
+   * @access public
19
+   */
20
+  public $Description = null;
21
+
22
+  /**
23
+   *
24
+   * @param string $Code
25
+   * @param string $Description
26
+   * @access public
27
+   */
28
+  public function __construct($Code = null, $Description = null)
29
+  {
30
+    $this->Code = $Code;
31
+    $this->Description = $Description;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return string
37
+   */
38
+  public function getCode()
39
+  {
40
+    return $this->Code;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param string $Code
46
+   */
47
+  public function setCode($Code)
48
+  {
49
+    $this->Code = $Code;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return string
55
+   */
56
+  public function getDescription()
57
+  {
58
+    return $this->Description;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param string $Description
64
+   */
65
+  public function setDescription($Description)
66
+  {
67
+    $this->Description = $Description;
68
+  }
69
+
70
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/AccountAddressType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class AccountAddressType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $PostalCode
11
+   * @access public
12
+   */
13
+  public $PostalCode = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $CountryCode
18
+   * @access public
19
+   */
20
+  public $CountryCode = null;
21
+
22
+  /**
23
+   *
24
+   * @param string $PostalCode
25
+   * @param string $CountryCode
26
+   * @access public
27
+   */
28
+  public function __construct($PostalCode = null, $CountryCode = null)
29
+  {
30
+    $this->PostalCode = $PostalCode;
31
+    $this->CountryCode = $CountryCode;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return string
37
+   */
38
+  public function getPostalCode()
39
+  {
40
+    return $this->PostalCode;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param string $PostalCode
46
+   */
47
+  public function setPostalCode($PostalCode)
48
+  {
49
+    $this->PostalCode = $PostalCode;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return string
55
+   */
56
+  public function getCountryCode()
57
+  {
58
+    return $this->CountryCode;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param string $CountryCode
64
+   */
65
+  public function setCountryCode($CountryCode)
66
+  {
67
+    $this->CountryCode = $CountryCode;
68
+  }
69
+
70
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/AdditionalCodeDescType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class AdditionalCodeDescType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $Code
11
+   * @access public
12
+   */
13
+  public $Code = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $Description
18
+   * @access public
19
+   */
20
+  public $Description = null;
21
+
22
+  /**
23
+   *
24
+   * @param string $Code
25
+   * @param string $Description
26
+   * @access public
27
+   */
28
+  public function __construct($Code = null, $Description = null)
29
+  {
30
+    $this->Code = $Code;
31
+    $this->Description = $Description;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return string
37
+   */
38
+  public function getCode()
39
+  {
40
+    return $this->Code;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param string $Code
46
+   */
47
+  public function setCode($Code)
48
+  {
49
+    $this->Code = $Code;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return string
55
+   */
56
+  public function getDescription()
57
+  {
58
+    return $this->Description;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param string $Description
64
+   */
65
+  public function setDescription($Description)
66
+  {
67
+    $this->Description = $Description;
68
+  }
69
+
70
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/AdditionalInfoType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class AdditionalInfoType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $Type
11
+   * @access public
12
+   */
13
+  public $Type = null;
14
+
15
+  /**
16
+   *
17
+   * @var AdditionalCodeDescType $Value
18
+   * @access public
19
+   */
20
+  public $Value = null;
21
+
22
+  /**
23
+   *
24
+   * @param string $Type
25
+   * @param AdditionalCodeDescType $Value
26
+   * @access public
27
+   */
28
+  public function __construct($Type = null, $Value = null)
29
+  {
30
+    $this->Type = $Type;
31
+    $this->Value = $Value;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return string
37
+   */
38
+  public function getType()
39
+  {
40
+    return $this->Type;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param string $Type
46
+   */
47
+  public function setType($Type)
48
+  {
49
+    $this->Type = $Type;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return AdditionalCodeDescType
55
+   */
56
+  public function getValue()
57
+  {
58
+    return $this->Value;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param AdditionalCodeDescType $Value
64
+   */
65
+  public function setValue($Value)
66
+  {
67
+    $this->Value = $Value;
68
+  }
69
+
70
+}

+ 178
- 0
lib/SparkLib/UPS/Ship/SchemaType/AddressType.php View File

@@ -0,0 +1,178 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class AddressType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $AddressLine
11
+   * @access public
12
+   */
13
+  public $AddressLine = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $City
18
+   * @access public
19
+   */
20
+  public $City = null;
21
+
22
+  /**
23
+   *
24
+   * @var string $StateProvinceCode
25
+   * @access public
26
+   */
27
+  public $StateProvinceCode = null;
28
+
29
+  /**
30
+   *
31
+   * @var string $Town
32
+   * @access public
33
+   */
34
+  public $Town = null;
35
+
36
+  /**
37
+   *
38
+   * @var string $PostalCode
39
+   * @access public
40
+   */
41
+  public $PostalCode = null;
42
+
43
+  /**
44
+   *
45
+   * @var string $CountryCode
46
+   * @access public
47
+   */
48
+  public $CountryCode = null;
49
+
50
+  /**
51
+   *
52
+   * @param string $AddressLine
53
+   * @param string $City
54
+   * @param string $StateProvinceCode
55
+   * @param string $Town
56
+   * @param string $PostalCode
57
+   * @param string $CountryCode
58
+   * @access public
59
+   */
60
+  public function __construct($AddressLine = null, $City = null, $StateProvinceCode = null, $Town = null, $PostalCode = null, $CountryCode = null)
61
+  {
62
+    $this->AddressLine = $AddressLine;
63
+    $this->City = $City;
64
+    $this->StateProvinceCode = $StateProvinceCode;
65
+    $this->Town = $Town;
66
+    $this->PostalCode = $PostalCode;
67
+    $this->CountryCode = $CountryCode;
68
+  }
69
+
70
+  /**
71
+   *
72
+   * @return string
73
+   */
74
+  public function getAddressLine()
75
+  {
76
+    return $this->AddressLine;
77
+  }
78
+
79
+  /**
80
+   *
81
+   * @param string $AddressLine
82
+   */
83
+  public function setAddressLine($AddressLine)
84
+  {
85
+    $this->AddressLine = $AddressLine;
86
+  }
87
+
88
+  /**
89
+   *
90
+   * @return string
91
+   */
92
+  public function getCity()
93
+  {
94
+    return $this->City;
95
+  }
96
+
97
+  /**
98
+   *
99
+   * @param string $City
100
+   */
101
+  public function setCity($City)
102
+  {
103
+    $this->City = $City;
104
+  }
105
+
106
+  /**
107
+   *
108
+   * @return string
109
+   */
110
+  public function getStateProvinceCode()
111
+  {
112
+    return $this->StateProvinceCode;
113
+  }
114
+
115
+  /**
116
+   *
117
+   * @param string $StateProvinceCode
118
+   */
119
+  public function setStateProvinceCode($StateProvinceCode)
120
+  {
121
+    $this->StateProvinceCode = $StateProvinceCode;
122
+  }
123
+
124
+  /**
125
+   *
126
+   * @return string
127
+   */
128
+  public function getTown()
129
+  {
130
+    return $this->Town;
131
+  }
132
+
133
+  /**
134
+   *
135
+   * @param string $Town
136
+   */
137
+  public function setTown($Town)
138
+  {
139
+    $this->Town = $Town;
140
+  }
141
+
142
+  /**
143
+   *
144
+   * @return string
145
+   */
146
+  public function getPostalCode()
147
+  {
148
+    return $this->PostalCode;
149
+  }
150
+
151
+  /**
152
+   *
153
+   * @param string $PostalCode
154
+   */
155
+  public function setPostalCode($PostalCode)
156
+  {
157
+    $this->PostalCode = $PostalCode;
158
+  }
159
+
160
+  /**
161
+   *
162
+   * @return string
163
+   */
164
+  public function getCountryCode()
165
+  {
166
+    return $this->CountryCode;
167
+  }
168
+
169
+  /**
170
+   *
171
+   * @param string $CountryCode
172
+   */
173
+  public function setCountryCode($CountryCode)
174
+  {
175
+    $this->CountryCode = $CountryCode;
176
+  }
177
+
178
+}

+ 124
- 0
lib/SparkLib/UPS/Ship/SchemaType/AlternateDeliveryAddressType.php View File

@@ -0,0 +1,124 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class AlternateDeliveryAddressType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $Name
11
+   * @access public
12
+   */
13
+  public $Name = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $AttentionName
18
+   * @access public
19
+   */
20
+  public $AttentionName = null;
21
+
22
+  /**
23
+   *
24
+   * @var string $UPSAccessPointID
25
+   * @access public
26
+   */
27
+  public $UPSAccessPointID = null;
28
+
29
+  /**
30
+   *
31
+   * @var ADLAddressType $Address
32
+   * @access public
33
+   */
34
+  public $Address = null;
35
+
36
+  /**
37
+   *
38
+   * @param string $Name
39
+   * @param string $AttentionName
40
+   * @param string $UPSAccessPointID
41
+   * @param ADLAddressType $Address
42
+   * @access public
43
+   */
44
+  public function __construct($Name = null, $AttentionName = null, $UPSAccessPointID = null, $Address = null)
45
+  {
46
+    $this->Name = $Name;
47
+    $this->AttentionName = $AttentionName;
48
+    $this->UPSAccessPointID = $UPSAccessPointID;
49
+    $this->Address = $Address;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return string
55
+   */
56
+  public function getName()
57
+  {
58
+    return $this->Name;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param string $Name
64
+   */
65
+  public function setName($Name)
66
+  {
67
+    $this->Name = $Name;
68
+  }
69
+
70
+  /**
71
+   *
72
+   * @return string
73
+   */
74
+  public function getAttentionName()
75
+  {
76
+    return $this->AttentionName;
77
+  }
78
+
79
+  /**
80
+   *
81
+   * @param string $AttentionName
82
+   */
83
+  public function setAttentionName($AttentionName)
84
+  {
85
+    $this->AttentionName = $AttentionName;
86
+  }
87
+
88
+  /**
89
+   *
90
+   * @return string
91
+   */
92
+  public function getUPSAccessPointID()
93
+  {
94
+    return $this->UPSAccessPointID;
95
+  }
96
+
97
+  /**
98
+   *
99
+   * @param string $UPSAccessPointID
100
+   */
101
+  public function setUPSAccessPointID($UPSAccessPointID)
102
+  {
103
+    $this->UPSAccessPointID = $UPSAccessPointID;
104
+  }
105
+
106
+  /**
107
+   *
108
+   * @return ADLAddressType
109
+   */
110
+  public function getAddress()
111
+  {
112
+    return $this->Address;
113
+  }
114
+
115
+  /**
116
+   *
117
+   * @param ADLAddressType $Address
118
+   */
119
+  public function setAddress($Address)
120
+  {
121
+    $this->Address = $Address;
122
+  }
123
+
124
+}

+ 43
- 0
lib/SparkLib/UPS/Ship/SchemaType/BillReceiverAddressType.php View File

@@ -0,0 +1,43 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class BillReceiverAddressType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $PostalCode
11
+   * @access public
12
+   */
13
+  public $PostalCode = null;
14
+
15
+  /**
16
+   *
17
+   * @param string $PostalCode
18
+   * @access public
19
+   */
20
+  public function __construct($PostalCode = null)
21
+  {
22
+    $this->PostalCode = $PostalCode;
23
+  }
24
+
25
+  /**
26
+   *
27
+   * @return string
28
+   */
29
+  public function getPostalCode()
30
+  {
31
+    return $this->PostalCode;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @param string $PostalCode
37
+   */
38
+  public function setPostalCode($PostalCode)
39
+  {
40
+    $this->PostalCode = $PostalCode;
41
+  }
42
+
43
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/BillReceiverType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class BillReceiverType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $AccountNumber
11
+   * @access public
12
+   */
13
+  public $AccountNumber = null;
14
+
15
+  /**
16
+   *
17
+   * @var BillReceiverAddressType $Address
18
+   * @access public
19
+   */
20
+  public $Address = null;
21
+
22
+  /**
23
+   *
24
+   * @param string $AccountNumber
25
+   * @param BillReceiverAddressType $Address
26
+   * @access public
27
+   */
28
+  public function __construct($AccountNumber = null, $Address = null)
29
+  {
30
+    $this->AccountNumber = $AccountNumber;
31
+    $this->Address = $Address;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return string
37
+   */
38
+  public function getAccountNumber()
39
+  {
40
+    return $this->AccountNumber;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param string $AccountNumber
46
+   */
47
+  public function setAccountNumber($AccountNumber)
48
+  {
49
+    $this->AccountNumber = $AccountNumber;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return BillReceiverAddressType
55
+   */
56
+  public function getAddress()
57
+  {
58
+    return $this->Address;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param BillReceiverAddressType $Address
64
+   */
65
+  public function setAddress($Address)
66
+  {
67
+    $this->Address = $Address;
68
+  }
69
+
70
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/BillShipperType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class BillShipperType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $AccountNumber
11
+   * @access public
12
+   */
13
+  public $AccountNumber = null;
14
+
15
+  /**
16
+   *
17
+   * @var CreditCardType $CreditCard
18
+   * @access public
19
+   */
20
+  public $CreditCard = null;
21
+
22
+  /**
23
+   *
24
+   * @param string $AccountNumber
25
+   * @param CreditCardType $CreditCard
26
+   * @access public
27
+   */
28
+  public function __construct($AccountNumber = null, $CreditCard = null)
29
+  {
30
+    $this->AccountNumber = $AccountNumber;
31
+    $this->CreditCard = $CreditCard;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return string
37
+   */
38
+  public function getAccountNumber()
39
+  {
40
+    return $this->AccountNumber;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param string $AccountNumber
46
+   */
47
+  public function setAccountNumber($AccountNumber)
48
+  {
49
+    $this->AccountNumber = $AccountNumber;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return CreditCardType
55
+   */
56
+  public function getCreditCard()
57
+  {
58
+    return $this->CreditCard;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param CreditCardType $CreditCard
64
+   */
65
+  public function setCreditCard($CreditCard)
66
+  {
67
+    $this->CreditCard = $CreditCard;
68
+  }
69
+
70
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/BillThirdPartyChargeType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class BillThirdPartyChargeType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $AccountNumber
11
+   * @access public
12
+   */
13
+  public $AccountNumber = null;
14
+
15
+  /**
16
+   *
17
+   * @var AccountAddressType $Address
18
+   * @access public
19
+   */
20
+  public $Address = null;
21
+
22
+  /**
23
+   *
24
+   * @param string $AccountNumber
25
+   * @param AccountAddressType $Address
26
+   * @access public
27
+   */
28
+  public function __construct($AccountNumber = null, $Address = null)
29
+  {
30
+    $this->AccountNumber = $AccountNumber;
31
+    $this->Address = $Address;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return string
37
+   */
38
+  public function getAccountNumber()
39
+  {
40
+    return $this->AccountNumber;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param string $AccountNumber
46
+   */
47
+  public function setAccountNumber($AccountNumber)
48
+  {
49
+    $this->AccountNumber = $AccountNumber;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return AccountAddressType
55
+   */
56
+  public function getAddress()
57
+  {
58
+    return $this->Address;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param AccountAddressType $Address
64
+   */
65
+  public function setAddress($Address)
66
+  {
67
+    $this->Address = $Address;
68
+  }
69
+
70
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/BillingUnitOfMeasurementType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class BillingUnitOfMeasurementType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $Code
11
+   * @access public
12
+   */
13
+  public $Code = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $Description
18
+   * @access public
19
+   */
20
+  public $Description = null;
21
+
22
+  /**
23
+   *
24
+   * @param string $Code
25
+   * @param string $Description
26
+   * @access public
27
+   */
28
+  public function __construct($Code = null, $Description = null)
29
+  {
30
+    $this->Code = $Code;
31
+    $this->Description = $Description;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return string
37
+   */
38
+  public function getCode()
39
+  {
40
+    return $this->Code;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param string $Code
46
+   */
47
+  public function setCode($Code)
48
+  {
49
+    $this->Code = $Code;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return string
55
+   */
56
+  public function getDescription()
57
+  {
58
+    return $this->Description;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param string $Description
64
+   */
65
+  public function setDescription($Description)
66
+  {
67
+    $this->Description = $Description;
68
+  }
69
+
70
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/BillingWeightType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class BillingWeightType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var BillingUnitOfMeasurementType $UnitOfMeasurement
11
+   * @access public
12
+   */
13
+  public $UnitOfMeasurement = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $Weight
18
+   * @access public
19
+   */
20
+  public $Weight = null;
21
+
22
+  /**
23
+   *
24
+   * @param BillingUnitOfMeasurementType $UnitOfMeasurement
25
+   * @param string $Weight
26
+   * @access public
27
+   */
28
+  public function __construct($UnitOfMeasurement = null, $Weight = null)
29
+  {
30
+    $this->UnitOfMeasurement = $UnitOfMeasurement;
31
+    $this->Weight = $Weight;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return BillingUnitOfMeasurementType
37
+   */
38
+  public function getUnitOfMeasurement()
39
+  {
40
+    return $this->UnitOfMeasurement;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param BillingUnitOfMeasurementType $UnitOfMeasurement
46
+   */
47
+  public function setUnitOfMeasurement($UnitOfMeasurement)
48
+  {
49
+    $this->UnitOfMeasurement = $UnitOfMeasurement;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return string
55
+   */
56
+  public function getWeight()
57
+  {
58
+    return $this->Weight;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param string $Weight
64
+   */
65
+  public function setWeight($Weight)
66
+  {
67
+    $this->Weight = $Weight;
68
+  }
69
+
70
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/BlanketPeriodType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class BlanketPeriodType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $BeginDate
11
+   * @access public
12
+   */
13
+  public $BeginDate = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $EndDate
18
+   * @access public
19
+   */
20
+  public $EndDate = null;
21
+
22
+  /**
23
+   *
24
+   * @param string $BeginDate
25
+   * @param string $EndDate
26
+   * @access public
27
+   */
28
+  public function __construct($BeginDate = null, $EndDate = null)
29
+  {
30
+    $this->BeginDate = $BeginDate;
31
+    $this->EndDate = $EndDate;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return string
37
+   */
38
+  public function getBeginDate()
39
+  {
40
+    return $this->BeginDate;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param string $BeginDate
46
+   */
47
+  public function setBeginDate($BeginDate)
48
+  {
49
+    $this->BeginDate = $BeginDate;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return string
55
+   */
56
+  public function getEndDate()
57
+  {
58
+    return $this->EndDate;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param string $EndDate
64
+   */
65
+  public function setEndDate($EndDate)
66
+  {
67
+    $this->EndDate = $EndDate;
68
+  }
69
+
70
+}

+ 205
- 0
lib/SparkLib/UPS/Ship/SchemaType/CN22ContentType.php View File

@@ -0,0 +1,205 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class CN22ContentType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $CN22ContentQuantity
11
+   * @access public
12
+   */
13
+  public $CN22ContentQuantity = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $CN22ContentDescription
18
+   * @access public
19
+   */
20
+  public $CN22ContentDescription = null;
21
+
22
+  /**
23
+   *
24
+   * @var ProductWeightType $CN22ContentWeight
25
+   * @access public
26
+   */
27
+  public $CN22ContentWeight = null;
28
+
29
+  /**
30
+   *
31
+   * @var string $CN22ContentTotalValue
32
+   * @access public
33
+   */
34
+  public $CN22ContentTotalValue = null;
35
+
36
+  /**
37
+   *
38
+   * @var string $CN22ContentCurrencyCode
39
+   * @access public
40
+   */
41
+  public $CN22ContentCurrencyCode = null;
42
+
43
+  /**
44
+   *
45
+   * @var string $CN22ContentCountryOfOrigin
46
+   * @access public
47
+   */
48
+  public $CN22ContentCountryOfOrigin = null;
49
+
50
+  /**
51
+   *
52
+   * @var string $CN22ContentTariffNumber
53
+   * @access public
54
+   */
55
+  public $CN22ContentTariffNumber = null;
56
+
57
+  /**
58
+   *
59
+   * @param string $CN22ContentQuantity
60
+   * @param string $CN22ContentDescription
61
+   * @param ProductWeightType $CN22ContentWeight
62
+   * @param string $CN22ContentTotalValue
63
+   * @param string $CN22ContentCurrencyCode
64
+   * @param string $CN22ContentCountryOfOrigin
65
+   * @param string $CN22ContentTariffNumber
66
+   * @access public
67
+   */
68
+  public function __construct($CN22ContentQuantity = null, $CN22ContentDescription = null, $CN22ContentWeight = null, $CN22ContentTotalValue = null, $CN22ContentCurrencyCode = null, $CN22ContentCountryOfOrigin = null, $CN22ContentTariffNumber = null)
69
+  {
70
+    $this->CN22ContentQuantity = $CN22ContentQuantity;
71
+    $this->CN22ContentDescription = $CN22ContentDescription;
72
+    $this->CN22ContentWeight = $CN22ContentWeight;
73
+    $this->CN22ContentTotalValue = $CN22ContentTotalValue;
74
+    $this->CN22ContentCurrencyCode = $CN22ContentCurrencyCode;
75
+    $this->CN22ContentCountryOfOrigin = $CN22ContentCountryOfOrigin;
76
+    $this->CN22ContentTariffNumber = $CN22ContentTariffNumber;
77
+  }
78
+
79
+  /**
80
+   *
81
+   * @return string
82
+   */
83
+  public function getCN22ContentQuantity()
84
+  {
85
+    return $this->CN22ContentQuantity;
86
+  }
87
+
88
+  /**
89
+   *
90
+   * @param string $CN22ContentQuantity
91
+   */
92
+  public function setCN22ContentQuantity($CN22ContentQuantity)
93
+  {
94
+    $this->CN22ContentQuantity = $CN22ContentQuantity;
95
+  }
96
+
97
+  /**
98
+   *
99
+   * @return string
100
+   */
101
+  public function getCN22ContentDescription()
102
+  {
103
+    return $this->CN22ContentDescription;
104
+  }
105
+
106
+  /**
107
+   *
108
+   * @param string $CN22ContentDescription
109
+   */
110
+  public function setCN22ContentDescription($CN22ContentDescription)
111
+  {
112
+    $this->CN22ContentDescription = $CN22ContentDescription;
113
+  }
114
+
115
+  /**
116
+   *
117
+   * @return ProductWeightType
118
+   */
119
+  public function getCN22ContentWeight()
120
+  {
121
+    return $this->CN22ContentWeight;
122
+  }
123
+
124
+  /**
125
+   *
126
+   * @param ProductWeightType $CN22ContentWeight
127
+   */
128
+  public function setCN22ContentWeight($CN22ContentWeight)
129
+  {
130
+    $this->CN22ContentWeight = $CN22ContentWeight;
131
+  }
132
+
133
+  /**
134
+   *
135
+   * @return string
136
+   */
137
+  public function getCN22ContentTotalValue()
138
+  {
139
+    return $this->CN22ContentTotalValue;
140
+  }
141
+
142
+  /**
143
+   *
144
+   * @param string $CN22ContentTotalValue
145
+   */
146
+  public function setCN22ContentTotalValue($CN22ContentTotalValue)
147
+  {
148
+    $this->CN22ContentTotalValue = $CN22ContentTotalValue;
149
+  }
150
+
151
+  /**
152
+   *
153
+   * @return string
154
+   */
155
+  public function getCN22ContentCurrencyCode()
156
+  {
157
+    return $this->CN22ContentCurrencyCode;
158
+  }
159
+
160
+  /**
161
+   *
162
+   * @param string $CN22ContentCurrencyCode
163
+   */
164
+  public function setCN22ContentCurrencyCode($CN22ContentCurrencyCode)
165
+  {
166
+    $this->CN22ContentCurrencyCode = $CN22ContentCurrencyCode;
167
+  }
168
+
169
+  /**
170
+   *
171
+   * @return string
172
+   */
173
+  public function getCN22ContentCountryOfOrigin()
174
+  {
175
+    return $this->CN22ContentCountryOfOrigin;
176
+  }
177
+
178
+  /**
179
+   *
180
+   * @param string $CN22ContentCountryOfOrigin
181
+   */
182
+  public function setCN22ContentCountryOfOrigin($CN22ContentCountryOfOrigin)
183
+  {
184
+    $this->CN22ContentCountryOfOrigin = $CN22ContentCountryOfOrigin;
185
+  }
186
+
187
+  /**
188
+   *
189
+   * @return string
190
+   */
191
+  public function getCN22ContentTariffNumber()
192
+  {
193
+    return $this->CN22ContentTariffNumber;
194
+  }
195
+
196
+  /**
197
+   *
198
+   * @param string $CN22ContentTariffNumber
199
+   */
200
+  public function setCN22ContentTariffNumber($CN22ContentTariffNumber)
201
+  {
202
+    $this->CN22ContentTariffNumber = $CN22ContentTariffNumber;
203
+  }
204
+
205
+}

+ 205
- 0
lib/SparkLib/UPS/Ship/SchemaType/CN22FormType.php View File

@@ -0,0 +1,205 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class CN22FormType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $LabelSize
11
+   * @access public
12
+   */
13
+  public $LabelSize = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $PrintsPerPage
18
+   * @access public
19
+   */
20
+  public $PrintsPerPage = null;
21
+
22
+  /**
23
+   *
24
+   * @var string $LabelPrintType
25
+   * @access public
26
+   */
27
+  public $LabelPrintType = null;
28
+
29
+  /**
30
+   *
31
+   * @var string $CN22Type
32
+   * @access public
33
+   */
34
+  public $CN22Type = null;
35
+
36
+  /**
37
+   *
38
+   * @var string $CN22OtherDescription
39
+   * @access public
40
+   */
41
+  public $CN22OtherDescription = null;
42
+
43
+  /**
44
+   *
45
+   * @var string $FoldHereText
46
+   * @access public
47
+   */
48
+  public $FoldHereText = null;
49
+
50
+  /**
51
+   *
52
+   * @var CN22ContentType $CN22Content
53
+   * @access public
54
+   */
55
+  public $CN22Content = null;
56
+
57
+  /**
58
+   *
59
+   * @param string $LabelSize
60
+   * @param string $PrintsPerPage
61
+   * @param string $LabelPrintType
62
+   * @param string $CN22Type
63
+   * @param string $CN22OtherDescription
64
+   * @param string $FoldHereText
65
+   * @param CN22ContentType $CN22Content
66
+   * @access public
67
+   */
68
+  public function __construct($LabelSize = null, $PrintsPerPage = null, $LabelPrintType = null, $CN22Type = null, $CN22OtherDescription = null, $FoldHereText = null, $CN22Content = null)
69
+  {
70
+    $this->LabelSize = $LabelSize;
71
+    $this->PrintsPerPage = $PrintsPerPage;
72
+    $this->LabelPrintType = $LabelPrintType;
73
+    $this->CN22Type = $CN22Type;
74
+    $this->CN22OtherDescription = $CN22OtherDescription;
75
+    $this->FoldHereText = $FoldHereText;
76
+    $this->CN22Content = $CN22Content;
77
+  }
78
+
79
+  /**
80
+   *
81
+   * @return string
82
+   */
83
+  public function getLabelSize()
84
+  {
85
+    return $this->LabelSize;
86
+  }
87
+
88
+  /**
89
+   *
90
+   * @param string $LabelSize
91
+   */
92
+  public function setLabelSize($LabelSize)
93
+  {
94
+    $this->LabelSize = $LabelSize;
95
+  }
96
+
97
+  /**
98
+   *
99
+   * @return string
100
+   */
101
+  public function getPrintsPerPage()
102
+  {
103
+    return $this->PrintsPerPage;
104
+  }
105
+
106
+  /**
107
+   *
108
+   * @param string $PrintsPerPage
109
+   */
110
+  public function setPrintsPerPage($PrintsPerPage)
111
+  {
112
+    $this->PrintsPerPage = $PrintsPerPage;
113
+  }
114
+
115
+  /**
116
+   *
117
+   * @return string
118
+   */
119
+  public function getLabelPrintType()
120
+  {
121
+    return $this->LabelPrintType;
122
+  }
123
+
124
+  /**
125
+   *
126
+   * @param string $LabelPrintType
127
+   */
128
+  public function setLabelPrintType($LabelPrintType)
129
+  {
130
+    $this->LabelPrintType = $LabelPrintType;
131
+  }
132
+
133
+  /**
134
+   *
135
+   * @return string
136
+   */
137
+  public function getCN22Type()
138
+  {
139
+    return $this->CN22Type;
140
+  }
141
+
142
+  /**
143
+   *
144
+   * @param string $CN22Type
145
+   */
146
+  public function setCN22Type($CN22Type)
147
+  {
148
+    $this->CN22Type = $CN22Type;
149
+  }
150
+
151
+  /**
152
+   *
153
+   * @return string
154
+   */
155
+  public function getCN22OtherDescription()
156
+  {
157
+    return $this->CN22OtherDescription;
158
+  }
159
+
160
+  /**
161
+   *
162
+   * @param string $CN22OtherDescription
163
+   */
164
+  public function setCN22OtherDescription($CN22OtherDescription)
165
+  {
166
+    $this->CN22OtherDescription = $CN22OtherDescription;
167
+  }
168
+
169
+  /**
170
+   *
171
+   * @return string
172
+   */
173
+  public function getFoldHereText()
174
+  {
175
+    return $this->FoldHereText;
176
+  }
177
+
178
+  /**
179
+   *
180
+   * @param string $FoldHereText
181
+   */
182
+  public function setFoldHereText($FoldHereText)
183
+  {
184
+    $this->FoldHereText = $FoldHereText;
185
+  }
186
+
187
+  /**
188
+   *
189
+   * @return CN22ContentType
190
+   */
191
+  public function getCN22Content()
192
+  {
193
+    return $this->CN22Content;
194
+  }
195
+
196
+  /**
197
+   *
198
+   * @param CN22ContentType $CN22Content
199
+   */
200
+  public function setCN22Content($CN22Content)
201
+  {
202
+    $this->CN22Content = $CN22Content;
203
+  }
204
+
205
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/CODType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class CODType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $CODFundsCode
11
+   * @access public
12
+   */
13
+  public $CODFundsCode = null;
14
+
15
+  /**
16
+   *
17
+   * @var CurrencyMonetaryType $CODAmount
18
+   * @access public
19
+   */
20
+  public $CODAmount = null;
21
+
22
+  /**
23
+   *
24
+   * @param string $CODFundsCode
25
+   * @param CurrencyMonetaryType $CODAmount
26
+   * @access public
27
+   */
28
+  public function __construct($CODFundsCode = null, $CODAmount = null)
29
+  {
30
+    $this->CODFundsCode = $CODFundsCode;
31
+    $this->CODAmount = $CODAmount;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return string
37
+   */
38
+  public function getCODFundsCode()
39
+  {
40
+    return $this->CODFundsCode;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param string $CODFundsCode
46
+   */
47
+  public function setCODFundsCode($CODFundsCode)
48
+  {
49
+    $this->CODFundsCode = $CODFundsCode;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return CurrencyMonetaryType
55
+   */
56
+  public function getCODAmount()
57
+  {
58
+    return $this->CODAmount;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param CurrencyMonetaryType $CODAmount
64
+   */
65
+  public function setCODAmount($CODAmount)
66
+  {
67
+    $this->CODAmount = $CODAmount;
68
+  }
69
+
70
+}

+ 43
- 0
lib/SparkLib/UPS/Ship/SchemaType/ClientInformationType.php View File

@@ -0,0 +1,43 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class ClientInformationType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var Property $Property
11
+   * @access public
12
+   */
13
+  public $Property = null;
14
+
15
+  /**
16
+   *
17
+   * @param Property $Property
18
+   * @access public
19
+   */
20
+  public function __construct($Property = null)
21
+  {
22
+    $this->Property = $Property;
23
+  }
24
+
25
+  /**
26
+   *
27
+   * @return Property
28
+   */
29
+  public function getProperty()
30
+  {
31
+    return $this->Property;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @param Property $Property
37
+   */
38
+  public function setProperty($Property)
39
+  {
40
+    $this->Property = $Property;
41
+  }
42
+
43
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/CodeDescriptionType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class CodeDescriptionType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $Code
11
+   * @access public
12
+   */
13
+  public $Code = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $Description
18
+   * @access public
19
+   */
20
+  public $Description = null;
21
+
22
+  /**
23
+   *
24
+   * @param string $Code
25
+   * @param string $Description
26
+   * @access public
27
+   */
28
+  public function __construct($Code = null, $Description = null)
29
+  {
30
+    $this->Code = $Code;
31
+    $this->Description = $Description;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return string
37
+   */
38
+  public function getCode()
39
+  {
40
+    return $this->Code;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param string $Code
46
+   */
47
+  public function setCode($Code)
48
+  {
49
+    $this->Code = $Code;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return string
55
+   */
56
+  public function getDescription()
57
+  {
58
+    return $this->Description;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param string $Description
64
+   */
65
+  public function setDescription($Description)
66
+  {
67
+    $this->Description = $Description;
68
+  }
69
+
70
+}

+ 97
- 0
lib/SparkLib/UPS/Ship/SchemaType/CodeType.php View File

@@ -0,0 +1,97 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class CodeType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $Code
11
+   * @access public
12
+   */
13
+  public $Code = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $Description
18
+   * @access public
19
+   */
20
+  public $Description = null;
21
+
22
+  /**
23
+   *
24
+   * @var string $Digest
25
+   * @access public
26
+   */
27
+  public $Digest = null;
28
+
29
+  /**
30
+   *
31
+   * @param string $Code
32
+   * @param string $Description
33
+   * @param string $Digest
34
+   * @access public
35
+   */
36
+  public function __construct($Code = null, $Description = null, $Digest = null)
37
+  {
38
+    $this->Code = $Code;
39
+    $this->Description = $Description;
40
+    $this->Digest = $Digest;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @return string
46
+   */
47
+  public function getCode()
48
+  {
49
+    return $this->Code;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @param string $Code
55
+   */
56
+  public function setCode($Code)
57
+  {
58
+    $this->Code = $Code;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @return string
64
+   */
65
+  public function getDescription()
66
+  {
67
+    return $this->Description;
68
+  }
69
+
70
+  /**
71
+   *
72
+   * @param string $Description
73
+   */
74
+  public function setDescription($Description)
75
+  {
76
+    $this->Description = $Description;
77
+  }
78
+
79
+  /**
80
+   *
81
+   * @return string
82
+   */
83
+  public function getDigest()
84
+  {
85
+    return $this->Digest;
86
+  }
87
+
88
+  /**
89
+   *
90
+   * @param string $Digest
91
+   */
92
+  public function setDigest($Digest)
93
+  {
94
+    $this->Digest = $Digest;
95
+  }
96
+
97
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/CommodityType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class CommodityType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $FreightClass
11
+   * @access public
12
+   */
13
+  public $FreightClass = null;
14
+
15
+  /**
16
+   *
17
+   * @var NMFCType $NMFC
18
+   * @access public
19
+   */
20
+  public $NMFC = null;
21
+
22
+  /**
23
+   *
24
+   * @param string $FreightClass
25
+   * @param NMFCType $NMFC
26
+   * @access public
27
+   */
28
+  public function __construct($FreightClass = null, $NMFC = null)
29
+  {
30
+    $this->FreightClass = $FreightClass;
31
+    $this->NMFC = $NMFC;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return string
37
+   */
38
+  public function getFreightClass()
39
+  {
40
+    return $this->FreightClass;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param string $FreightClass
46
+   */
47
+  public function setFreightClass($FreightClass)
48
+  {
49
+    $this->FreightClass = $FreightClass;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return NMFCType
55
+   */
56
+  public function getNMFC()
57
+  {
58
+    return $this->NMFC;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param NMFCType $NMFC
64
+   */
65
+  public function setNMFC($NMFC)
66
+  {
67
+    $this->NMFC = $NMFC;
68
+  }
69
+
70
+}

+ 178
- 0
lib/SparkLib/UPS/Ship/SchemaType/CompanyInfoType.php View File

@@ -0,0 +1,178 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class CompanyInfoType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $Name
11
+   * @access public
12
+   */
13
+  public $Name = null;
14
+
15
+  /**
16
+   *
17
+   * @var string $AttentionName
18
+   * @access public
19
+   */
20
+  public $AttentionName = null;
21
+
22
+  /**
23
+   *
24
+   * @var string $CompanyDisplayableName
25
+   * @access public
26
+   */
27
+  public $CompanyDisplayableName = null;
28
+
29
+  /**
30
+   *
31
+   * @var string $TaxIdentificationNumber
32
+   * @access public
33
+   */
34
+  public $TaxIdentificationNumber = null;
35
+
36
+  /**
37
+   *
38
+   * @var TaxIDCodeDescType $TaxIDType
39
+   * @access public
40
+   */
41
+  public $TaxIDType = null;
42
+
43
+  /**
44
+   *
45
+   * @var ShipPhoneType $Phone
46
+   * @access public
47
+   */
48
+  public $Phone = null;
49
+
50
+  /**
51
+   *
52
+   * @param string $Name
53
+   * @param string $AttentionName
54
+   * @param string $CompanyDisplayableName
55
+   * @param string $TaxIdentificationNumber
56
+   * @param TaxIDCodeDescType $TaxIDType
57
+   * @param ShipPhoneType $Phone
58
+   * @access public
59
+   */
60
+  public function __construct($Name = null, $AttentionName = null, $CompanyDisplayableName = null, $TaxIdentificationNumber = null, $TaxIDType = null, $Phone = null)
61
+  {
62
+    $this->Name = $Name;
63
+    $this->AttentionName = $AttentionName;
64
+    $this->CompanyDisplayableName = $CompanyDisplayableName;
65
+    $this->TaxIdentificationNumber = $TaxIdentificationNumber;
66
+    $this->TaxIDType = $TaxIDType;
67
+    $this->Phone = $Phone;
68
+  }
69
+
70
+  /**
71
+   *
72
+   * @return string
73
+   */
74
+  public function getName()
75
+  {
76
+    return $this->Name;
77
+  }
78
+
79
+  /**
80
+   *
81
+   * @param string $Name
82
+   */
83
+  public function setName($Name)
84
+  {
85
+    $this->Name = $Name;
86
+  }
87
+
88
+  /**
89
+   *
90
+   * @return string
91
+   */
92
+  public function getAttentionName()
93
+  {
94
+    return $this->AttentionName;
95
+  }
96
+
97
+  /**
98
+   *
99
+   * @param string $AttentionName
100
+   */
101
+  public function setAttentionName($AttentionName)
102
+  {
103
+    $this->AttentionName = $AttentionName;
104
+  }
105
+
106
+  /**
107
+   *
108
+   * @return string
109
+   */
110
+  public function getCompanyDisplayableName()
111
+  {
112
+    return $this->CompanyDisplayableName;
113
+  }
114
+
115
+  /**
116
+   *
117
+   * @param string $CompanyDisplayableName
118
+   */
119
+  public function setCompanyDisplayableName($CompanyDisplayableName)
120
+  {
121
+    $this->CompanyDisplayableName = $CompanyDisplayableName;
122
+  }
123
+
124
+  /**
125
+   *
126
+   * @return string
127
+   */
128
+  public function getTaxIdentificationNumber()
129
+  {
130
+    return $this->TaxIdentificationNumber;
131
+  }
132
+
133
+  /**
134
+   *
135
+   * @param string $TaxIdentificationNumber
136
+   */
137
+  public function setTaxIdentificationNumber($TaxIdentificationNumber)
138
+  {
139
+    $this->TaxIdentificationNumber = $TaxIdentificationNumber;
140
+  }
141
+
142
+  /**
143
+   *
144
+   * @return TaxIDCodeDescType
145
+   */
146
+  public function getTaxIDType()
147
+  {
148
+    return $this->TaxIDType;
149
+  }
150
+
151
+  /**
152
+   *
153
+   * @param TaxIDCodeDescType $TaxIDType
154
+   */
155
+  public function setTaxIDType($TaxIDType)
156
+  {
157
+    $this->TaxIDType = $TaxIDType;
158
+  }
159
+
160
+  /**
161
+   *
162
+   * @return ShipPhoneType
163
+   */
164
+  public function getPhone()
165
+  {
166
+    return $this->Phone;
167
+  }
168
+
169
+  /**
170
+   *
171
+   * @param ShipPhoneType $Phone
172
+   */
173
+  public function setPhone($Phone)
174
+  {
175
+    $this->Phone = $Phone;
176
+  }
177
+
178
+}

+ 70
- 0
lib/SparkLib/UPS/Ship/SchemaType/ContactInfoType.php View File

@@ -0,0 +1,70 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class ContactInfoType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var string $Name
11
+   * @access public
12
+   */
13
+  public $Name = null;
14
+
15
+  /**
16
+   *
17
+   * @var ShipPhoneType $Phone
18
+   * @access public
19
+   */
20
+  public $Phone = null;
21
+
22
+  /**
23
+   *
24
+   * @param string $Name
25
+   * @param ShipPhoneType $Phone
26
+   * @access public
27
+   */
28
+  public function __construct($Name = null, $Phone = null)
29
+  {
30
+    $this->Name = $Name;
31
+    $this->Phone = $Phone;
32
+  }
33
+
34
+  /**
35
+   *
36
+   * @return string
37
+   */
38
+  public function getName()
39
+  {
40
+    return $this->Name;
41
+  }
42
+
43
+  /**
44
+   *
45
+   * @param string $Name
46
+   */
47
+  public function setName($Name)
48
+  {
49
+    $this->Name = $Name;
50
+  }
51
+
52
+  /**
53
+   *
54
+   * @return ShipPhoneType
55
+   */
56
+  public function getPhone()
57
+  {
58
+    return $this->Phone;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @param ShipPhoneType $Phone
64
+   */
65
+  public function setPhone($Phone)
66
+  {
67
+    $this->Phone = $Phone;
68
+  }
69
+
70
+}

+ 151
- 0
lib/SparkLib/UPS/Ship/SchemaType/ContactType.php View File

@@ -0,0 +1,151 @@
1
+<?php
2
+
3
+namespace  SparkLib\UPS\Ship\SchemaType;
4
+
5
+class ContactType
6
+{
7
+
8
+  /**
9
+   *
10
+   * @var ForwardAgentType $ForwardAgent
11
+   * @access public
12
+   */
13
+  public $ForwardAgent = null;
14
+
15
+  /**
16
+   *
17
+   * @var UltimateConsigneeType $UltimateConsignee
18
+   * @access public
19
+   */
20
+  public $UltimateConsignee = null;
21
+
22
+  /**
23
+   *
24
+   * @var IntermediateConsigneeType $IntermediateConsignee
25
+   * @access public
26
+   */
27
+  public $IntermediateConsignee = null;
28
+
29
+  /**
30
+   *
31
+   * @var ProducerType $Producer
32
+   * @access public
33
+   */
34
+  public $Producer = null;
35
+
36
+  /**
37
+   *
38
+   * @var SoldToType $SoldTo
39
+   * @access public
40
+   */
41
+  public $SoldTo = null;
42
+
43
+  /**
44
+   *
45
+   * @param ForwardAgentType $ForwardAgent
46
+   * @param UltimateConsigneeType $UltimateConsignee
47
+   * @param IntermediateConsigneeType $IntermediateConsignee
48
+   * @param ProducerType $Producer
49
+   * @param SoldToType $SoldTo
50
+   * @access public
51
+   */
52
+  public function __construct($ForwardAgent = null, $UltimateConsignee = null, $IntermediateConsignee = null, $Producer = null, $SoldTo = null)
53
+  {
54
+    $this->ForwardAgent = $ForwardAgent;
55
+    $this->UltimateConsignee = $UltimateConsignee;
56
+    $this->IntermediateConsignee = $IntermediateConsignee;
57
+    $this->Producer = $Producer;
58
+    $this->SoldTo = $SoldTo;
59
+  }
60
+
61
+  /**
62
+   *
63
+   * @return ForwardAgentType
64
+   */
65
+  public function getForwardAgent()
66
+  {
67
+    return $this->ForwardAgent;
68
+  }
69
+
70
+  /**
71
+   *
72
+   * @param ForwardAgentType $ForwardAgent
73
+   */
74
+  public function setForwardAgent($ForwardAgent)
75
+  {
76
+    $this->ForwardAgent = $ForwardAgent;
77
+  }
78
+
79
+  /**
80
+   *
81
+   * @return UltimateConsigneeType
82
+   */
83
+  public function getUltimateConsignee()
84
+  {
85
+    return $this->UltimateConsignee;
86
+  }
87
+
88
+  /**
89
+   *
90
+   * @param UltimateConsigneeType $UltimateConsignee
91
+   */
92
+  public function setUltimateConsignee($UltimateConsignee)
93
+  {
94
+    $this->UltimateConsignee = $UltimateConsignee;
95
+  }
96
+
97
+  /**
98
+   *
99
+   * @return IntermediateConsigneeType
100
+   */