Class: FedexWebServices::Soap::Ship::CodDetail

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

Overview

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

codCollectionAmount - FedexWebServices::Soap::Ship::Money
addTransportationChargesDetail - FedexWebServices::Soap::Ship::CodAddTransportationChargesDetail
collectionType - FedexWebServices::Soap::Ship::CodCollectionType
codRecipient - FedexWebServices::Soap::Ship::Party
financialInstitutionContactAndAddress - FedexWebServices::Soap::Ship::ContactAndAddress
remitToName - SOAP::SOAPString
referenceIndicator - FedexWebServices::Soap::Ship::CodReturnReferenceIndicatorType
returnTrackingId - FedexWebServices::Soap::Ship::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.



223
224
225
226
227
228
229
230
231
232
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 223

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.



215
216
217
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 215

def addTransportationChargesDetail
  @addTransportationChargesDetail
end

#codCollectionAmountObject

Returns the value of attribute codCollectionAmount.



214
215
216
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 214

def codCollectionAmount
  @codCollectionAmount
end

#codRecipientObject

Returns the value of attribute codRecipient.



217
218
219
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 217

def codRecipient
  @codRecipient
end

#collectionTypeObject

Returns the value of attribute collectionType.



216
217
218
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 216

def collectionType
  @collectionType
end

#financialInstitutionContactAndAddressObject

Returns the value of attribute financialInstitutionContactAndAddress.



218
219
220
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 218

def financialInstitutionContactAndAddress
  @financialInstitutionContactAndAddress
end

#referenceIndicatorObject

Returns the value of attribute referenceIndicator.



220
221
222
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 220

def referenceIndicator
  @referenceIndicator
end

#remitToNameObject

Returns the value of attribute remitToName.



219
220
221
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 219

def remitToName
  @remitToName
end

#returnTrackingIdObject

Returns the value of attribute returnTrackingId.



221
222
223
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 221

def returnTrackingId
  @returnTrackingId
end