Class: FedexWebServices::Soap::Rate::FreightCommitDetail
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::FreightCommitDetail
- Defined in:
- lib/fedex_web_services/soap/RateServiceDefinitions.rb
Overview
http://fedex.com/ws/rate/v13FreightCommitDetail
originDetail - FedexWebServices::Soap::Rate::FreightServiceCenterDetail
destinationDetail - FedexWebServices::Soap::Rate::FreightServiceCenterDetail
totalDistance - FedexWebServices::Soap::Rate::Distance
Instance Attribute Summary collapse
-
#destinationDetail ⇒ Object
Returns the value of attribute destinationDetail.
-
#originDetail ⇒ Object
Returns the value of attribute originDetail.
-
#totalDistance ⇒ Object
Returns the value of attribute totalDistance.
Instance Method Summary collapse
-
#initialize(originDetail = nil, destinationDetail = nil, totalDistance = nil) ⇒ FreightCommitDetail
constructor
A new instance of FreightCommitDetail.
Constructor Details
#initialize(originDetail = nil, destinationDetail = nil, totalDistance = nil) ⇒ FreightCommitDetail
Returns a new instance of FreightCommitDetail.
1182 1183 1184 1185 1186 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1182 def initialize(originDetail = nil, destinationDetail = nil, totalDistance = nil) @originDetail = originDetail @destinationDetail = destinationDetail @totalDistance = totalDistance end |
Instance Attribute Details
#destinationDetail ⇒ Object
Returns the value of attribute destinationDetail.
1179 1180 1181 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1179 def destinationDetail @destinationDetail end |
#originDetail ⇒ Object
Returns the value of attribute originDetail.
1178 1179 1180 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1178 def originDetail @originDetail end |
#totalDistance ⇒ Object
Returns the value of attribute totalDistance.
1180 1181 1182 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1180 def totalDistance @totalDistance end |