NAME

Shipment::UPS::WSDL::ShipElements::ShipmentResponse

VERSION

version 0.01111360

DESCRIPTION

Perl data type class for the XML Schema defined element ShipmentResponse from the namespace http://www.ups.com/XMLSchema/XOLTWS/Ship/v1.0.

NAME

Shipment::UPS::WSDL::ShipElements::ShipmentResponse

PROPERTIES

The following properties may be accessed using get_PROPERTY / set_PROPERTY methods:

  • Response

    $element->set_Response($data);
    $element->get_Response();

    Note: The name of this property has been altered, because it didn't match perl's notion of variable/subroutine names. The altered name is used in perl code only, XML output uses the original name:

  • ShipmentResults

    $element->set_ShipmentResults($data);
    $element->get_ShipmentResults();

METHODS

new

my $element = Shipment::UPS::WSDL::ShipElements::ShipmentResponse->new($data);

Constructor. The following data structure may be passed to new():

{
  Response =>  { # Shipment::UPS::WSDL::ShipTypes::ResponseType
    ResponseStatus =>  { # Shipment::UPS::WSDL::ShipTypes::CodeDescriptionType
      Code =>  $some_value, # string
      Description =>  $some_value, # string
    },
    Alert => {}, # Shipment::UPS::WSDL::ShipTypes::CodeDescriptionType
    TransactionReference =>  { # Shipment::UPS::WSDL::ShipTypes::TransactionReferenceType
      CustomerContext =>  $some_value, # string
      TransactionIdentifier =>  $some_value, # string
    },
  },
  ShipmentResults =>  { # Shipment::UPS::WSDL::ShipTypes::ShipmentResultsType
    ShipmentCharges =>  { # Shipment::UPS::WSDL::ShipTypes::ShipmentChargesType
      TransportationCharges =>  { # Shipment::UPS::WSDL::ShipTypes::ShipChargeType
        CurrencyCode =>  $some_value, # string
        MonetaryValue =>  $some_value, # string
      },
      ServiceOptionsCharges => {}, # Shipment::UPS::WSDL::ShipTypes::ShipChargeType
      TotalCharges => {}, # Shipment::UPS::WSDL::ShipTypes::ShipChargeType
    },
    NegotiatedRateCharges =>  { # Shipment::UPS::WSDL::ShipTypes::NegotiatedRateChargesType
      TotalCharge => {}, # Shipment::UPS::WSDL::ShipTypes::ShipChargeType
    },
    FRSShipmentData =>  { # Shipment::UPS::WSDL::ShipTypes::FRSShipmentDataType
      TransportationCharges =>  { # Shipment::UPS::WSDL::ShipTypes::TransportationChargeType
        GrossCharge => {}, # Shipment::UPS::WSDL::ShipTypes::ShipChargeType
        DiscountAmount => {}, # Shipment::UPS::WSDL::ShipTypes::ShipChargeType
        DiscountPercentage =>  $some_value, # string
        NetCharge => {}, # Shipment::UPS::WSDL::ShipTypes::ShipChargeType
      },
    },
    BillingWeight =>  { # Shipment::UPS::WSDL::ShipTypes::BillingWeightType
      UnitOfMeasurement =>  { # Shipment::UPS::WSDL::ShipTypes::BillingUnitOfMeasurementType
        Code =>  $some_value, # string
        Description =>  $some_value, # string
      },
      Weight =>  $some_value, # string
    },
    ShipmentIdentificationNumber =>  $some_value, # string
    ShipmentDigest =>  $some_value, # string
    PickupRequestNumber =>  $some_value, # string
    PackageResults =>  { # Shipment::UPS::WSDL::ShipTypes::PackageResultsType
      TrackingNumber =>  $some_value, # string
      ServiceOptionsCharges => {}, # Shipment::UPS::WSDL::ShipTypes::ShipChargeType
      ShippingLabel =>  { # Shipment::UPS::WSDL::ShipTypes::LabelType
        InternationalSignatureGraphicImage =>  $some_value, # string
        HTMLImage =>  $some_value, # string
        PDF417 =>  $some_value, # string
      },
      ShippingReceipt =>  { # Shipment::UPS::WSDL::ShipTypes::ReceiptType
      },
      USPSPICNumber =>  $some_value, # string
    },
    ControlLogReceipt =>  { # Shipment::UPS::WSDL::ShipTypes::ImageType
      ImageFormat =>  { # Shipment::UPS::WSDL::ShipTypes::ImageFormatType
        Code =>  $some_value, # string
        Description =>  $some_value, # string
      },
      GraphicImage =>  $some_value, # string
    },
    Form =>  { # Shipment::UPS::WSDL::ShipTypes::FormType
      Code =>  $some_value, # string
      Description =>  $some_value, # string
      Image =>  { # Shipment::UPS::WSDL::ShipTypes::FormImageType
        ImageFormat => {}, # Shipment::UPS::WSDL::ShipTypes::ImageFormatType
        GraphicImage =>  $some_value, # string
      },
      FormGroupId =>  $some_value, # string
      FormGroupIdName =>  $some_value, # string
    },
    CODTurnInPage =>  { # Shipment::UPS::WSDL::ShipTypes::SCReportType
      Image => {}, # Shipment::UPS::WSDL::ShipTypes::ImageType
    },
    HighValueReport =>  { # Shipment::UPS::WSDL::ShipTypes::HighValueReportType
      Image => {}, # Shipment::UPS::WSDL::ShipTypes::ImageType
    },
    LabelURL =>  $some_value, # string
    LocalLanguageLabelURL =>  $some_value, # string
    ReceiptURL =>  $some_value, # string
    LocalLanguageReceiptURL =>  $some_value, # string
  },
},

AUTHOR

Generated by SOAP::WSDL

AUTHORS

  • Andrew Baerg <baergaj@cpan.org>

  • Al Newkirk <awncorp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Andrew Baerg.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.