Class: FedexWebServices::Soap::Rate::CodDetail

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

Overview

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

codCollectionAmount - FedexWebServices::Soap::Rate::Money
addTransportationChargesDetail - FedexWebServices::Soap::Rate::CodAddTransportationChargesDetail
collectionType - FedexWebServices::Soap::Rate::CodCollectionType
codRecipient - FedexWebServices::Soap::Rate::Party
financialInstitutionContactAndAddress - FedexWebServices::Soap::Rate::ContactAndAddress
remitToName - SOAP::SOAPString
referenceIndicator - FedexWebServices::Soap::Rate::CodReturnReferenceIndicatorType
returnTrackingId - FedexWebServices::Soap::Rate::TrackingId

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(codCollectionAmount = nil, addTransportationChargesDetail = nil, collectionType = nil, codRecipient = nil, financialInstitutionContactAndAddress = nil, remitToName = nil, referenceIndicator = nil, returnTrackingId = nil) ⇒ CodDetail

Returns a new instance of CodDetail.



135
136
137
138
139
140
141
142
143
144
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 135

def initialize(codCollectionAmount = nil, addTransportationChargesDetail = nil, collectionType = nil, codRecipient = nil, financialInstitutionContactAndAddress = nil, remitToName = nil, referenceIndicator = nil, returnTrackingId = nil)
  @codCollectionAmount = codCollectionAmount
  @addTransportationChargesDetail = addTransportationChargesDetail
  @collectionType = collectionType
  @codRecipient = codRecipient
  @financialInstitutionContactAndAddress = financialInstitutionContactAndAddress
  @remitToName = remitToName
  @referenceIndicator = referenceIndicator
  @returnTrackingId = returnTrackingId
end

Instance Attribute Details

#addTransportationChargesDetailObject

Returns the value of attribute addTransportationChargesDetail.



127
128
129
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 127

def addTransportationChargesDetail
  @addTransportationChargesDetail
end

#codCollectionAmountObject

Returns the value of attribute codCollectionAmount.



126
127
128
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 126

def codCollectionAmount
  @codCollectionAmount
end

#codRecipientObject

Returns the value of attribute codRecipient.



129
130
131
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 129

def codRecipient
  @codRecipient
end

#collectionTypeObject

Returns the value of attribute collectionType.



128
129
130
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 128

def collectionType
  @collectionType
end

#financialInstitutionContactAndAddressObject

Returns the value of attribute financialInstitutionContactAndAddress.



130
131
132
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 130

def financialInstitutionContactAndAddress
  @financialInstitutionContactAndAddress
end

#referenceIndicatorObject

Returns the value of attribute referenceIndicator.



132
133
134
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 132

def referenceIndicator
  @referenceIndicator
end

#remitToNameObject

Returns the value of attribute remitToName.



131
132
133
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 131

def remitToName
  @remitToName
end

#returnTrackingIdObject

Returns the value of attribute returnTrackingId.



133
134
135
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 133

def returnTrackingId
  @returnTrackingId
end