Class: FedexWebServices::Soap::Rate::ShipmentRateDetail

Inherits:
Object
  • Object
show all
Defined in:
lib/fedex_web_services/soap/RateServiceDefinitions.rb

Overview

http://fedex.com/ws/rate/v13ShipmentRateDetail rateType - FedexWebServices::Soap::Rate::ReturnedRateType rateScale - SOAP::SOAPString rateZone - SOAP::SOAPString pricingCode - FedexWebServices::Soap::Rate::PricingCodeType ratedWeightMethod - FedexWebServices::Soap::Rate::RatedWeightMethod minimumChargeType - FedexWebServices::Soap::Rate::MinimumChargeType currencyExchangeRate - FedexWebServices::Soap::Rate::CurrencyExchangeRate specialRatingApplied - FedexWebServices::Soap::Rate::SpecialRatingAppliedType dimDivisor - SOAP::SOAPNonNegativeInteger dimDivisorType - FedexWebServices::Soap::Rate::RateDimensionalDivisorType fuelSurchargePercent - SOAP::SOAPDecimal totalBillingWeight - FedexWebServices::Soap::Rate::Weight totalDimWeight - FedexWebServices::Soap::Rate::Weight totalBaseCharge - FedexWebServices::Soap::Rate::Money totalFreightDiscounts - FedexWebServices::Soap::Rate::Money totalNetFreight - FedexWebServices::Soap::Rate::Money totalSurcharges - FedexWebServices::Soap::Rate::Money totalNetFedExCharge - FedexWebServices::Soap::Rate::Money totalTaxes - FedexWebServices::Soap::Rate::Money totalNetCharge - FedexWebServices::Soap::Rate::Money totalRebates - FedexWebServices::Soap::Rate::Money totalDutiesAndTaxes - FedexWebServices::Soap::Rate::Money totalNetChargeWithDutiesAndTaxes - FedexWebServices::Soap::Rate::Money shipmentLegRateDetails - FedexWebServices::Soap::Rate::ShipmentLegRateDetail freightRateDetail - FedexWebServices::Soap::Rate::FreightRateDetail freightDiscounts - FedexWebServices::Soap::Rate::RateDiscount rebates - FedexWebServices::Soap::Rate::Rebate surcharges - FedexWebServices::Soap::Rate::Surcharge taxes - FedexWebServices::Soap::Rate::Tax dutiesAndTaxes - FedexWebServices::Soap::Rate::EdtCommodityTax variableHandlingCharges - FedexWebServices::Soap::Rate::VariableHandlingCharges totalVariableHandlingCharges - FedexWebServices::Soap::Rate::VariableHandlingCharges

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rateType = nil, rateScale = nil, rateZone = nil, pricingCode = nil, ratedWeightMethod = nil, minimumChargeType = nil, currencyExchangeRate = nil, specialRatingApplied = [], dimDivisor = nil, dimDivisorType = nil, fuelSurchargePercent = nil, totalBillingWeight = nil, totalDimWeight = nil, totalBaseCharge = nil, totalFreightDiscounts = nil, totalNetFreight = nil, totalSurcharges = nil, totalNetFedExCharge = nil, totalTaxes = nil, totalNetCharge = nil, totalRebates = nil, totalDutiesAndTaxes = nil, totalNetChargeWithDutiesAndTaxes = nil, shipmentLegRateDetails = [], freightRateDetail = nil, freightDiscounts = [], rebates = [], surcharges = [], taxes = [], dutiesAndTaxes = [], variableHandlingCharges = nil, totalVariableHandlingCharges = nil) ⇒ ShipmentRateDetail

Returns a new instance of ShipmentRateDetail.



2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2648

def initialize(rateType = nil, rateScale = nil, rateZone = nil, pricingCode = nil, ratedWeightMethod = nil, minimumChargeType = nil, currencyExchangeRate = nil, specialRatingApplied = [], dimDivisor = nil, dimDivisorType = nil, fuelSurchargePercent = nil, totalBillingWeight = nil, totalDimWeight = nil, totalBaseCharge = nil, totalFreightDiscounts = nil, totalNetFreight = nil, totalSurcharges = nil, totalNetFedExCharge = nil, totalTaxes = nil, totalNetCharge = nil, totalRebates = nil, totalDutiesAndTaxes = nil, totalNetChargeWithDutiesAndTaxes = nil, shipmentLegRateDetails = [], freightRateDetail = nil, freightDiscounts = [], rebates = [], surcharges = [], taxes = [], dutiesAndTaxes = [], variableHandlingCharges = nil, totalVariableHandlingCharges = nil)
  @rateType = rateType
  @rateScale = rateScale
  @rateZone = rateZone
  @pricingCode = pricingCode
  @ratedWeightMethod = ratedWeightMethod
  @minimumChargeType = minimumChargeType
  @currencyExchangeRate = currencyExchangeRate
  @specialRatingApplied = specialRatingApplied
  @dimDivisor = dimDivisor
  @dimDivisorType = dimDivisorType
  @fuelSurchargePercent = fuelSurchargePercent
  @totalBillingWeight = totalBillingWeight
  @totalDimWeight = totalDimWeight
  @totalBaseCharge = totalBaseCharge
  @totalFreightDiscounts = totalFreightDiscounts
  @totalNetFreight = totalNetFreight
  @totalSurcharges = totalSurcharges
  @totalNetFedExCharge = totalNetFedExCharge
  @totalTaxes = totalTaxes
  @totalNetCharge = totalNetCharge
  @totalRebates = totalRebates
  @totalDutiesAndTaxes = totalDutiesAndTaxes
  @totalNetChargeWithDutiesAndTaxes = totalNetChargeWithDutiesAndTaxes
  @shipmentLegRateDetails = shipmentLegRateDetails
  @freightRateDetail = freightRateDetail
  @freightDiscounts = freightDiscounts
  @rebates = rebates
  @surcharges = surcharges
  @taxes = taxes
  @dutiesAndTaxes = dutiesAndTaxes
  @variableHandlingCharges = variableHandlingCharges
  @totalVariableHandlingCharges = totalVariableHandlingCharges
end

Instance Attribute Details

#currencyExchangeRate ⇒ Object

Returns the value of attribute currencyExchangeRate.



2621
2622
2623
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2621

def currencyExchangeRate
  @currencyExchangeRate
end

#dimDivisor ⇒ Object

Returns the value of attribute dimDivisor.



2623
2624
2625
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2623

def dimDivisor
  @dimDivisor
end

#dimDivisorType ⇒ Object

Returns the value of attribute dimDivisorType.



2624
2625
2626
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2624

def dimDivisorType
  @dimDivisorType
end

#dutiesAndTaxes ⇒ Object

Returns the value of attribute dutiesAndTaxes.



2644
2645
2646
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2644

def dutiesAndTaxes
  @dutiesAndTaxes
end

#freightDiscounts ⇒ Object

Returns the value of attribute freightDiscounts.



2640
2641
2642
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2640

def freightDiscounts
  @freightDiscounts
end

#freightRateDetail ⇒ Object

Returns the value of attribute freightRateDetail.



2639
2640
2641
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2639

def freightRateDetail
  @freightRateDetail
end

#fuelSurchargePercent ⇒ Object

Returns the value of attribute fuelSurchargePercent.



2625
2626
2627
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2625

def fuelSurchargePercent
  @fuelSurchargePercent
end

#minimumChargeType ⇒ Object

Returns the value of attribute minimumChargeType.



2620
2621
2622
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2620

def minimumChargeType
  @minimumChargeType
end

#pricingCode ⇒ Object

Returns the value of attribute pricingCode.



2618
2619
2620
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2618

def pricingCode
  @pricingCode
end

#ratedWeightMethod ⇒ Object

Returns the value of attribute ratedWeightMethod.



2619
2620
2621
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2619

def ratedWeightMethod
  @ratedWeightMethod
end

#rateScale ⇒ Object

Returns the value of attribute rateScale.



2616
2617
2618
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2616

def rateScale
  @rateScale
end

#rateType ⇒ Object

Returns the value of attribute rateType.



2615
2616
2617
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2615

def rateType
  @rateType
end

#rateZone ⇒ Object

Returns the value of attribute rateZone.



2617
2618
2619
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2617

def rateZone
  @rateZone
end

#rebates ⇒ Object

Returns the value of attribute rebates.



2641
2642
2643
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2641

def rebates
  @rebates
end

#shipmentLegRateDetails ⇒ Object

Returns the value of attribute shipmentLegRateDetails.



2638
2639
2640
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2638

def shipmentLegRateDetails
  @shipmentLegRateDetails
end

#specialRatingApplied ⇒ Object

Returns the value of attribute specialRatingApplied.



2622
2623
2624
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2622

def specialRatingApplied
  @specialRatingApplied
end

#surcharges ⇒ Object

Returns the value of attribute surcharges.



2642
2643
2644
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2642

def surcharges
  @surcharges
end

#taxes ⇒ Object

Returns the value of attribute taxes.



2643
2644
2645
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2643

def taxes
  @taxes
end

#totalBaseCharge ⇒ Object

Returns the value of attribute totalBaseCharge.



2628
2629
2630
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2628

def totalBaseCharge
  @totalBaseCharge
end

#totalBillingWeight ⇒ Object

Returns the value of attribute totalBillingWeight.



2626
2627
2628
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2626

def totalBillingWeight
  @totalBillingWeight
end

#totalDimWeight ⇒ Object

Returns the value of attribute totalDimWeight.



2627
2628
2629
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2627

def totalDimWeight
  @totalDimWeight
end

#totalDutiesAndTaxes ⇒ Object

Returns the value of attribute totalDutiesAndTaxes.



2636
2637
2638
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2636

def totalDutiesAndTaxes
  @totalDutiesAndTaxes
end

#totalFreightDiscounts ⇒ Object

Returns the value of attribute totalFreightDiscounts.



2629
2630
2631
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2629

def totalFreightDiscounts
  @totalFreightDiscounts
end

#totalNetCharge ⇒ Object

Returns the value of attribute totalNetCharge.



2634
2635
2636
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2634

def totalNetCharge
  @totalNetCharge
end

#totalNetChargeWithDutiesAndTaxes ⇒ Object

Returns the value of attribute totalNetChargeWithDutiesAndTaxes.



2637
2638
2639
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2637

def totalNetChargeWithDutiesAndTaxes
  @totalNetChargeWithDutiesAndTaxes
end

#totalNetFedExCharge ⇒ Object

Returns the value of attribute totalNetFedExCharge.



2632
2633
2634
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2632

def totalNetFedExCharge
  @totalNetFedExCharge
end

#totalNetFreight ⇒ Object

Returns the value of attribute totalNetFreight.



2630
2631
2632
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2630

def totalNetFreight
  @totalNetFreight
end

#totalRebates ⇒ Object

Returns the value of attribute totalRebates.



2635
2636
2637
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2635

def totalRebates
  @totalRebates
end

#totalSurcharges ⇒ Object

Returns the value of attribute totalSurcharges.



2631
2632
2633
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2631

def totalSurcharges
  @totalSurcharges
end

#totalTaxes ⇒ Object

Returns the value of attribute totalTaxes.



2633
2634
2635
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2633

def totalTaxes
  @totalTaxes
end

#totalVariableHandlingCharges ⇒ Object

Returns the value of attribute totalVariableHandlingCharges.



2646
2647
2648
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2646

def totalVariableHandlingCharges
  @totalVariableHandlingCharges
end

#variableHandlingCharges ⇒ Object

Returns the value of attribute variableHandlingCharges.



2645
2646
2647
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2645

def variableHandlingCharges
  @variableHandlingCharges
end