Class: ShipEngine::Domain::Rates::GetWithShipmentDetails::Response::AdvancedOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/shipengine/domain/rates/get_with_shipment_details.rb

Defined Under Namespace

Classes: CollectOnDelivery

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bill_to_account:, bill_to_country_code:, bill_to_party:, bill_to_postal_code:, contains_alcohol:, delivered_duty_paid:, dry_ice:, dry_ice_weight:, non_machinable:, saturday_delivery:, use_ups_ground_freight_pricing:, freight_class:, custom_field1:, custom_field2:, custom_field3:, origin_type:, shipper_release:, collect_on_delivery:) ⇒ AdvancedOptions

rubocop:todo Metrics/ParameterLists



191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 191

def initialize(bill_to_account:, bill_to_country_code:, bill_to_party:, bill_to_postal_code:, contains_alcohol:, delivered_duty_paid:, dry_ice:, dry_ice_weight:, non_machinable:, saturday_delivery:, use_ups_ground_freight_pricing:, freight_class:, custom_field1:, custom_field2:,
               custom_field3:, origin_type:, shipper_release:, collect_on_delivery:)
  # rubocop:enable Metrics/ParameterLists
  @bill_to_account = 
  @bill_to_country_code = bill_to_country_code
  @bill_to_party = bill_to_party
  @bill_to_postal_code = bill_to_postal_code
  @contains_alcohol = contains_alcohol
  @delivered_duty_paid = delivered_duty_paid
  @dry_ice = dry_ice
  @dry_ice_weight = dry_ice_weight
  @non_machinable = non_machinable
  @saturday_delivery = saturday_delivery
  @use_ups_ground_freight_pricing = use_ups_ground_freight_pricing
  @freight_class = freight_class
  @custom_field1 = custom_field1
  @custom_field2 = custom_field2
  @custom_field3 = custom_field3
  @origin_type = origin_type
  @shipper_release = shipper_release
  @collect_on_delivery = collect_on_delivery
end

Instance Attribute Details

#bill_to_accountObject (readonly)

Returns the value of attribute bill_to_account.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def 
  @bill_to_account
end

#bill_to_country_codeObject (readonly)

Returns the value of attribute bill_to_country_code.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def bill_to_country_code
  @bill_to_country_code
end

#bill_to_partyObject (readonly)

Returns the value of attribute bill_to_party.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def bill_to_party
  @bill_to_party
end

#bill_to_postal_codeObject (readonly)

Returns the value of attribute bill_to_postal_code.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def bill_to_postal_code
  @bill_to_postal_code
end

#collect_on_deliveryObject (readonly)

Returns the value of attribute collect_on_delivery.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def collect_on_delivery
  @collect_on_delivery
end

#contains_alcoholObject (readonly)

Returns the value of attribute contains_alcohol.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def contains_alcohol
  @contains_alcohol
end

#custom_field1Object (readonly)

Returns the value of attribute custom_field1.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def custom_field1
  @custom_field1
end

#custom_field2Object (readonly)

Returns the value of attribute custom_field2.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def custom_field2
  @custom_field2
end

#custom_field3Object (readonly)

Returns the value of attribute custom_field3.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def custom_field3
  @custom_field3
end

#delivered_duty_paidObject (readonly)

Returns the value of attribute delivered_duty_paid.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def delivered_duty_paid
  @delivered_duty_paid
end

#dry_iceObject (readonly)

Returns the value of attribute dry_ice.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def dry_ice
  @dry_ice
end

#dry_ice_weightObject (readonly)

Returns the value of attribute dry_ice_weight.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def dry_ice_weight
  @dry_ice_weight
end

#freight_classObject (readonly)

Returns the value of attribute freight_class.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def freight_class
  @freight_class
end

#non_machinableObject (readonly)

Returns the value of attribute non_machinable.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def non_machinable
  @non_machinable
end

#origin_typeObject (readonly)

Returns the value of attribute origin_type.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def origin_type
  @origin_type
end

#saturday_deliveryObject (readonly)

Returns the value of attribute saturday_delivery.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def saturday_delivery
  @saturday_delivery
end

#shipper_releaseObject (readonly)

Returns the value of attribute shipper_release.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def shipper_release
  @shipper_release
end

#use_ups_ground_freight_pricingObject (readonly)

Returns the value of attribute use_ups_ground_freight_pricing.



171
172
173
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 171

def use_ups_ground_freight_pricing
  @use_ups_ground_freight_pricing
end