Class: Peddler::APIs::MerchantFulfillmentV0::ShippingService

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/merchant_fulfillment_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#adjustment_item_listArray[Peddler::APIs::MerchantFulfillmentV0::RateItem]? (readonly)

Returns the value of attribute adjustment_item_list.



825
826
827
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 825

def adjustment_item_list
  @adjustment_item_list
end

#available_format_options_for_labelArray[Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption]? (readonly)

Returns the value of attribute available_format_options_for_label.



826
827
828
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 826

def available_format_options_for_label
  @available_format_options_for_label
end

#available_label_formatsArray[untyped]? (readonly)

Returns the value of attribute available_label_formats.

Returns:

  • (Array[untyped], nil)


827
828
829
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 827

def available_label_formats
  @available_label_formats
end

#available_shipping_service_optionsPeddler::APIs::MerchantFulfillmentV0::AvailableShippingServiceOptions? (readonly)

Returns the value of attribute available_shipping_service_options.



828
829
830
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 828

def available_shipping_service_options
  @available_shipping_service_options
end

#benefitsPeddler::APIs::MerchantFulfillmentV0::Benefits? (readonly)

Returns the value of attribute benefits.



829
830
831
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 829

def benefits
  @benefits
end

#carrier_nameString (readonly)

Returns the value of attribute carrier_name.

Returns:

  • (String)


830
831
832
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 830

def carrier_name
  @carrier_name
end

#earliest_estimated_delivery_dateString? (readonly)

Returns the value of attribute earliest_estimated_delivery_date.

Returns:

  • (String, nil)


831
832
833
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 831

def earliest_estimated_delivery_date
  @earliest_estimated_delivery_date
end

#latest_estimated_delivery_dateString? (readonly)

Returns the value of attribute latest_estimated_delivery_date.

Returns:

  • (String, nil)


832
833
834
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 832

def latest_estimated_delivery_date
  @latest_estimated_delivery_date
end

#ratePeddler::Money (readonly)

Returns the value of attribute rate.

Returns:



833
834
835
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 833

def rate
  @rate
end

#rate_with_adjustmentsPeddler::Money (readonly)

Returns the value of attribute rate_with_adjustments.

Returns:



834
835
836
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 834

def rate_with_adjustments
  @rate_with_adjustments
end

#requires_additional_seller_inputsBoolean (readonly)

Returns the value of attribute requires_additional_seller_inputs.

Returns:

  • (Boolean)


835
836
837
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 835

def requires_additional_seller_inputs
  @requires_additional_seller_inputs
end

#ship_dateString (readonly)

Returns the value of attribute ship_date.

Returns:

  • (String)


836
837
838
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 836

def ship_date
  @ship_date
end

#shipping_service_idString (readonly)

Returns the value of attribute shipping_service_id.

Returns:

  • (String)


837
838
839
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 837

def shipping_service_id
  @shipping_service_id
end

#shipping_service_nameString (readonly)

Returns the value of attribute shipping_service_name.

Returns:

  • (String)


838
839
840
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 838

def shipping_service_name
  @shipping_service_name
end

#shipping_service_offer_idString (readonly)

Returns the value of attribute shipping_service_offer_id.

Returns:

  • (String)


839
840
841
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 839

def shipping_service_offer_id
  @shipping_service_offer_id
end

#shipping_service_optionsPeddler::APIs::MerchantFulfillmentV0::ShippingServiceOptions (readonly)

Returns the value of attribute shipping_service_options.



840
841
842
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 840

def shipping_service_options
  @shipping_service_options
end

Class Method Details

.[](carrier_name:, rate:, rate_with_adjustments:, requires_additional_seller_inputs:, ship_date:, shipping_service_id:, shipping_service_name:, shipping_service_offer_id:, shipping_service_options:, adjustment_item_list:, available_format_options_for_label:, available_label_formats:, available_shipping_service_options:, benefits:, earliest_estimated_delivery_date:, latest_estimated_delivery_date:) ⇒ Peddler::APIs::MerchantFulfillmentV0::ShippingService .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) ⇒ Peddler::APIs::MerchantFulfillmentV0::ShippingService

Overloads:



818
819
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 818

def self.[]: (carrier_name: String, rate: Peddler::Money, rate_with_adjustments: Peddler::Money, requires_additional_seller_inputs: bool, ship_date: String, shipping_service_id: String, shipping_service_name: String, shipping_service_offer_id: String, shipping_service_options: Peddler::APIs::MerchantFulfillmentV0::ShippingServiceOptions, ?adjustment_item_list: Array[Peddler::APIs::MerchantFulfillmentV0::RateItem]?, ?available_format_options_for_label: Array[Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption]?, ?available_label_formats: Array[untyped]?, ?available_shipping_service_options: Peddler::APIs::MerchantFulfillmentV0::AvailableShippingServiceOptions?, ?benefits: Peddler::APIs::MerchantFulfillmentV0::Benefits?, ?earliest_estimated_delivery_date: String?, ?latest_estimated_delivery_date: String?) -> Peddler::APIs::MerchantFulfillmentV0::ShippingService
| (String, Peddler::Money, Peddler::Money, bool, String, String, String, String, Peddler::APIs::MerchantFulfillmentV0::ShippingServiceOptions, Array[Peddler::APIs::MerchantFulfillmentV0::RateItem]?, Array[Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption]?, Array[untyped]?, Peddler::APIs::MerchantFulfillmentV0::AvailableShippingServiceOptions?, Peddler::APIs::MerchantFulfillmentV0::Benefits?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::ShippingService

.members[ :carrier_name, :rate, :rate_with_adjustments, :requires_additional_seller_inputs, :ship_date, :shipping_service_id, :shipping_service_name, :shipping_service_offer_id, :shipping_service_options, :adjustment_item_list, :available_format_options_for_label, :available_label_formats, :available_shipping_service_options, :benefits, :earliest_estimated_delivery_date, :latest_estimated_delivery_date ]

Returns:

  • ([ :carrier_name, :rate, :rate_with_adjustments, :requires_additional_seller_inputs, :ship_date, :shipping_service_id, :shipping_service_name, :shipping_service_offer_id, :shipping_service_options, :adjustment_item_list, :available_format_options_for_label, :available_label_formats, :available_shipping_service_options, :benefits, :earliest_estimated_delivery_date, :latest_estimated_delivery_date ])


821
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 821

def self.members: () -> [ :carrier_name, :rate, :rate_with_adjustments, :requires_additional_seller_inputs, :ship_date, :shipping_service_id, :shipping_service_name, :shipping_service_offer_id, :shipping_service_options, :adjustment_item_list, :available_format_options_for_label, :available_label_formats, :available_shipping_service_options, :benefits, :earliest_estimated_delivery_date, :latest_estimated_delivery_date ]

.new(carrier_name:, rate:, rate_with_adjustments:, requires_additional_seller_inputs:, ship_date:, shipping_service_id:, shipping_service_name:, shipping_service_offer_id:, shipping_service_options:, adjustment_item_list:, available_format_options_for_label:, available_label_formats:, available_shipping_service_options:, benefits:, earliest_estimated_delivery_date:, latest_estimated_delivery_date:) ⇒ Peddler::APIs::MerchantFulfillmentV0::ShippingService .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) ⇒ Peddler::APIs::MerchantFulfillmentV0::ShippingService

Overloads:



816
817
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 816

def self.new: (carrier_name: String, rate: Peddler::Money, rate_with_adjustments: Peddler::Money, requires_additional_seller_inputs: bool, ship_date: String, shipping_service_id: String, shipping_service_name: String, shipping_service_offer_id: String, shipping_service_options: Peddler::APIs::MerchantFulfillmentV0::ShippingServiceOptions, ?adjustment_item_list: Array[Peddler::APIs::MerchantFulfillmentV0::RateItem]?, ?available_format_options_for_label: Array[Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption]?, ?available_label_formats: Array[untyped]?, ?available_shipping_service_options: Peddler::APIs::MerchantFulfillmentV0::AvailableShippingServiceOptions?, ?benefits: Peddler::APIs::MerchantFulfillmentV0::Benefits?, ?earliest_estimated_delivery_date: String?, ?latest_estimated_delivery_date: String?) -> Peddler::APIs::MerchantFulfillmentV0::ShippingService
| (String, Peddler::Money, Peddler::Money, bool, String, String, String, String, Peddler::APIs::MerchantFulfillmentV0::ShippingServiceOptions, Array[Peddler::APIs::MerchantFulfillmentV0::RateItem]?, Array[Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption]?, Array[untyped]?, Peddler::APIs::MerchantFulfillmentV0::AvailableShippingServiceOptions?, Peddler::APIs::MerchantFulfillmentV0::Benefits?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::ShippingService

.parsePeddler::APIs::MerchantFulfillmentV0::ShippingService

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



823
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 823

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MerchantFulfillmentV0::ShippingService

Instance Method Details

#members[ :carrier_name, :rate, :rate_with_adjustments, :requires_additional_seller_inputs, :ship_date, :shipping_service_id, :shipping_service_name, :shipping_service_offer_id, :shipping_service_options, :adjustment_item_list, :available_format_options_for_label, :available_label_formats, :available_shipping_service_options, :benefits, :earliest_estimated_delivery_date, :latest_estimated_delivery_date ]

Returns:

  • ([ :carrier_name, :rate, :rate_with_adjustments, :requires_additional_seller_inputs, :ship_date, :shipping_service_id, :shipping_service_name, :shipping_service_offer_id, :shipping_service_options, :adjustment_item_list, :available_format_options_for_label, :available_label_formats, :available_shipping_service_options, :benefits, :earliest_estimated_delivery_date, :latest_estimated_delivery_date ])


842
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 842

def members: () -> [ :carrier_name, :rate, :rate_with_adjustments, :requires_additional_seller_inputs, :ship_date, :shipping_service_id, :shipping_service_name, :shipping_service_offer_id, :shipping_service_options, :adjustment_item_list, :available_format_options_for_label, :available_label_formats, :available_shipping_service_options, :benefits, :earliest_estimated_delivery_date, :latest_estimated_delivery_date ]

#requires_additional_seller_inputs?Boolean

Returns:

  • (Boolean)


843
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 843

def requires_additional_seller_inputs?: () -> bool

#to_h{ carrier_name: String, rate: Peddler::Money, rate_with_adjustments: Peddler::Money, requires_additional_seller_inputs: bool, ship_date: String, shipping_service_id: String, shipping_service_name: String, shipping_service_offer_id: String, shipping_service_options: Peddler::APIs::MerchantFulfillmentV0::ShippingServiceOptions, adjustment_item_list: Array[Peddler::APIs::MerchantFulfillmentV0::RateItem]?, available_format_options_for_label: Array[Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption]?, available_label_formats: Array[untyped]?, available_shipping_service_options: Peddler::APIs::MerchantFulfillmentV0::AvailableShippingServiceOptions?, benefits: Peddler::APIs::MerchantFulfillmentV0::Benefits?, earliest_estimated_delivery_date: String?, latest_estimated_delivery_date: String? }

Returns:



844
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 844

def to_h: () -> { carrier_name: String, rate: Peddler::Money, rate_with_adjustments: Peddler::Money, requires_additional_seller_inputs: bool, ship_date: String, shipping_service_id: String, shipping_service_name: String, shipping_service_offer_id: String, shipping_service_options: Peddler::APIs::MerchantFulfillmentV0::ShippingServiceOptions, adjustment_item_list: Array[Peddler::APIs::MerchantFulfillmentV0::RateItem]?, available_format_options_for_label: Array[Peddler::APIs::MerchantFulfillmentV0::LabelFormatOption]?, available_label_formats: Array[untyped]?, available_shipping_service_options: Peddler::APIs::MerchantFulfillmentV0::AvailableShippingServiceOptions?, benefits: Peddler::APIs::MerchantFulfillmentV0::Benefits?, earliest_estimated_delivery_date: String?, latest_estimated_delivery_date: String? }