Class: FedexWebServices::Soap::Rate::ShippingDocumentSpecification

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

Overview

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

shippingDocumentTypes - FedexWebServices::Soap::Rate::RequestedShippingDocumentType
certificateOfOrigin - FedexWebServices::Soap::Rate::CertificateOfOriginDetail
commercialInvoiceDetail - FedexWebServices::Soap::Rate::CommercialInvoiceDetail
customPackageDocumentDetail - FedexWebServices::Soap::Rate::CustomDocumentDetail
customShipmentDocumentDetail - FedexWebServices::Soap::Rate::CustomDocumentDetail
generalAgencyAgreementDetail - FedexWebServices::Soap::Rate::GeneralAgencyAgreementDetail
naftaCertificateOfOriginDetail - FedexWebServices::Soap::Rate::NaftaCertificateOfOriginDetail
op900Detail - FedexWebServices::Soap::Rate::Op900Detail
dangerousGoodsShippersDeclarationDetail - FedexWebServices::Soap::Rate::DangerousGoodsShippersDeclarationDetail
returnInstructionsDetail - FedexWebServices::Soap::Rate::ReturnInstructionsDetail

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(shippingDocumentTypes = [], certificateOfOrigin = nil, commercialInvoiceDetail = nil, customPackageDocumentDetail = [], customShipmentDocumentDetail = [], generalAgencyAgreementDetail = nil, naftaCertificateOfOriginDetail = nil, op900Detail = nil, dangerousGoodsShippersDeclarationDetail = nil, returnInstructionsDetail = nil) ⇒ ShippingDocumentSpecification

Returns a new instance of ShippingDocumentSpecification.



2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2839

def initialize(shippingDocumentTypes = [], certificateOfOrigin = nil, commercialInvoiceDetail = nil, customPackageDocumentDetail = [], customShipmentDocumentDetail = [], generalAgencyAgreementDetail = nil, naftaCertificateOfOriginDetail = nil, op900Detail = nil, dangerousGoodsShippersDeclarationDetail = nil, returnInstructionsDetail = nil)
  @shippingDocumentTypes = shippingDocumentTypes
  @certificateOfOrigin = certificateOfOrigin
  @commercialInvoiceDetail = commercialInvoiceDetail
  @customPackageDocumentDetail = customPackageDocumentDetail
  @customShipmentDocumentDetail = customShipmentDocumentDetail
  @generalAgencyAgreementDetail = generalAgencyAgreementDetail
  @naftaCertificateOfOriginDetail = naftaCertificateOfOriginDetail
  @op900Detail = op900Detail
  @dangerousGoodsShippersDeclarationDetail = dangerousGoodsShippersDeclarationDetail
  @returnInstructionsDetail = returnInstructionsDetail
end

Instance Attribute Details

#certificateOfOriginObject

Returns the value of attribute certificateOfOrigin.



2829
2830
2831
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2829

def certificateOfOrigin
  @certificateOfOrigin
end

#commercialInvoiceDetailObject

Returns the value of attribute commercialInvoiceDetail.



2830
2831
2832
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2830

def commercialInvoiceDetail
  @commercialInvoiceDetail
end

#customPackageDocumentDetailObject

Returns the value of attribute customPackageDocumentDetail.



2831
2832
2833
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2831

def customPackageDocumentDetail
  @customPackageDocumentDetail
end

#customShipmentDocumentDetailObject

Returns the value of attribute customShipmentDocumentDetail.



2832
2833
2834
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2832

def customShipmentDocumentDetail
  @customShipmentDocumentDetail
end

#dangerousGoodsShippersDeclarationDetailObject

Returns the value of attribute dangerousGoodsShippersDeclarationDetail.



2836
2837
2838
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2836

def dangerousGoodsShippersDeclarationDetail
  @dangerousGoodsShippersDeclarationDetail
end

#generalAgencyAgreementDetailObject

Returns the value of attribute generalAgencyAgreementDetail.



2833
2834
2835
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2833

def generalAgencyAgreementDetail
  @generalAgencyAgreementDetail
end

#naftaCertificateOfOriginDetailObject

Returns the value of attribute naftaCertificateOfOriginDetail.



2834
2835
2836
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2834

def naftaCertificateOfOriginDetail
  @naftaCertificateOfOriginDetail
end

#op900DetailObject

Returns the value of attribute op900Detail.



2835
2836
2837
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2835

def op900Detail
  @op900Detail
end

#returnInstructionsDetailObject

Returns the value of attribute returnInstructionsDetail.



2837
2838
2839
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2837

def returnInstructionsDetail
  @returnInstructionsDetail
end

#shippingDocumentTypesObject

Returns the value of attribute shippingDocumentTypes.



2828
2829
2830
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 2828

def shippingDocumentTypes
  @shippingDocumentTypes
end