Class: ShipEngine::Domain::Rates::GetWithShipmentDetails::Response::AdvancedOptions
- Inherits:
-
Object
- Object
- ShipEngine::Domain::Rates::GetWithShipmentDetails::Response::AdvancedOptions
- Defined in:
- lib/shipengine/domain/rates/get_with_shipment_details.rb
Defined Under Namespace
Classes: CollectOnDelivery
Instance Attribute Summary collapse
-
#bill_to_account ⇒ Object
readonly
Returns the value of attribute bill_to_account.
-
#bill_to_country_code ⇒ Object
readonly
Returns the value of attribute bill_to_country_code.
-
#bill_to_party ⇒ Object
readonly
Returns the value of attribute bill_to_party.
-
#bill_to_postal_code ⇒ Object
readonly
Returns the value of attribute bill_to_postal_code.
-
#collect_on_delivery ⇒ Object
readonly
Returns the value of attribute collect_on_delivery.
-
#contains_alcohol ⇒ Object
readonly
Returns the value of attribute contains_alcohol.
-
#custom_field1 ⇒ Object
readonly
Returns the value of attribute custom_field1.
-
#custom_field2 ⇒ Object
readonly
Returns the value of attribute custom_field2.
-
#custom_field3 ⇒ Object
readonly
Returns the value of attribute custom_field3.
-
#delivered_duty_paid ⇒ Object
readonly
Returns the value of attribute delivered_duty_paid.
-
#dry_ice ⇒ Object
readonly
Returns the value of attribute dry_ice.
-
#dry_ice_weight ⇒ Object
readonly
Returns the value of attribute dry_ice_weight.
-
#freight_class ⇒ Object
readonly
Returns the value of attribute freight_class.
-
#non_machinable ⇒ Object
readonly
Returns the value of attribute non_machinable.
-
#origin_type ⇒ Object
readonly
Returns the value of attribute origin_type.
-
#saturday_delivery ⇒ Object
readonly
Returns the value of attribute saturday_delivery.
-
#shipper_release ⇒ Object
readonly
Returns the value of attribute shipper_release.
-
#use_ups_ground_freight_pricing ⇒ Object
readonly
Returns the value of attribute use_ups_ground_freight_pricing.
Instance Method Summary collapse
-
#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
constructor
rubocop:todo Metrics/ParameterLists.
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_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_account ⇒ Object (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 @bill_to_account end |
#bill_to_country_code ⇒ Object (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_party ⇒ Object (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_code ⇒ Object (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_delivery ⇒ Object (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_alcohol ⇒ Object (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_field1 ⇒ Object (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_field2 ⇒ Object (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_field3 ⇒ Object (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_paid ⇒ Object (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_ice ⇒ Object (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_weight ⇒ Object (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_class ⇒ Object (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_machinable ⇒ Object (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_type ⇒ Object (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_delivery ⇒ Object (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_release ⇒ Object (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_pricing ⇒ Object (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 |