Class: ShipmentRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/g4s/shipping/default.rb,
lib/g4s/tracking/default.rb

Overview

/ShipmentRequest

commodityCollection - ArrayOfCommodityList
carrierName - SOAP::SOAPString
shipmentDate - SOAP::SOAPDateTime
billFreightTo - SOAP::SOAPString
serviceLevelName - SOAP::SOAPString
packageTypeName - SOAP::SOAPString
declaredWeight - SOAP::SOAPDouble
declareValue - SOAP::SOAPDouble
weightType - SOAP::SOAPString
description - SOAP::SOAPString
dimensions - SOAP::SOAPString
dimensionUnitType - SOAP::SOAPString
thermalPrinter - SOAP::SOAPBoolean
sEDNumber - SOAP::SOAPString
dutiesPayorType - SOAP::SOAPString
recipientAddress - Address
saveNewRecipientAddress - SOAP::SOAPBoolean
shipperAddress - Address
cODAmount - SOAP::SOAPDouble
holdAtLocation - SOAP::SOAPBoolean
schedulePickup - SOAP::SOAPBoolean
schedulePickupLocation - SchedulePickup
cODInfo - COD
holdAtLocationInfo - HoldAtLocation
purchaseOrderNumber - SOAP::SOAPString
salesOrderNumber - SOAP::SOAPString
brokerInfo - BrokerInfo
recipientShipNotification - SOAP::SOAPBoolean
receiveAlerts - SOAP::SOAPBoolean
saturdayDelivery - SOAP::SOAPBoolean
saturdayPickup - SOAP::SOAPBoolean
residential - SOAP::SOAPBoolean
signatureOption - SOAP::SOAPString
recipientAlertEmail - SOAP::SOAPString
recipientDeliveryNotification - SOAP::SOAPBoolean
recipientExceptionNotification - SOAP::SOAPBoolean
shipperShipNotification - SOAP::SOAPBoolean
shipperDeliveryNotification - SOAP::SOAPBoolean
shipperExceptionNotification - SOAP::SOAPBoolean
restrictedWordsCompliance - SOAP::SOAPBoolean
trackingNumber - SOAP::SOAPString

Direct Known Subclasses

TrackingResponse

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(commodityCollection = nil, carrierName = nil, shipmentDate = nil, billFreightTo = nil, serviceLevelName = nil, packageTypeName = nil, declaredWeight = nil, declareValue = nil, weightType = nil, description = nil, dimensions = nil, dimensionUnitType = nil, thermalPrinter = nil, sEDNumber = nil, dutiesPayorType = nil, recipientAddress = nil, saveNewRecipientAddress = nil, shipperAddress = nil, cODAmount = nil, holdAtLocation = nil, schedulePickup = nil, schedulePickupLocation = nil, cODInfo = nil, holdAtLocationInfo = nil, purchaseOrderNumber = nil, salesOrderNumber = nil, brokerInfo = nil, recipientShipNotification = nil, receiveAlerts = nil, saturdayDelivery = nil, saturdayPickup = nil, residential = nil, signatureOption = nil, recipientAlertEmail = nil, recipientDeliveryNotification = nil, recipientExceptionNotification = nil, shipperShipNotification = nil, shipperDeliveryNotification = nil, shipperExceptionNotification = nil, restrictedWordsCompliance = nil, trackingNumber = nil) ⇒ ShipmentRequest

Returns a new instance of ShipmentRequest.



143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
# File 'lib/g4s/shipping/default.rb', line 143

def initialize(commodityCollection = nil, carrierName = nil, shipmentDate = nil, billFreightTo = nil, serviceLevelName = nil, packageTypeName = nil, declaredWeight = nil, declareValue = nil, weightType = nil, description = nil, dimensions = nil, dimensionUnitType = nil, thermalPrinter = nil, sEDNumber = nil, dutiesPayorType = nil, recipientAddress = nil, saveNewRecipientAddress = nil, shipperAddress = nil, cODAmount = nil, holdAtLocation = nil, schedulePickup = nil, schedulePickupLocation = nil, cODInfo = nil, holdAtLocationInfo = nil, purchaseOrderNumber = nil, salesOrderNumber = nil, brokerInfo = nil, recipientShipNotification = nil, receiveAlerts = nil, saturdayDelivery = nil, saturdayPickup = nil, residential = nil, signatureOption = nil, recipientAlertEmail = nil, recipientDeliveryNotification = nil, recipientExceptionNotification = nil, shipperShipNotification = nil, shipperDeliveryNotification = nil, shipperExceptionNotification = nil, restrictedWordsCompliance = nil, trackingNumber = nil)
  @commodityCollection = commodityCollection
  @carrierName = carrierName
  @shipmentDate = shipmentDate
  @billFreightTo = billFreightTo
  @serviceLevelName = serviceLevelName
  @packageTypeName = packageTypeName
  @declaredWeight = declaredWeight
  @declareValue = declareValue
  @weightType = weightType
  @description = description
  @dimensions = dimensions
  @dimensionUnitType = dimensionUnitType
  @thermalPrinter = thermalPrinter
  @sEDNumber = sEDNumber
  @dutiesPayorType = dutiesPayorType
  @recipientAddress = recipientAddress
  @saveNewRecipientAddress = saveNewRecipientAddress
  @shipperAddress = shipperAddress
  @cODAmount = cODAmount
  @holdAtLocation = holdAtLocation
  @schedulePickup = schedulePickup
  @schedulePickupLocation = schedulePickupLocation
  @cODInfo = cODInfo
  @holdAtLocationInfo = holdAtLocationInfo
  @purchaseOrderNumber = purchaseOrderNumber
  @salesOrderNumber = salesOrderNumber
  @brokerInfo = brokerInfo
  @recipientShipNotification = recipientShipNotification
  @receiveAlerts = receiveAlerts
  @saturdayDelivery = saturdayDelivery
  @saturdayPickup = saturdayPickup
  @residential = residential
  @signatureOption = signatureOption
  @recipientAlertEmail = recipientAlertEmail
  @recipientDeliveryNotification = recipientDeliveryNotification
  @recipientExceptionNotification = recipientExceptionNotification
  @shipperShipNotification = shipperShipNotification
  @shipperDeliveryNotification = shipperDeliveryNotification
  @shipperExceptionNotification = shipperExceptionNotification
  @restrictedWordsCompliance = restrictedWordsCompliance
  @trackingNumber = trackingNumber
end

Instance Attribute Details

#billFreightToObject

Returns the value of attribute billFreightTo.



104
105
106
# File 'lib/g4s/shipping/default.rb', line 104

def billFreightTo
  @billFreightTo
end

#brokerInfoObject

Returns the value of attribute brokerInfo.



127
128
129
# File 'lib/g4s/shipping/default.rb', line 127

def brokerInfo
  @brokerInfo
end

#carrierNameObject

Returns the value of attribute carrierName.



102
103
104
# File 'lib/g4s/shipping/default.rb', line 102

def carrierName
  @carrierName
end

#cODAmountObject

Returns the value of attribute cODAmount.



119
120
121
# File 'lib/g4s/shipping/default.rb', line 119

def cODAmount
  @cODAmount
end

#cODInfoObject

Returns the value of attribute cODInfo.



123
124
125
# File 'lib/g4s/shipping/default.rb', line 123

def cODInfo
  @cODInfo
end

#commodityCollectionObject

Returns the value of attribute commodityCollection.



101
102
103
# File 'lib/g4s/shipping/default.rb', line 101

def commodityCollection
  @commodityCollection
end

#declaredWeightObject

Returns the value of attribute declaredWeight.



107
108
109
# File 'lib/g4s/shipping/default.rb', line 107

def declaredWeight
  @declaredWeight
end

#declareValueObject

Returns the value of attribute declareValue.



108
109
110
# File 'lib/g4s/shipping/default.rb', line 108

def declareValue
  @declareValue
end

#descriptionObject

Returns the value of attribute description.



110
111
112
# File 'lib/g4s/shipping/default.rb', line 110

def description
  @description
end

#dimensionsObject

Returns the value of attribute dimensions.



111
112
113
# File 'lib/g4s/shipping/default.rb', line 111

def dimensions
  @dimensions
end

#dimensionUnitTypeObject

Returns the value of attribute dimensionUnitType.



112
113
114
# File 'lib/g4s/shipping/default.rb', line 112

def dimensionUnitType
  @dimensionUnitType
end

#dutiesPayorTypeObject

Returns the value of attribute dutiesPayorType.



115
116
117
# File 'lib/g4s/shipping/default.rb', line 115

def dutiesPayorType
  @dutiesPayorType
end

#holdAtLocationObject

Returns the value of attribute holdAtLocation.



120
121
122
# File 'lib/g4s/shipping/default.rb', line 120

def holdAtLocation
  @holdAtLocation
end

#holdAtLocationInfoObject

Returns the value of attribute holdAtLocationInfo.



124
125
126
# File 'lib/g4s/shipping/default.rb', line 124

def holdAtLocationInfo
  @holdAtLocationInfo
end

#packageTypeNameObject

Returns the value of attribute packageTypeName.



106
107
108
# File 'lib/g4s/shipping/default.rb', line 106

def packageTypeName
  @packageTypeName
end

#purchaseOrderNumberObject

Returns the value of attribute purchaseOrderNumber.



125
126
127
# File 'lib/g4s/shipping/default.rb', line 125

def purchaseOrderNumber
  @purchaseOrderNumber
end

#receiveAlertsObject

Returns the value of attribute receiveAlerts.



129
130
131
# File 'lib/g4s/shipping/default.rb', line 129

def receiveAlerts
  @receiveAlerts
end

#recipientAddressObject

Returns the value of attribute recipientAddress.



116
117
118
# File 'lib/g4s/shipping/default.rb', line 116

def recipientAddress
  @recipientAddress
end

#recipientAlertEmailObject

Returns the value of attribute recipientAlertEmail.



134
135
136
# File 'lib/g4s/shipping/default.rb', line 134

def recipientAlertEmail
  @recipientAlertEmail
end

#recipientDeliveryNotificationObject

Returns the value of attribute recipientDeliveryNotification.



135
136
137
# File 'lib/g4s/shipping/default.rb', line 135

def recipientDeliveryNotification
  @recipientDeliveryNotification
end

#recipientExceptionNotificationObject

Returns the value of attribute recipientExceptionNotification.



136
137
138
# File 'lib/g4s/shipping/default.rb', line 136

def recipientExceptionNotification
  @recipientExceptionNotification
end

#recipientShipNotificationObject

Returns the value of attribute recipientShipNotification.



128
129
130
# File 'lib/g4s/shipping/default.rb', line 128

def recipientShipNotification
  @recipientShipNotification
end

#residentialObject

Returns the value of attribute residential.



132
133
134
# File 'lib/g4s/shipping/default.rb', line 132

def residential
  @residential
end

#restrictedWordsComplianceObject

Returns the value of attribute restrictedWordsCompliance.



140
141
142
# File 'lib/g4s/shipping/default.rb', line 140

def restrictedWordsCompliance
  @restrictedWordsCompliance
end

#salesOrderNumberObject

Returns the value of attribute salesOrderNumber.



126
127
128
# File 'lib/g4s/shipping/default.rb', line 126

def salesOrderNumber
  @salesOrderNumber
end

#saturdayDeliveryObject

Returns the value of attribute saturdayDelivery.



130
131
132
# File 'lib/g4s/shipping/default.rb', line 130

def saturdayDelivery
  @saturdayDelivery
end

#saturdayPickupObject

Returns the value of attribute saturdayPickup.



131
132
133
# File 'lib/g4s/shipping/default.rb', line 131

def saturdayPickup
  @saturdayPickup
end

#saveNewRecipientAddressObject

Returns the value of attribute saveNewRecipientAddress.



117
118
119
# File 'lib/g4s/shipping/default.rb', line 117

def saveNewRecipientAddress
  @saveNewRecipientAddress
end

#schedulePickupObject

Returns the value of attribute schedulePickup.



121
122
123
# File 'lib/g4s/shipping/default.rb', line 121

def schedulePickup
  @schedulePickup
end

#schedulePickupLocationObject

Returns the value of attribute schedulePickupLocation.



122
123
124
# File 'lib/g4s/shipping/default.rb', line 122

def schedulePickupLocation
  @schedulePickupLocation
end

#sEDNumberObject

Returns the value of attribute sEDNumber.



114
115
116
# File 'lib/g4s/shipping/default.rb', line 114

def sEDNumber
  @sEDNumber
end

#serviceLevelNameObject

Returns the value of attribute serviceLevelName.



105
106
107
# File 'lib/g4s/shipping/default.rb', line 105

def serviceLevelName
  @serviceLevelName
end

#shipmentDateObject

Returns the value of attribute shipmentDate.



103
104
105
# File 'lib/g4s/shipping/default.rb', line 103

def shipmentDate
  @shipmentDate
end

#shipperAddressObject

Returns the value of attribute shipperAddress.



118
119
120
# File 'lib/g4s/shipping/default.rb', line 118

def shipperAddress
  @shipperAddress
end

#shipperDeliveryNotificationObject

Returns the value of attribute shipperDeliveryNotification.



138
139
140
# File 'lib/g4s/shipping/default.rb', line 138

def shipperDeliveryNotification
  @shipperDeliveryNotification
end

#shipperExceptionNotificationObject

Returns the value of attribute shipperExceptionNotification.



139
140
141
# File 'lib/g4s/shipping/default.rb', line 139

def shipperExceptionNotification
  @shipperExceptionNotification
end

#shipperShipNotificationObject

Returns the value of attribute shipperShipNotification.



137
138
139
# File 'lib/g4s/shipping/default.rb', line 137

def shipperShipNotification
  @shipperShipNotification
end

#signatureOptionObject

Returns the value of attribute signatureOption.



133
134
135
# File 'lib/g4s/shipping/default.rb', line 133

def signatureOption
  @signatureOption
end

#thermalPrinterObject

Returns the value of attribute thermalPrinter.



113
114
115
# File 'lib/g4s/shipping/default.rb', line 113

def thermalPrinter
  @thermalPrinter
end

#trackingNumberObject

Returns the value of attribute trackingNumber.



141
142
143
# File 'lib/g4s/shipping/default.rb', line 141

def trackingNumber
  @trackingNumber
end

#weightTypeObject

Returns the value of attribute weightType.



109
110
111
# File 'lib/g4s/shipping/default.rb', line 109

def weightType
  @weightType
end