Class: Peddler::APIs::MerchantFulfillmentV0::CreateShipmentRequest

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

#hazmat_typeString? (readonly)

Returns the value of attribute hazmat_type.

Returns:

  • (String, nil)


233
234
235
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 233

def hazmat_type
  @hazmat_type
end

#label_format_optionPeddler::APIs::MerchantFulfillmentV0::LabelFormatOptionRequest? (readonly)

Returns the value of attribute label_format_option.



234
235
236
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 234

def label_format_option
  @label_format_option
end

#shipment_level_seller_inputs_listArray[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]? (readonly)

Returns the value of attribute shipment_level_seller_inputs_list.



235
236
237
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 235

def shipment_level_seller_inputs_list
  @shipment_level_seller_inputs_list
end

#shipment_request_detailsPeddler::APIs::MerchantFulfillmentV0::ShipmentRequestDetails (readonly)

Returns the value of attribute shipment_request_details.



236
237
238
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 236

def shipment_request_details
  @shipment_request_details
end

#shipping_service_idString (readonly)

Returns the value of attribute shipping_service_id.

Returns:

  • (String)


237
238
239
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 237

def shipping_service_id
  @shipping_service_id
end

#shipping_service_offer_idString? (readonly)

Returns the value of attribute shipping_service_offer_id.

Returns:

  • (String, nil)


238
239
240
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 238

def shipping_service_offer_id
  @shipping_service_offer_id
end

Class Method Details

.[](shipment_request_details:, shipping_service_id:, hazmat_type:, label_format_option:, shipment_level_seller_inputs_list:, shipping_service_offer_id:) ⇒ Peddler::APIs::MerchantFulfillmentV0::CreateShipmentRequest .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::MerchantFulfillmentV0::CreateShipmentRequest

Overloads:



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

def self.[]: (shipment_request_details: Peddler::APIs::MerchantFulfillmentV0::ShipmentRequestDetails, shipping_service_id: String, ?hazmat_type: String?, ?label_format_option: Peddler::APIs::MerchantFulfillmentV0::LabelFormatOptionRequest?, ?shipment_level_seller_inputs_list: Array[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]?, ?shipping_service_offer_id: String?) -> Peddler::APIs::MerchantFulfillmentV0::CreateShipmentRequest
| (Peddler::APIs::MerchantFulfillmentV0::ShipmentRequestDetails, String, String?, Peddler::APIs::MerchantFulfillmentV0::LabelFormatOptionRequest?, Array[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]?, String?) -> Peddler::APIs::MerchantFulfillmentV0::CreateShipmentRequest

.members[ :shipment_request_details, :shipping_service_id, :hazmat_type, :label_format_option, :shipment_level_seller_inputs_list, :shipping_service_offer_id ]

Returns:

  • ([ :shipment_request_details, :shipping_service_id, :hazmat_type, :label_format_option, :shipment_level_seller_inputs_list, :shipping_service_offer_id ])


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

def self.members: () -> [ :shipment_request_details, :shipping_service_id, :hazmat_type, :label_format_option, :shipment_level_seller_inputs_list, :shipping_service_offer_id ]

.new(shipment_request_details:, shipping_service_id:, hazmat_type:, label_format_option:, shipment_level_seller_inputs_list:, shipping_service_offer_id:) ⇒ Peddler::APIs::MerchantFulfillmentV0::CreateShipmentRequest .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::MerchantFulfillmentV0::CreateShipmentRequest

Overloads:



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

def self.new: (shipment_request_details: Peddler::APIs::MerchantFulfillmentV0::ShipmentRequestDetails, shipping_service_id: String, ?hazmat_type: String?, ?label_format_option: Peddler::APIs::MerchantFulfillmentV0::LabelFormatOptionRequest?, ?shipment_level_seller_inputs_list: Array[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]?, ?shipping_service_offer_id: String?) -> Peddler::APIs::MerchantFulfillmentV0::CreateShipmentRequest
| (Peddler::APIs::MerchantFulfillmentV0::ShipmentRequestDetails, String, String?, Peddler::APIs::MerchantFulfillmentV0::LabelFormatOptionRequest?, Array[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]?, String?) -> Peddler::APIs::MerchantFulfillmentV0::CreateShipmentRequest

.parsePeddler::APIs::MerchantFulfillmentV0::CreateShipmentRequest

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :shipment_request_details, :shipping_service_id, :hazmat_type, :label_format_option, :shipment_level_seller_inputs_list, :shipping_service_offer_id ]

Returns:

  • ([ :shipment_request_details, :shipping_service_id, :hazmat_type, :label_format_option, :shipment_level_seller_inputs_list, :shipping_service_offer_id ])


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

def members: () -> [ :shipment_request_details, :shipping_service_id, :hazmat_type, :label_format_option, :shipment_level_seller_inputs_list, :shipping_service_offer_id ]

#to_h{ shipment_request_details: Peddler::APIs::MerchantFulfillmentV0::ShipmentRequestDetails, shipping_service_id: String, hazmat_type: String?, label_format_option: Peddler::APIs::MerchantFulfillmentV0::LabelFormatOptionRequest?, shipment_level_seller_inputs_list: Array[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]?, shipping_service_offer_id: String? }

Returns:



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

def to_h: () -> { shipment_request_details: Peddler::APIs::MerchantFulfillmentV0::ShipmentRequestDetails, shipping_service_id: String, hazmat_type: String?, label_format_option: Peddler::APIs::MerchantFulfillmentV0::LabelFormatOptionRequest?, shipment_level_seller_inputs_list: Array[Peddler::APIs::MerchantFulfillmentV0::AdditionalSellerInputs]?, shipping_service_offer_id: String? }