Class: FedexWebServices::Soap::Rate::RatedShipmentDetail

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

Overview

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

effectiveNetDiscount - FedexWebServices::Soap::Rate::Money
adjustedCodCollectionAmount - FedexWebServices::Soap::Rate::Money
shipmentRateDetail - FedexWebServices::Soap::Rate::ShipmentRateDetail
ratedPackages - FedexWebServices::Soap::Rate::RatedPackageDetail

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(effectiveNetDiscount = nil, adjustedCodCollectionAmount = nil, shipmentRateDetail = nil, ratedPackages = []) ⇒ RatedShipmentDetail

Returns a new instance of RatedShipmentDetail.



2188
2189
2190
2191
2192
2193
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2188

def initialize(effectiveNetDiscount = nil, adjustedCodCollectionAmount = nil, shipmentRateDetail = nil, ratedPackages = [])
  @effectiveNetDiscount = effectiveNetDiscount
  @adjustedCodCollectionAmount = adjustedCodCollectionAmount
  @shipmentRateDetail = shipmentRateDetail
  @ratedPackages = ratedPackages
end

Instance Attribute Details

#adjustedCodCollectionAmountObject

Returns the value of attribute adjustedCodCollectionAmount.



2184
2185
2186
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2184

def adjustedCodCollectionAmount
  @adjustedCodCollectionAmount
end

#effectiveNetDiscountObject

Returns the value of attribute effectiveNetDiscount.



2183
2184
2185
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2183

def effectiveNetDiscount
  @effectiveNetDiscount
end

#ratedPackagesObject

Returns the value of attribute ratedPackages.



2186
2187
2188
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2186

def ratedPackages
  @ratedPackages
end

#shipmentRateDetailObject

Returns the value of attribute shipmentRateDetail.



2185
2186
2187
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2185

def shipmentRateDetail
  @shipmentRateDetail
end