« Shipment/UPS/WSDL/ShipTypes/ShipmentServiceOptionsType.pm
↑ Summary
Shipment/UPS/WSDL/ShipTypes/ShipperType.pm »
| 1 | package Shipment::UPS::WSDL::ShipTypes::ShipmentType; | ||
| 2 | $Shipment::UPS::WSDL::ShipTypes::ShipmentType::VERSION = '3.11'; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | |||
| 7 | __PACKAGE__->_set_element_form_qualified(1); | ||
| 8 | |||
| 9 | sub get_xmlns {'http://www.ups.com/XMLSchema/XOLTWS/Ship/v1.0'} | ||
| 10 | |||
| 11 | our $XML_ATTRIBUTE_CLASS; | ||
| 12 | undef $XML_ATTRIBUTE_CLASS; | ||
| 13 | |||
| 14 | sub __get_attr_class { | ||
| 15 | return $XML_ATTRIBUTE_CLASS; | ||
| 16 | } | ||
| 17 | |||
| 18 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 19 | use base qw(SOAP::WSDL::XSD::Typelib::ComplexType); | ||
| 20 | |||
| 21 | Class::Std::initialize(); | ||
| 22 | |||
| 23 | { # BLOCK to scope variables | ||
| 24 | |||
| 25 | my %Description_of : ATTR(:get<Description>); | ||
| 26 | my %ReturnService_of : ATTR(:get<ReturnService>); | ||
| 27 | my %DocumentsOnlyIndicator_of : ATTR(:get<DocumentsOnlyIndicator>); | ||
| 28 | my %Shipper_of : ATTR(:get<Shipper>); | ||
| 29 | my %ShipTo_of : ATTR(:get<ShipTo>); | ||
| 30 | my %ShipFrom_of : ATTR(:get<ShipFrom>); | ||
| 31 | my %PaymentInformation_of : ATTR(:get<PaymentInformation>); | ||
| 32 | my %FRSPaymentInformation_of : ATTR(:get<FRSPaymentInformation>); | ||
| 33 | my %GoodsNotInFreeCirculationIndicator_of : | ||
| 34 | ATTR(:get<GoodsNotInFreeCirculationIndicator>); | ||
| 35 | my %ShipmentRatingOptions_of : ATTR(:get<ShipmentRatingOptions>); | ||
| 36 | my %MovementReferenceNumber_of : ATTR(:get<MovementReferenceNumber>); | ||
| 37 | my %ReferenceNumber_of : ATTR(:get<ReferenceNumber>); | ||
| 38 | my %Service_of : ATTR(:get<Service>); | ||
| 39 | my %InvoiceLineTotal_of : ATTR(:get<InvoiceLineTotal>); | ||
| 40 | my %ShipmentServiceOptions_of : ATTR(:get<ShipmentServiceOptions>); | ||
| 41 | my %Package_of : ATTR(:get<Package>); | ||
| 42 | |||
| 43 | __PACKAGE__->_factory( | ||
| 44 | [ qw( Description | ||
| 45 | ReturnService | ||
| 46 | DocumentsOnlyIndicator | ||
| 47 | Shipper | ||
| 48 | ShipTo | ||
| 49 | ShipFrom | ||
| 50 | PaymentInformation | ||
| 51 | FRSPaymentInformation | ||
| 52 | GoodsNotInFreeCirculationIndicator | ||
| 53 | ShipmentRatingOptions | ||
| 54 | MovementReferenceNumber | ||
| 55 | ReferenceNumber | ||
| 56 | Service | ||
| 57 | InvoiceLineTotal | ||
| 58 | ShipmentServiceOptions | ||
| 59 | Package | ||
| 60 | |||
| 61 | ) | ||
| 62 | ], | ||
| 63 | { 'Description' => \%Description_of, | ||
| 64 | 'ReturnService' => \%ReturnService_of, | ||
| 65 | 'DocumentsOnlyIndicator' => \%DocumentsOnlyIndicator_of, | ||
| 66 | 'Shipper' => \%Shipper_of, | ||
| 67 | 'ShipTo' => \%ShipTo_of, | ||
| 68 | 'ShipFrom' => \%ShipFrom_of, | ||
| 69 | 'PaymentInformation' => \%PaymentInformation_of, | ||
| 70 | 'FRSPaymentInformation' => \%FRSPaymentInformation_of, | ||
| 71 | 'GoodsNotInFreeCirculationIndicator' => | ||
| 72 | \%GoodsNotInFreeCirculationIndicator_of, | ||
| 73 | 'ShipmentRatingOptions' => \%ShipmentRatingOptions_of, | ||
| 74 | 'MovementReferenceNumber' => \%MovementReferenceNumber_of, | ||
| 75 | 'ReferenceNumber' => \%ReferenceNumber_of, | ||
| 76 | 'Service' => \%Service_of, | ||
| 77 | 'InvoiceLineTotal' => \%InvoiceLineTotal_of, | ||
| 78 | 'ShipmentServiceOptions' => \%ShipmentServiceOptions_of, | ||
| 79 | 'Package' => \%Package_of, | ||
| 80 | }, | ||
| 81 | { 'Description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 82 | 'ReturnService' => | ||
| 83 | 'Shipment::UPS::WSDL::ShipTypes::ReturnServiceType', | ||
| 84 | 'DocumentsOnlyIndicator' => | ||
| 85 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 86 | 'Shipper' => 'Shipment::UPS::WSDL::ShipTypes::ShipperType', | ||
| 87 | 'ShipTo' => 'Shipment::UPS::WSDL::ShipTypes::ShipToType', | ||
| 88 | 'ShipFrom' => 'Shipment::UPS::WSDL::ShipTypes::ShipFromType', | ||
| 89 | 'PaymentInformation' => | ||
| 90 | 'Shipment::UPS::WSDL::ShipTypes::PaymentInfoType', | ||
| 91 | 'FRSPaymentInformation' => | ||
| 92 | 'Shipment::UPS::WSDL::ShipTypes::FRSPaymentInfoType', | ||
| 93 | 'GoodsNotInFreeCirculationIndicator' => | ||
| 94 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 95 | 'ShipmentRatingOptions' => | ||
| 96 | 'Shipment::UPS::WSDL::ShipTypes::RateInfoType', | ||
| 97 | 'MovementReferenceNumber' => | ||
| 98 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 99 | 'ReferenceNumber' => | ||
| 100 | 'Shipment::UPS::WSDL::ShipTypes::ReferenceNumberType', | ||
| 101 | 'Service' => 'Shipment::UPS::WSDL::ShipTypes::ServiceType', | ||
| 102 | 'InvoiceLineTotal' => | ||
| 103 | 'Shipment::UPS::WSDL::ShipTypes::CurrencyMonetaryType', | ||
| 104 | |||
| 105 | 'ShipmentServiceOptions' => | ||
| 106 | 'Shipment::UPS::WSDL::ShipTypes::ShipmentType::_ShipmentServiceOptions', | ||
| 107 | 'Package' => 'Shipment::UPS::WSDL::ShipTypes::PackageType', | ||
| 108 | }, | ||
| 109 | { | ||
| 110 | |||
| 111 | 'Description' => 'Description', | ||
| 112 | 'ReturnService' => 'ReturnService', | ||
| 113 | 'DocumentsOnlyIndicator' => 'DocumentsOnlyIndicator', | ||
| 114 | 'Shipper' => 'Shipper', | ||
| 115 | 'ShipTo' => 'ShipTo', | ||
| 116 | 'ShipFrom' => 'ShipFrom', | ||
| 117 | 'PaymentInformation' => 'PaymentInformation', | ||
| 118 | 'FRSPaymentInformation' => 'FRSPaymentInformation', | ||
| 119 | 'GoodsNotInFreeCirculationIndicator' => | ||
| 120 | 'GoodsNotInFreeCirculationIndicator', | ||
| 121 | 'ShipmentRatingOptions' => 'ShipmentRatingOptions', | ||
| 122 | 'MovementReferenceNumber' => 'MovementReferenceNumber', | ||
| 123 | 'ReferenceNumber' => 'ReferenceNumber', | ||
| 124 | 'Service' => 'Service', | ||
| 125 | 'InvoiceLineTotal' => 'InvoiceLineTotal', | ||
| 126 | 'ShipmentServiceOptions' => 'ShipmentServiceOptions', | ||
| 127 | 'Package' => 'Package', | ||
| 128 | } | ||
| 129 | ); | ||
| 130 | |||
| 131 | } # end BLOCK | ||
| 132 | |||
| 133 | |||
| 134 | package Shipment::UPS::WSDL::ShipTypes::ShipmentType::_ShipmentServiceOptions; | ||
| 135 | $Shipment::UPS::WSDL::ShipTypes::ShipmentType::_ShipmentServiceOptions::VERSION | ||
| 136 | = '3.11'; | ||
| 137 | use strict; | ||
| 138 | use warnings; | ||
| 139 | { | ||
| 140 | our $XML_ATTRIBUTE_CLASS; | ||
| 141 | undef $XML_ATTRIBUTE_CLASS; | ||
| 142 | |||
| 143 | sub __get_attr_class { | ||
| 144 | return $XML_ATTRIBUTE_CLASS; | ||
| 145 | } | ||
| 146 | |||
| 147 | |||
| 148 | use base qw(Shipment::UPS::WSDL::ShipTypes::ShipmentServiceOptionsType); | ||
| 149 | |||
| 150 | # Variety: sequence | ||
| 151 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 152 | use base qw(SOAP::WSDL::XSD::Typelib::ComplexType); | ||
| 153 | |||
| 154 | Class::Std::initialize(); | ||
| 155 | |||
| 156 | { # BLOCK to scope variables | ||
| 157 | |||
| 158 | my %SaturdayDeliveryIndicator_of : | ||
| 159 | ATTR(:get<SaturdayDeliveryIndicator>); | ||
| 160 | my %OnCall_of : ATTR(:get<OnCall>); | ||
| 161 | my %COD_of : ATTR(:get<COD>); | ||
| 162 | my %Notification_of : ATTR(:get<Notification>); | ||
| 163 | my %LabelDelivery_of : ATTR(:get<LabelDelivery>); | ||
| 164 | my %InternationalForms_of : ATTR(:get<InternationalForms>); | ||
| 165 | my %DeliveryConfirmation_of : ATTR(:get<DeliveryConfirmation>); | ||
| 166 | my %ReturnOfDocumentIndicator_of : | ||
| 167 | ATTR(:get<ReturnOfDocumentIndicator>); | ||
| 168 | my %ImportControlIndicator_of : ATTR(:get<ImportControlIndicator>); | ||
| 169 | my %LabelMethod_of : ATTR(:get<LabelMethod>); | ||
| 170 | my %CommercialInvoiceRemovalIndicator_of : | ||
| 171 | ATTR(:get<CommercialInvoiceRemovalIndicator>); | ||
| 172 | my %UPScarbonneutralIndicator_of : | ||
| 173 | ATTR(:get<UPScarbonneutralIndicator>); | ||
| 174 | |||
| 175 | __PACKAGE__->_factory( | ||
| 176 | [ qw( SaturdayDeliveryIndicator | ||
| 177 | OnCall | ||
| 178 | COD | ||
| 179 | Notification | ||
| 180 | LabelDelivery | ||
| 181 | InternationalForms | ||
| 182 | DeliveryConfirmation | ||
| 183 | ReturnOfDocumentIndicator | ||
| 184 | ImportControlIndicator | ||
| 185 | LabelMethod | ||
| 186 | CommercialInvoiceRemovalIndicator | ||
| 187 | UPScarbonneutralIndicator | ||
| 188 | |||
| 189 | ) | ||
| 190 | ], | ||
| 191 | { 'SaturdayDeliveryIndicator' => \%SaturdayDeliveryIndicator_of, | ||
| 192 | 'OnCall' => \%OnCall_of, | ||
| 193 | 'COD' => \%COD_of, | ||
| 194 | 'Notification' => \%Notification_of, | ||
| 195 | 'LabelDelivery' => \%LabelDelivery_of, | ||
| 196 | 'InternationalForms' => \%InternationalForms_of, | ||
| 197 | 'DeliveryConfirmation' => \%DeliveryConfirmation_of, | ||
| 198 | 'ReturnOfDocumentIndicator' => \%ReturnOfDocumentIndicator_of, | ||
| 199 | 'ImportControlIndicator' => \%ImportControlIndicator_of, | ||
| 200 | 'LabelMethod' => \%LabelMethod_of, | ||
| 201 | 'CommercialInvoiceRemovalIndicator' => | ||
| 202 | \%CommercialInvoiceRemovalIndicator_of, | ||
| 203 | 'UPScarbonneutralIndicator' => \%UPScarbonneutralIndicator_of, | ||
| 204 | }, | ||
| 205 | { 'SaturdayDeliveryIndicator' => | ||
| 206 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 207 | 'OnCall' => 'Shipment::UPS::WSDL::ShipTypes::OnCallType', | ||
| 208 | 'COD' => 'Shipment::UPS::WSDL::ShipTypes::CODType', | ||
| 209 | 'Notification' => | ||
| 210 | 'Shipment::UPS::WSDL::ShipTypes::NotificationType', | ||
| 211 | 'LabelDelivery' => | ||
| 212 | 'Shipment::UPS::WSDL::ShipTypes::LabelDeliveryType', | ||
| 213 | 'InternationalForms' => | ||
| 214 | 'Shipment::UPS::WSDL::ShipTypes::InternationalFormType', | ||
| 215 | 'DeliveryConfirmation' => | ||
| 216 | 'Shipment::UPS::WSDL::ShipTypes::DeliveryConfirmationType', | ||
| 217 | 'ReturnOfDocumentIndicator' => | ||
| 218 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 219 | 'ImportControlIndicator' => | ||
| 220 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 221 | 'LabelMethod' => | ||
| 222 | 'Shipment::UPS::WSDL::ShipTypes::LabelMethodType', | ||
| 223 | 'CommercialInvoiceRemovalIndicator' => | ||
| 224 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 225 | 'UPScarbonneutralIndicator' => | ||
| 226 | 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 227 | }, | ||
| 228 | { | ||
| 229 | |||
| 230 | 'SaturdayDeliveryIndicator' => 'SaturdayDeliveryIndicator', | ||
| 231 | 'OnCall' => 'OnCall', | ||
| 232 | 'COD' => 'COD', | ||
| 233 | 'Notification' => 'Notification', | ||
| 234 | 'LabelDelivery' => 'LabelDelivery', | ||
| 235 | 'InternationalForms' => 'InternationalForms', | ||
| 236 | 'DeliveryConfirmation' => 'DeliveryConfirmation', | ||
| 237 | 'ReturnOfDocumentIndicator' => 'ReturnOfDocumentIndicator', | ||
| 238 | 'ImportControlIndicator' => 'ImportControlIndicator', | ||
| 239 | 'LabelMethod' => 'LabelMethod', | ||
| 240 | 'CommercialInvoiceRemovalIndicator' => | ||
| 241 | 'CommercialInvoiceRemovalIndicator', | ||
| 242 | 'UPScarbonneutralIndicator' => 'UPScarbonneutralIndicator', | ||
| 243 | } | ||
| 244 | ); | ||
| 245 | |||
| 246 | } # end BLOCK | ||
| 247 | |||
| 248 | |||
| 249 | } | ||
| 250 | |||
| 251 | |||
| 252 | 1; | ||
| 253 | |||
| 254 | __END__ |