package Shipment::FedEx::WSDL::ShipTypes::CustomsClearanceDetail;
$Shipment::FedEx::WSDL::ShipTypes::CustomsClearanceDetail::VERSION = '3.05';
use strict;
use warnings;


__PACKAGE__->_set_element_form_qualified(1);

sub get_xmlns {'http://fedex.com/ws/ship/v9'}

our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;

sub __get_attr_class {
    return $XML_ATTRIBUTE_CLASS;
}

use Class::Std::Fast::Storable constructor => 'none';
use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);

Class::Std::initialize();

{    # BLOCK to scope variables

    my %Broker_of : ATTR(:get<Broker>);
    my %ClearanceBrokerage_of : ATTR(:get<ClearanceBrokerage>);
    my %ImporterOfRecord_of : ATTR(:get<ImporterOfRecord>);
    my %RecipientCustomsId_of : ATTR(:get<RecipientCustomsId>);
    my %DutiesPayment_of : ATTR(:get<DutiesPayment>);
    my %DocumentContent_of : ATTR(:get<DocumentContent>);
    my %CustomsValue_of : ATTR(:get<CustomsValue>);
    my %FreightOnValue_of : ATTR(:get<FreightOnValue>);
    my %InsuranceCharges_of : ATTR(:get<InsuranceCharges>);
    my %PartiesToTransactionAreRelated_of :
      ATTR(:get<PartiesToTransactionAreRelated>);
    my %CommercialInvoice_of : ATTR(:get<CommercialInvoice>);
    my %Commodities_of : ATTR(:get<Commodities>);
    my %ExportDetail_of : ATTR(:get<ExportDetail>);
    my %RegulatoryControls_of : ATTR(:get<RegulatoryControls>);

    __PACKAGE__->_factory(
        [   qw(        Broker
              ClearanceBrokerage
              ImporterOfRecord
              RecipientCustomsId
              DutiesPayment
              DocumentContent
              CustomsValue
              FreightOnValue
              InsuranceCharges
              PartiesToTransactionAreRelated
              CommercialInvoice
              Commodities
              ExportDetail
              RegulatoryControls

              )
        ],
        {   'Broker'             => \%Broker_of,
            'ClearanceBrokerage' => \%ClearanceBrokerage_of,
            'ImporterOfRecord'   => \%ImporterOfRecord_of,
            'RecipientCustomsId' => \%RecipientCustomsId_of,
            'DutiesPayment'      => \%DutiesPayment_of,
            'DocumentContent'    => \%DocumentContent_of,
            'CustomsValue'       => \%CustomsValue_of,
            'FreightOnValue'     => \%FreightOnValue_of,
            'InsuranceCharges'   => \%InsuranceCharges_of,
            'PartiesToTransactionAreRelated' =>
              \%PartiesToTransactionAreRelated_of,
            'CommercialInvoice'  => \%CommercialInvoice_of,
            'Commodities'        => \%Commodities_of,
            'ExportDetail'       => \%ExportDetail_of,
            'RegulatoryControls' => \%RegulatoryControls_of,
        },
        {   'Broker' => 'Shipment::FedEx::WSDL::ShipTypes::Party',
            'ClearanceBrokerage' =>
              'Shipment::FedEx::WSDL::ShipTypes::ClearanceBrokerageType',
            'ImporterOfRecord' => 'Shipment::FedEx::WSDL::ShipTypes::Party',
            'RecipientCustomsId' =>
              'Shipment::FedEx::WSDL::ShipTypes::RecipientCustomsId',
            'DutiesPayment' => 'Shipment::FedEx::WSDL::ShipTypes::Payment',
            'DocumentContent' =>
              'Shipment::FedEx::WSDL::ShipTypes::InternationalDocumentContentType',
            'CustomsValue' => 'Shipment::FedEx::WSDL::ShipTypes::Money',
            'FreightOnValue' =>
              'Shipment::FedEx::WSDL::ShipTypes::FreightOnValueType',
            'InsuranceCharges' => 'Shipment::FedEx::WSDL::ShipTypes::Money',
            'PartiesToTransactionAreRelated' =>
              'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
            'CommercialInvoice' =>
              'Shipment::FedEx::WSDL::ShipTypes::CommercialInvoice',
            'Commodities'  => 'Shipment::FedEx::WSDL::ShipTypes::Commodity',
            'ExportDetail' => 'Shipment::FedEx::WSDL::ShipTypes::ExportDetail',
            'RegulatoryControls' =>
              'Shipment::FedEx::WSDL::ShipTypes::RegulatoryControlType',
        },
        {

            'Broker'             => 'Broker',
            'ClearanceBrokerage' => 'ClearanceBrokerage',
            'ImporterOfRecord'   => 'ImporterOfRecord',
            'RecipientCustomsId' => 'RecipientCustomsId',
            'DutiesPayment'      => 'DutiesPayment',
            'DocumentContent'    => 'DocumentContent',
            'CustomsValue'       => 'CustomsValue',
            'FreightOnValue'     => 'FreightOnValue',
            'InsuranceCharges'   => 'InsuranceCharges',
            'PartiesToTransactionAreRelated' =>
              'PartiesToTransactionAreRelated',
            'CommercialInvoice'  => 'CommercialInvoice',
            'Commodities'        => 'Commodities',
            'ExportDetail'       => 'ExportDetail',
            'RegulatoryControls' => 'RegulatoryControls',
        }
    );

}    # end BLOCK


1;

__END__

=pod

=encoding UTF-8

=head1 NAME

Shipment::FedEx::WSDL::ShipTypes::CustomsClearanceDetail

=head1 VERSION

version 3.05

=head1 DESCRIPTION

Perl data type class for the XML Schema defined complexType
CustomsClearanceDetail from the namespace http://fedex.com/ws/ship/v9.

=head2 PROPERTIES

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

=over

=item * Broker (min/maxOccurs: 0/1)

=item * ClearanceBrokerage (min/maxOccurs: 0/1)

=item * ImporterOfRecord (min/maxOccurs: 0/1)

=item * RecipientCustomsId (min/maxOccurs: 0/1)

=item * DutiesPayment (min/maxOccurs: 0/1)

=item * DocumentContent (min/maxOccurs: 0/1)

=item * CustomsValue (min/maxOccurs: 0/1)

=item * FreightOnValue (min/maxOccurs: 0/1)

=item * InsuranceCharges (min/maxOccurs: 0/1)

=item * PartiesToTransactionAreRelated (min/maxOccurs: 0/1)

=item * CommercialInvoice (min/maxOccurs: 0/1)

=item * Commodities (min/maxOccurs: 0/unbounded)

=item * ExportDetail (min/maxOccurs: 0/1)

=item * RegulatoryControls (min/maxOccurs: 0/unbounded)

=back

=head1 NAME

Shipment::FedEx::WSDL::ShipTypes::CustomsClearanceDetail

=head1 METHODS

=head2 new

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

 { # Shipment::FedEx::WSDL::ShipTypes::CustomsClearanceDetail
   Broker =>  { # Shipment::FedEx::WSDL::ShipTypes::Party
     AccountNumber =>  $some_value, # string
     Tins =>  { # Shipment::FedEx::WSDL::ShipTypes::TaxpayerIdentification
       TinType => $some_value, # TinType
       Number =>  $some_value, # string
       Usage =>  $some_value, # string
     },
     Contact =>  { # Shipment::FedEx::WSDL::ShipTypes::Contact
       ContactId =>  $some_value, # string
       PersonName =>  $some_value, # string
       Title =>  $some_value, # string
       CompanyName =>  $some_value, # string
       PhoneNumber =>  $some_value, # string
       PhoneExtension =>  $some_value, # string
       PagerNumber =>  $some_value, # string
       FaxNumber =>  $some_value, # string
       EMailAddress =>  $some_value, # string
     },
     Address =>  { # Shipment::FedEx::WSDL::ShipTypes::Address
       StreetLines =>  $some_value, # string
       City =>  $some_value, # string
       StateOrProvinceCode =>  $some_value, # string
       PostalCode =>  $some_value, # string
       UrbanizationCode =>  $some_value, # string
       CountryCode =>  $some_value, # string
       Residential =>  $some_value, # boolean
     },
   },
   ClearanceBrokerage => $some_value, # ClearanceBrokerageType
   ImporterOfRecord => {}, # Shipment::FedEx::WSDL::ShipTypes::Party
   RecipientCustomsId =>  { # Shipment::FedEx::WSDL::ShipTypes::RecipientCustomsId
     Type => $some_value, # RecipientCustomsIdType
     Value =>  $some_value, # string
   },
   DutiesPayment =>  { # Shipment::FedEx::WSDL::ShipTypes::Payment
     PaymentType => $some_value, # PaymentType
     Payor =>  { # Shipment::FedEx::WSDL::ShipTypes::Payor
       AccountNumber =>  $some_value, # string
       CountryCode =>  $some_value, # string
     },
   },
   DocumentContent => $some_value, # InternationalDocumentContentType
   CustomsValue =>  { # Shipment::FedEx::WSDL::ShipTypes::Money
     Currency =>  $some_value, # string
     Amount =>  $some_value, # decimal
   },
   FreightOnValue => $some_value, # FreightOnValueType
   InsuranceCharges => {}, # Shipment::FedEx::WSDL::ShipTypes::Money
   PartiesToTransactionAreRelated =>  $some_value, # boolean
   CommercialInvoice =>  { # Shipment::FedEx::WSDL::ShipTypes::CommercialInvoice
     Comments =>  $some_value, # string
     FreightCharge => {}, # Shipment::FedEx::WSDL::ShipTypes::Money
     TaxesOrMiscellaneousCharge => {}, # Shipment::FedEx::WSDL::ShipTypes::Money
     PackingCosts => {}, # Shipment::FedEx::WSDL::ShipTypes::Money
     HandlingCosts => {}, # Shipment::FedEx::WSDL::ShipTypes::Money
     SpecialInstructions =>  $some_value, # string
     DeclarationStatment =>  $some_value, # string
     PaymentTerms =>  $some_value, # string
     Purpose => $some_value, # PurposeOfShipmentType
     CustomerInvoiceNumber =>  $some_value, # string
     OriginatorName =>  $some_value, # string
     TermsOfSale => $some_value, # TermsOfSaleType
   },
   Commodities =>  { # Shipment::FedEx::WSDL::ShipTypes::Commodity
     Name =>  $some_value, # string
     NumberOfPieces =>  $some_value, # nonNegativeInteger
     Description =>  $some_value, # string
     CountryOfManufacture =>  $some_value, # string
     HarmonizedCode =>  $some_value, # string
     Weight =>  { # Shipment::FedEx::WSDL::ShipTypes::Weight
       Units => $some_value, # WeightUnits
       Value =>  $some_value, # decimal
     },
     Quantity =>  $some_value, # nonNegativeInteger
     QuantityUnits =>  $some_value, # string
     AdditionalMeasures =>  { # Shipment::FedEx::WSDL::ShipTypes::Measure
       Quantity =>  $some_value, # decimal
       Units =>  $some_value, # string
     },
     UnitPrice => {}, # Shipment::FedEx::WSDL::ShipTypes::Money
     CustomsValue => {}, # Shipment::FedEx::WSDL::ShipTypes::Money
     ExciseConditions =>  { # Shipment::FedEx::WSDL::ShipTypes::EdtExciseCondition
       Category =>  $some_value, # string
       Value =>  $some_value, # string
     },
     ExportLicenseNumber =>  $some_value, # string
     ExportLicenseExpirationDate =>  $some_value, # date
     CIMarksAndNumbers =>  $some_value, # string
     NaftaDetail =>  { # Shipment::FedEx::WSDL::ShipTypes::NaftaCommodityDetail
       PreferenceCriterion => $some_value, # NaftaPreferenceCriterionCode
       ProducerDetermination => $some_value, # NaftaProducerDeterminationCode
       ProducerId =>  $some_value, # string
       NetCostMethod => $some_value, # NaftaNetCostMethodCode
       NetCostDateRange =>  { # Shipment::FedEx::WSDL::ShipTypes::DateRange
         Begins =>  $some_value, # date
         Ends =>  $some_value, # date
       },
     },
   },
   ExportDetail =>  { # Shipment::FedEx::WSDL::ShipTypes::ExportDetail
     B13AFilingOption => $some_value, # B13AFilingOptionType
     ExportComplianceStatement =>  $some_value, # string
     PermitNumber =>  $some_value, # string
     DestinationControlDetail =>  { # Shipment::FedEx::WSDL::ShipTypes::DestinationControlDetail
       StatementTypes => $some_value, # DestinationControlStatementType
       DestinationCountries =>  $some_value, # string
       EndUser =>  $some_value, # string
     },
   },
   RegulatoryControls => $some_value, # RegulatoryControlType
 },

=head1 AUTHOR

Generated by SOAP::WSDL

=head1 AUTHOR

Andrew Baerg <baergaj@cpan.org>

=head1 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.

=cut