Class: FedexWebServices::Soap::Rate::CommercialInvoice

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

Overview

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

comments - SOAP::SOAPString
freightCharge - FedexWebServices::Soap::Rate::Money
taxesOrMiscellaneousCharge - FedexWebServices::Soap::Rate::Money
taxesOrMiscellaneousChargeType - FedexWebServices::Soap::Rate::TaxesOrMiscellaneousChargeType
packingCosts - FedexWebServices::Soap::Rate::Money
handlingCosts - FedexWebServices::Soap::Rate::Money
specialInstructions - SOAP::SOAPString
declarationStatement - SOAP::SOAPString
paymentTerms - SOAP::SOAPString
purpose - FedexWebServices::Soap::Rate::PurposeOfShipmentType
originatorName - SOAP::SOAPString
termsOfSale - FedexWebServices::Soap::Rate::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, originatorName = nil, termsOfSale = nil) ⇒ CommercialInvoice

Returns a new instance of CommercialInvoice.



174
175
176
177
178
179
180
181
182
183
184
185
186
187
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 174

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

Instance Attribute Details

#commentsObject

Returns the value of attribute comments.



161
162
163
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 161

def comments
  @comments
end

#declarationStatementObject

Returns the value of attribute declarationStatement.



168
169
170
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 168

def declarationStatement
  @declarationStatement
end

#freightChargeObject

Returns the value of attribute freightCharge.



162
163
164
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 162

def freightCharge
  @freightCharge
end

#handlingCostsObject

Returns the value of attribute handlingCosts.



166
167
168
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 166

def handlingCosts
  @handlingCosts
end

#originatorNameObject

Returns the value of attribute originatorName.



171
172
173
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 171

def originatorName
  @originatorName
end

#packingCostsObject

Returns the value of attribute packingCosts.



165
166
167
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 165

def packingCosts
  @packingCosts
end

#paymentTermsObject

Returns the value of attribute paymentTerms.



169
170
171
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 169

def paymentTerms
  @paymentTerms
end

#purposeObject

Returns the value of attribute purpose.



170
171
172
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 170

def purpose
  @purpose
end

#specialInstructionsObject

Returns the value of attribute specialInstructions.



167
168
169
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 167

def specialInstructions
  @specialInstructions
end

#taxesOrMiscellaneousChargeObject

Returns the value of attribute taxesOrMiscellaneousCharge.



163
164
165
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 163

def taxesOrMiscellaneousCharge
  @taxesOrMiscellaneousCharge
end

#taxesOrMiscellaneousChargeTypeObject

Returns the value of attribute taxesOrMiscellaneousChargeType.



164
165
166
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 164

def taxesOrMiscellaneousChargeType
  @taxesOrMiscellaneousChargeType
end

#termsOfSaleObject

Returns the value of attribute termsOfSale.



172
173
174
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 172

def termsOfSale
  @termsOfSale
end