Class: FedexWebServices::Soap::Rate::PackageRateDetail

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

Overview

http://fedex.com/ws/rate/v13PackageRateDetail

rateType - FedexWebServices::Soap::Rate::ReturnedRateType
ratedWeightMethod - FedexWebServices::Soap::Rate::RatedWeightMethod
minimumChargeType - FedexWebServices::Soap::Rate::MinimumChargeType
billingWeight - FedexWebServices::Soap::Rate::Weight
dimWeight - FedexWebServices::Soap::Rate::Weight
oversizeWeight - FedexWebServices::Soap::Rate::Weight
baseCharge - FedexWebServices::Soap::Rate::Money
totalFreightDiscounts - FedexWebServices::Soap::Rate::Money
netFreight - FedexWebServices::Soap::Rate::Money
totalSurcharges - FedexWebServices::Soap::Rate::Money
netFedExCharge - FedexWebServices::Soap::Rate::Money
totalTaxes - FedexWebServices::Soap::Rate::Money
netCharge - FedexWebServices::Soap::Rate::Money
totalRebates - FedexWebServices::Soap::Rate::Money
freightDiscounts - FedexWebServices::Soap::Rate::RateDiscount
rebates - FedexWebServices::Soap::Rate::Rebate
surcharges - FedexWebServices::Soap::Rate::Surcharge
taxes - FedexWebServices::Soap::Rate::Tax
variableHandlingCharges - FedexWebServices::Soap::Rate::VariableHandlingCharges

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rateType = nil, ratedWeightMethod = nil, minimumChargeType = nil, billingWeight = nil, dimWeight = nil, oversizeWeight = nil, baseCharge = nil, totalFreightDiscounts = nil, netFreight = nil, totalSurcharges = nil, netFedExCharge = nil, totalTaxes = nil, netCharge = nil, totalRebates = nil, freightDiscounts = [], rebates = [], surcharges = [], taxes = [], variableHandlingCharges = nil) ⇒ PackageRateDetail

Returns a new instance of PackageRateDetail.



1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1827

def initialize(rateType = nil, ratedWeightMethod = nil, minimumChargeType = nil, billingWeight = nil, dimWeight = nil, oversizeWeight = nil, baseCharge = nil, totalFreightDiscounts = nil, netFreight = nil, totalSurcharges = nil, netFedExCharge = nil, totalTaxes = nil, netCharge = nil, totalRebates = nil, freightDiscounts = [], rebates = [], surcharges = [], taxes = [], variableHandlingCharges = nil)
  @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

Instance Attribute Details

#baseChargeObject

Returns the value of attribute baseCharge.



1813
1814
1815
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1813

def baseCharge
  @baseCharge
end

#billingWeightObject

Returns the value of attribute billingWeight.



1810
1811
1812
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1810

def billingWeight
  @billingWeight
end

#dimWeightObject

Returns the value of attribute dimWeight.



1811
1812
1813
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1811

def dimWeight
  @dimWeight
end

#freightDiscountsObject

Returns the value of attribute freightDiscounts.



1821
1822
1823
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1821

def freightDiscounts
  @freightDiscounts
end

#minimumChargeTypeObject

Returns the value of attribute minimumChargeType.



1809
1810
1811
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1809

def minimumChargeType
  @minimumChargeType
end

#netChargeObject

Returns the value of attribute netCharge.



1819
1820
1821
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1819

def netCharge
  @netCharge
end

#netFedExChargeObject

Returns the value of attribute netFedExCharge.



1817
1818
1819
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1817

def netFedExCharge
  @netFedExCharge
end

#netFreightObject

Returns the value of attribute netFreight.



1815
1816
1817
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1815

def netFreight
  @netFreight
end

#oversizeWeightObject

Returns the value of attribute oversizeWeight.



1812
1813
1814
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1812

def oversizeWeight
  @oversizeWeight
end

#ratedWeightMethodObject

Returns the value of attribute ratedWeightMethod.



1808
1809
1810
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1808

def ratedWeightMethod
  @ratedWeightMethod
end

#rateTypeObject

Returns the value of attribute rateType.



1807
1808
1809
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1807

def rateType
  @rateType
end

#rebatesObject

Returns the value of attribute rebates.



1822
1823
1824
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1822

def rebates
  @rebates
end

#surchargesObject

Returns the value of attribute surcharges.



1823
1824
1825
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1823

def surcharges
  @surcharges
end

#taxesObject

Returns the value of attribute taxes.



1824
1825
1826
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1824

def taxes
  @taxes
end

#totalFreightDiscountsObject

Returns the value of attribute totalFreightDiscounts.



1814
1815
1816
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1814

def totalFreightDiscounts
  @totalFreightDiscounts
end

#totalRebatesObject

Returns the value of attribute totalRebates.



1820
1821
1822
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1820

def totalRebates
  @totalRebates
end

#totalSurchargesObject

Returns the value of attribute totalSurcharges.



1816
1817
1818
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1816

def totalSurcharges
  @totalSurcharges
end

#totalTaxesObject

Returns the value of attribute totalTaxes.



1818
1819
1820
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1818

def totalTaxes
  @totalTaxes
end

#variableHandlingChargesObject

Returns the value of attribute variableHandlingCharges.



1825
1826
1827
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1825

def variableHandlingCharges
  @variableHandlingCharges
end