NAME

Shipment::Purolator::WSDL::Types::ReturnShipment

VERSION

version 3.10

DESCRIPTION

Perl data type class for the XML Schema defined complexType ReturnShipment from the namespace http://purolator.com/pws/datatypes/v1.

Shipment

PROPERTIES

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

  • SenderInformation (min/maxOccurs: 1/1)

  • ReceiverInformation (min/maxOccurs: 1/1)

  • PackageInformation (min/maxOccurs: 1/1)

  • PaymentInformation (min/maxOccurs: 1/1)

  • PickupInformation (min/maxOccurs: 1/1)

  • NotificationInformation (min/maxOccurs: 0/1)

  • TrackingReferenceInformation (min/maxOccurs: 0/1)

  • OtherInformation (min/maxOccurs: 0/1)

NAME

Shipment::Purolator::WSDL::Types::ReturnShipment

METHODS

new

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

{ # Shipment::Purolator::WSDL::Types::ReturnShipment
  SenderInformation =>  { # Shipment::Purolator::WSDL::Types::SenderInformation
    Address =>  { # Shipment::Purolator::WSDL::Types::Address
      Name =>  $some_value, # string
      Company =>  $some_value, # string
      Department =>  $some_value, # string
      StreetNumber =>  $some_value, # string
      StreetSuffix =>  $some_value, # string
      StreetName =>  $some_value, # string
      StreetType =>  $some_value, # string
      StreetDirection =>  $some_value, # string
      Suite =>  $some_value, # string
      Floor =>  $some_value, # string
      StreetAddress2 =>  $some_value, # string
      StreetAddress3 =>  $some_value, # string
      City =>  $some_value, # string
      Province =>  $some_value, # string
      Country =>  $some_value, # string
      PostalCode =>  $some_value, # string
      PhoneNumber =>  { # Shipment::Purolator::WSDL::Types::PhoneNumber
        CountryCode =>  $some_value, # string
        AreaCode =>  $some_value, # string
        Phone =>  $some_value, # string
        Extension =>  $some_value, # string
      },
      FaxNumber => {}, # Shipment::Purolator::WSDL::Types::PhoneNumber
    },
    TaxNumber =>  $some_value, # string
  },
  ReceiverInformation =>  { # Shipment::Purolator::WSDL::Types::ReceiverInformation
    Address => {}, # Shipment::Purolator::WSDL::Types::Address
    TaxNumber =>  $some_value, # string
  },
  PackageInformation =>  { # Shipment::Purolator::WSDL::Types::PackageInformation
    ServiceID =>  $some_value, # string
    Description =>  $some_value, # string
    TotalWeight =>  { # Shipment::Purolator::WSDL::Types::TotalWeight
      Value =>  $some_value, # int
      WeightUnit => $some_value, # WeightUnit
    },
    TotalPieces =>  $some_value, # int
    PiecesInformation =>  { # Shipment::Purolator::WSDL::Types::ArrayOfPiece
      Piece =>  { # Shipment::Purolator::WSDL::Types::Piece
        Weight =>  { # Shipment::Purolator::WSDL::Types::Weight
          Value =>  $some_value, # decimal
          WeightUnit => $some_value, # WeightUnit
        },
        Length =>  { # Shipment::Purolator::WSDL::Types::Dimension
          Value =>  $some_value, # decimal
          DimensionUnit => $some_value, # DimensionUnit
        },
        Width => {}, # Shipment::Purolator::WSDL::Types::Dimension
        Height => {}, # Shipment::Purolator::WSDL::Types::Dimension
        Options =>  { # Shipment::Purolator::WSDL::Types::ArrayOfOptionIDValuePair
          OptionIDValuePair =>  { # Shipment::Purolator::WSDL::Types::OptionIDValuePair
            ID =>  $some_value, # string
            Value =>  $some_value, # string
          },
        },
      },
    },
    DangerousGoodsDeclarationDocumentIndicator =>  $some_value, # boolean
    OptionsInformation =>  { # Shipment::Purolator::WSDL::Types::OptionsInformation
      Options => {}, # Shipment::Purolator::WSDL::Types::ArrayOfOptionIDValuePair
      ExpressChequeAddress => {}, # Shipment::Purolator::WSDL::Types::Address
    },
  },
  PaymentInformation =>  { # Shipment::Purolator::WSDL::Types::PaymentInformation
    PaymentType => $some_value, # PaymentType
    RegisteredAccountNumber =>  $some_value, # string
    BillingAccountNumber =>  $some_value, # string
    CreditCardInformation =>  { # Shipment::Purolator::WSDL::Types::CreditCardInformation
      Type => $some_value, # CreditCardType
      Number =>  $some_value, # string
      Name =>  $some_value, # string
      ExpiryMonth =>  $some_value, # int
      ExpiryYear =>  $some_value, # int
      CVV =>  $some_value, # string
    },
  },
  PickupInformation =>  { # Shipment::Purolator::WSDL::Types::PickupInformation
    PickupType => $some_value, # PickupType
  },
  NotificationInformation =>  { # Shipment::Purolator::WSDL::Types::NotificationInformation
    ConfirmationEmailAddress =>  $some_value, # string
    AdvancedShippingNotificationEmailAddress1 =>  $some_value, # string
    AdvancedShippingNotificationEmailAddress2 =>  $some_value, # string
    AdvancedShippingNotificationMessage =>  $some_value, # string
  },
  TrackingReferenceInformation =>  { # Shipment::Purolator::WSDL::Types::TrackingReferenceInformation
    Reference1 =>  $some_value, # string
    Reference2 =>  $some_value, # string
    Reference3 =>  $some_value, # string
    Reference4 =>  $some_value, # string
  },
  OtherInformation =>  { # Shipment::Purolator::WSDL::Types::OtherInformation
    CostCentre =>  $some_value, # string
    SpecialInstructions =>  $some_value, # string
  },
},

AUTHOR

Generated by SOAP::WSDL

AUTHOR

Andrew Baerg <baergaj@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 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.