Class: FedexWebServices::Soap::Ship::PackageRateDetail

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

Overview

http://fedex.com/ws/ship/v12PackageRateDetail

rateType - FedexWebServices::Soap::Ship::ReturnedRateType
ratedWeightMethod - FedexWebServices::Soap::Ship::RatedWeightMethod
minimumChargeType - FedexWebServices::Soap::Ship::MinimumChargeType
billingWeight - FedexWebServices::Soap::Ship::Weight
dimWeight - FedexWebServices::Soap::Ship::Weight
oversizeWeight - FedexWebServices::Soap::Ship::Weight
baseCharge - FedexWebServices::Soap::Ship::Money
totalFreightDiscounts - FedexWebServices::Soap::Ship::Money
netFreight - FedexWebServices::Soap::Ship::Money
totalSurcharges - FedexWebServices::Soap::Ship::Money
netFedExCharge - FedexWebServices::Soap::Ship::Money
totalTaxes - FedexWebServices::Soap::Ship::Money
netCharge - FedexWebServices::Soap::Ship::Money
totalRebates - FedexWebServices::Soap::Ship::Money
freightDiscounts - FedexWebServices::Soap::Ship::RateDiscount
rebates - FedexWebServices::Soap::Ship::Rebate
surcharges - FedexWebServices::Soap::Ship::Surcharge
taxes - FedexWebServices::Soap::Ship::Tax
variableHandlingCharges - FedexWebServices::Soap::Ship::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.



2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2167

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.



2153
2154
2155
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2153

def baseCharge
  @baseCharge
end

#billingWeightObject

Returns the value of attribute billingWeight.



2150
2151
2152
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2150

def billingWeight
  @billingWeight
end

#dimWeightObject

Returns the value of attribute dimWeight.



2151
2152
2153
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2151

def dimWeight
  @dimWeight
end

#freightDiscountsObject

Returns the value of attribute freightDiscounts.



2161
2162
2163
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2161

def freightDiscounts
  @freightDiscounts
end

#minimumChargeTypeObject

Returns the value of attribute minimumChargeType.



2149
2150
2151
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2149

def minimumChargeType
  @minimumChargeType
end

#netChargeObject

Returns the value of attribute netCharge.



2159
2160
2161
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2159

def netCharge
  @netCharge
end

#netFedExChargeObject

Returns the value of attribute netFedExCharge.



2157
2158
2159
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2157

def netFedExCharge
  @netFedExCharge
end

#netFreightObject

Returns the value of attribute netFreight.



2155
2156
2157
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2155

def netFreight
  @netFreight
end

#oversizeWeightObject

Returns the value of attribute oversizeWeight.



2152
2153
2154
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2152

def oversizeWeight
  @oversizeWeight
end

#ratedWeightMethodObject

Returns the value of attribute ratedWeightMethod.



2148
2149
2150
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2148

def ratedWeightMethod
  @ratedWeightMethod
end

#rateTypeObject

Returns the value of attribute rateType.



2147
2148
2149
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2147

def rateType
  @rateType
end

#rebatesObject

Returns the value of attribute rebates.



2162
2163
2164
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2162

def rebates
  @rebates
end

#surchargesObject

Returns the value of attribute surcharges.



2163
2164
2165
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2163

def surcharges
  @surcharges
end

#taxesObject

Returns the value of attribute taxes.



2164
2165
2166
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2164

def taxes
  @taxes
end

#totalFreightDiscountsObject

Returns the value of attribute totalFreightDiscounts.



2154
2155
2156
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2154

def totalFreightDiscounts
  @totalFreightDiscounts
end

#totalRebatesObject

Returns the value of attribute totalRebates.



2160
2161
2162
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2160

def totalRebates
  @totalRebates
end

#totalSurchargesObject

Returns the value of attribute totalSurcharges.



2156
2157
2158
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2156

def totalSurcharges
  @totalSurcharges
end

#totalTaxesObject

Returns the value of attribute totalTaxes.



2158
2159
2160
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2158

def totalTaxes
  @totalTaxes
end

#variableHandlingChargesObject

Returns the value of attribute variableHandlingCharges.



2165
2166
2167
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 2165

def variableHandlingCharges
  @variableHandlingCharges
end