package Shipment::FedEx::WSDL::RateTypes::PackageRateDetail;
$Shipment::FedEx::WSDL::RateTypes::PackageRateDetail::VERSION = '3.05';
use strict;
use warnings;


__PACKAGE__->_set_element_form_qualified(1);

sub get_xmlns {'http://fedex.com/ws/rate/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 %RateType_of : ATTR(:get<RateType>);
    my %RatedWeightMethod_of : ATTR(:get<RatedWeightMethod>);
    my %MinimumChargeType_of : ATTR(:get<MinimumChargeType>);
    my %BillingWeight_of : ATTR(:get<BillingWeight>);
    my %DimWeight_of : ATTR(:get<DimWeight>);
    my %OversizeWeight_of : ATTR(:get<OversizeWeight>);
    my %BaseCharge_of : ATTR(:get<BaseCharge>);
    my %TotalFreightDiscounts_of : ATTR(:get<TotalFreightDiscounts>);
    my %NetFreight_of : ATTR(:get<NetFreight>);
    my %TotalSurcharges_of : ATTR(:get<TotalSurcharges>);
    my %NetFedExCharge_of : ATTR(:get<NetFedExCharge>);
    my %TotalTaxes_of : ATTR(:get<TotalTaxes>);
    my %NetCharge_of : ATTR(:get<NetCharge>);
    my %TotalRebates_of : ATTR(:get<TotalRebates>);
    my %FreightDiscounts_of : ATTR(:get<FreightDiscounts>);
    my %Rebates_of : ATTR(:get<Rebates>);
    my %Surcharges_of : ATTR(:get<Surcharges>);
    my %Taxes_of : ATTR(:get<Taxes>);
    my %VariableHandlingCharges_of : ATTR(:get<VariableHandlingCharges>);

    __PACKAGE__->_factory(
        [   qw(        RateType
              RatedWeightMethod
              MinimumChargeType
              BillingWeight
              DimWeight
              OversizeWeight
              BaseCharge
              TotalFreightDiscounts
              NetFreight
              TotalSurcharges
              NetFedExCharge
              TotalTaxes
              NetCharge
              TotalRebates
              FreightDiscounts
              Rebates
              Surcharges
              Taxes
              VariableHandlingCharges

              )
        ],
        {   'RateType'                => \%RateType_of,
            'RatedWeightMethod'       => \%RatedWeightMethod_of,
            'MinimumChargeType'       => \%MinimumChargeType_of,
            'BillingWeight'           => \%BillingWeight_of,
            'DimWeight'               => \%DimWeight_of,
            'OversizeWeight'          => \%OversizeWeight_of,
            'BaseCharge'              => \%BaseCharge_of,
            'TotalFreightDiscounts'   => \%TotalFreightDiscounts_of,
            'NetFreight'              => \%NetFreight_of,
            'TotalSurcharges'         => \%TotalSurcharges_of,
            'NetFedExCharge'          => \%NetFedExCharge_of,
            'TotalTaxes'              => \%TotalTaxes_of,
            'NetCharge'               => \%NetCharge_of,
            'TotalRebates'            => \%TotalRebates_of,
            'FreightDiscounts'        => \%FreightDiscounts_of,
            'Rebates'                 => \%Rebates_of,
            'Surcharges'              => \%Surcharges_of,
            'Taxes'                   => \%Taxes_of,
            'VariableHandlingCharges' => \%VariableHandlingCharges_of,
        },
        {   'RateType' => 'Shipment::FedEx::WSDL::RateTypes::ReturnedRateType',
            'RatedWeightMethod' =>
              'Shipment::FedEx::WSDL::RateTypes::RatedWeightMethod',
            'MinimumChargeType' =>
              'Shipment::FedEx::WSDL::RateTypes::MinimumChargeType',
            'BillingWeight'  => 'Shipment::FedEx::WSDL::RateTypes::Weight',
            'DimWeight'      => 'Shipment::FedEx::WSDL::RateTypes::Weight',
            'OversizeWeight' => 'Shipment::FedEx::WSDL::RateTypes::Weight',
            'BaseCharge'     => 'Shipment::FedEx::WSDL::RateTypes::Money',
            'TotalFreightDiscounts' =>
              'Shipment::FedEx::WSDL::RateTypes::Money',
            'NetFreight'      => 'Shipment::FedEx::WSDL::RateTypes::Money',
            'TotalSurcharges' => 'Shipment::FedEx::WSDL::RateTypes::Money',
            'NetFedExCharge'  => 'Shipment::FedEx::WSDL::RateTypes::Money',
            'TotalTaxes'      => 'Shipment::FedEx::WSDL::RateTypes::Money',
            'NetCharge'       => 'Shipment::FedEx::WSDL::RateTypes::Money',
            'TotalRebates'    => 'Shipment::FedEx::WSDL::RateTypes::Money',
            'FreightDiscounts' =>
              'Shipment::FedEx::WSDL::RateTypes::RateDiscount',
            'Rebates'    => 'Shipment::FedEx::WSDL::RateTypes::Rebate',
            'Surcharges' => 'Shipment::FedEx::WSDL::RateTypes::Surcharge',
            'Taxes'      => 'Shipment::FedEx::WSDL::RateTypes::Tax',
            'VariableHandlingCharges' =>
              'Shipment::FedEx::WSDL::RateTypes::VariableHandlingCharges',
        },
        {

            'RateType'                => 'RateType',
            'RatedWeightMethod'       => 'RatedWeightMethod',
            'MinimumChargeType'       => 'MinimumChargeType',
            'BillingWeight'           => 'BillingWeight',
            'DimWeight'               => 'DimWeight',
            'OversizeWeight'          => 'OversizeWeight',
            'BaseCharge'              => 'BaseCharge',
            'TotalFreightDiscounts'   => 'TotalFreightDiscounts',
            'NetFreight'              => 'NetFreight',
            'TotalSurcharges'         => 'TotalSurcharges',
            'NetFedExCharge'          => 'NetFedExCharge',
            'TotalTaxes'              => 'TotalTaxes',
            'NetCharge'               => 'NetCharge',
            'TotalRebates'            => 'TotalRebates',
            'FreightDiscounts'        => 'FreightDiscounts',
            'Rebates'                 => 'Rebates',
            'Surcharges'              => 'Surcharges',
            'Taxes'                   => 'Taxes',
            'VariableHandlingCharges' => 'VariableHandlingCharges',
        }
    );

}    # end BLOCK


1;

__END__

=pod

=encoding UTF-8

=head1 NAME

Shipment::FedEx::WSDL::RateTypes::PackageRateDetail

=head1 VERSION

version 3.05

=head1 DESCRIPTION

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

Data for a package's rates, as calculated per a specific rate type.

=head2 PROPERTIES

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

=over

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

=back

=head1 NAME

Shipment::FedEx::WSDL::RateTypes::PackageRateDetail

=head1 METHODS

=head2 new

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

 { # Shipment::FedEx::WSDL::RateTypes::PackageRateDetail
   RateType => $some_value, # ReturnedRateType
   RatedWeightMethod => $some_value, # RatedWeightMethod
   MinimumChargeType => $some_value, # MinimumChargeType
   BillingWeight =>  { # Shipment::FedEx::WSDL::RateTypes::Weight
     Units => $some_value, # WeightUnits
     Value =>  $some_value, # decimal
   },
   DimWeight => {}, # Shipment::FedEx::WSDL::RateTypes::Weight
   OversizeWeight => {}, # Shipment::FedEx::WSDL::RateTypes::Weight
   BaseCharge =>  { # Shipment::FedEx::WSDL::RateTypes::Money
     Currency =>  $some_value, # string
     Amount =>  $some_value, # decimal
   },
   TotalFreightDiscounts => {}, # Shipment::FedEx::WSDL::RateTypes::Money
   NetFreight => {}, # Shipment::FedEx::WSDL::RateTypes::Money
   TotalSurcharges => {}, # Shipment::FedEx::WSDL::RateTypes::Money
   NetFedExCharge => {}, # Shipment::FedEx::WSDL::RateTypes::Money
   TotalTaxes => {}, # Shipment::FedEx::WSDL::RateTypes::Money
   NetCharge => {}, # Shipment::FedEx::WSDL::RateTypes::Money
   TotalRebates => {}, # Shipment::FedEx::WSDL::RateTypes::Money
   FreightDiscounts =>  { # Shipment::FedEx::WSDL::RateTypes::RateDiscount
     RateDiscountType => $some_value, # RateDiscountType
     Description =>  $some_value, # string
     Amount => {}, # Shipment::FedEx::WSDL::RateTypes::Money
     Percent =>  $some_value, # decimal
   },
   Rebates =>  { # Shipment::FedEx::WSDL::RateTypes::Rebate
     RebateType => $some_value, # RebateType
     Description =>  $some_value, # string
     Amount => {}, # Shipment::FedEx::WSDL::RateTypes::Money
     Percent =>  $some_value, # decimal
   },
   Surcharges =>  { # Shipment::FedEx::WSDL::RateTypes::Surcharge
     SurchargeType => $some_value, # SurchargeType
     Level => $some_value, # SurchargeLevelType
     Description =>  $some_value, # string
     Amount => {}, # Shipment::FedEx::WSDL::RateTypes::Money
   },
   Taxes =>  { # Shipment::FedEx::WSDL::RateTypes::Tax
     TaxType => $some_value, # TaxType
     Description =>  $some_value, # string
     Amount => {}, # Shipment::FedEx::WSDL::RateTypes::Money
   },
   VariableHandlingCharges =>  { # Shipment::FedEx::WSDL::RateTypes::VariableHandlingCharges
     VariableHandlingCharge => {}, # Shipment::FedEx::WSDL::RateTypes::Money
     TotalCustomerCharge => {}, # Shipment::FedEx::WSDL::RateTypes::Money
   },
 },

=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