Class: FedexWebServices::Soap::Ship::CodReturnPackageDetail

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

Overview

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

collectionAmount - FedexWebServices::Soap::Ship::Money
adjustmentType - FedexWebServices::Soap::Ship::CodAdjustmentType
electronic - SOAP::SOAPBoolean
barcodes - FedexWebServices::Soap::Ship::PackageBarcodes
label - FedexWebServices::Soap::Ship::ShippingDocument

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(collectionAmount = nil, adjustmentType = nil, electronic = nil, barcodes = nil, label = nil) ⇒ CodReturnPackageDetail

Returns a new instance of CodReturnPackageDetail.



248
249
250
251
252
253
254
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 248

def initialize(collectionAmount = nil, adjustmentType = nil, electronic = nil, barcodes = nil, label = nil)
  @collectionAmount = collectionAmount
  @adjustmentType = adjustmentType
  @electronic = electronic
  @barcodes = barcodes
  @label = label
end

Instance Attribute Details

#adjustmentTypeObject

Returns the value of attribute adjustmentType.



243
244
245
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 243

def adjustmentType
  @adjustmentType
end

#barcodesObject

Returns the value of attribute barcodes.



245
246
247
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 245

def barcodes
  @barcodes
end

#collectionAmountObject

Returns the value of attribute collectionAmount.



242
243
244
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 242

def collectionAmount
  @collectionAmount
end

#electronicObject

Returns the value of attribute electronic.



244
245
246
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 244

def electronic
  @electronic
end

#labelObject

Returns the value of attribute label.



246
247
248
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 246

def label
  @label
end