Class: FedexWebServices::Soap::Ship::CommercialInvoice

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

Overview

http://fedex.com/ws/ship/v12CommercialInvoice comments - SOAP::SOAPString freightCharge - FedexWebServices::Soap::Ship::Money taxesOrMiscellaneousCharge - FedexWebServices::Soap::Ship::Money taxesOrMiscellaneousChargeType - FedexWebServices::Soap::Ship::TaxesOrMiscellaneousChargeType packingCosts - FedexWebServices::Soap::Ship::Money handlingCosts - FedexWebServices::Soap::Ship::Money specialInstructions - SOAP::SOAPString declarationStatement - SOAP::SOAPString paymentTerms - SOAP::SOAPString purpose - FedexWebServices::Soap::Ship::PurposeOfShipmentType customerReferences - FedexWebServices::Soap::Ship::CustomerReference originatorName - SOAP::SOAPString termsOfSale - FedexWebServices::Soap::Ship::TermsOfSaleType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(comments = [], freightCharge = nil, taxesOrMiscellaneousCharge = nil, taxesOrMiscellaneousChargeType = nil, packingCosts = nil, handlingCosts = nil, specialInstructions = nil, declarationStatement = nil, paymentTerms = nil, purpose = nil, customerReferences = [], originatorName = nil, termsOfSale = nil) ⇒ CommercialInvoice

Returns a new instance of CommercialInvoice.



286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 286

def initialize(comments = [], freightCharge = nil, taxesOrMiscellaneousCharge = nil, taxesOrMiscellaneousChargeType = nil, packingCosts = nil, handlingCosts = nil, specialInstructions = nil, declarationStatement = nil, paymentTerms = nil, purpose = nil, customerReferences = [], originatorName = nil, termsOfSale = nil)
  @comments = comments
  @freightCharge = freightCharge
  @taxesOrMiscellaneousCharge = taxesOrMiscellaneousCharge
  @taxesOrMiscellaneousChargeType = taxesOrMiscellaneousChargeType
  @packingCosts = packingCosts
  @handlingCosts = handlingCosts
  @specialInstructions = specialInstructions
  @declarationStatement = declarationStatement
  @paymentTerms = paymentTerms
  @purpose = purpose
  @customerReferences = customerReferences
  @originatorName = originatorName
  @termsOfSale = termsOfSale
end

Instance Attribute Details

#comments ⇒ Object

Returns the value of attribute comments.



272
273
274
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 272

def comments
  @comments
end

#customerReferences ⇒ Object

Returns the value of attribute customerReferences.



282
283
284
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 282

def customerReferences
  @customerReferences
end

#declarationStatement ⇒ Object

Returns the value of attribute declarationStatement.



279
280
281
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 279

def declarationStatement
  @declarationStatement
end

#freightCharge ⇒ Object

Returns the value of attribute freightCharge.



273
274
275
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 273

def freightCharge
  @freightCharge
end

#handlingCosts ⇒ Object

Returns the value of attribute handlingCosts.



277
278
279
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 277

def handlingCosts
  @handlingCosts
end

#originatorName ⇒ Object

Returns the value of attribute originatorName.



283
284
285
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 283

def originatorName
  @originatorName
end

#packingCosts ⇒ Object

Returns the value of attribute packingCosts.



276
277
278
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 276

def packingCosts
  @packingCosts
end

#paymentTerms ⇒ Object

Returns the value of attribute paymentTerms.



280
281
282
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 280

def paymentTerms
  @paymentTerms
end

#purpose ⇒ Object

Returns the value of attribute purpose.



281
282
283
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 281

def purpose
  @purpose
end

#specialInstructions ⇒ Object

Returns the value of attribute specialInstructions.



278
279
280
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 278

def specialInstructions
  @specialInstructions
end

#taxesOrMiscellaneousCharge ⇒ Object

Returns the value of attribute taxesOrMiscellaneousCharge.



274
275
276
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 274

def taxesOrMiscellaneousCharge
  @taxesOrMiscellaneousCharge
end

#taxesOrMiscellaneousChargeType ⇒ Object

Returns the value of attribute taxesOrMiscellaneousChargeType.



275
276
277
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 275

def taxesOrMiscellaneousChargeType
  @taxesOrMiscellaneousChargeType
end

#termsOfSale ⇒ Object

Returns the value of attribute termsOfSale.



284
285
286
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 284

def termsOfSale
  @termsOfSale
end