Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cancellation_reasonString? (readonly)

Returns the value of attribute cancellation_reason.

Returns:

  • (String, nil)


60
61
62
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 60

def cancellation_reason
  @cancellation_reason
end

#cancellation_typeString (readonly)

Returns the value of attribute cancellation_type.

Returns:

  • (String)


61
62
63
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 61

def cancellation_type
  @cancellation_type
end

#cancelled_quantityInteger (readonly)

Returns the value of attribute cancelled_quantity.

Returns:

  • (Integer)


62
63
64
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 62

def cancelled_quantity
  @cancelled_quantity
end

#cancelled_timestampString (readonly)

Returns the value of attribute cancelled_timestamp.

Returns:

  • (String)


63
64
65
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 63

def cancelled_timestamp
  @cancelled_timestamp
end

Class Method Details

.[](cancellation_type:, cancelled_quantity:, cancelled_timestamp:, cancellation_reason:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation

Overloads:



53
54
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 53

def self.[]: (cancellation_type: String, cancelled_quantity: Integer, cancelled_timestamp: String, ?cancellation_reason: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation
| (String, Integer, String, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation

.members[ :cancellation_type, :cancelled_quantity, :cancelled_timestamp, :cancellation_reason ]

Returns:

  • ([ :cancellation_type, :cancelled_quantity, :cancelled_timestamp, :cancellation_reason ])


56
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 56

def self.members: () -> [ :cancellation_type, :cancelled_quantity, :cancelled_timestamp, :cancellation_reason ]

.new(cancellation_type:, cancelled_quantity:, cancelled_timestamp:, cancellation_reason:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation

Overloads:



51
52
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 51

def self.new: (cancellation_type: String, cancelled_quantity: Integer, cancelled_timestamp: String, ?cancellation_reason: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation
| (String, Integer, String, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::Cancellation

Parameters:

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

Returns:



58
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 58

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

Instance Method Details

#members[ :cancellation_type, :cancelled_quantity, :cancelled_timestamp, :cancellation_reason ]

Returns:

  • ([ :cancellation_type, :cancelled_quantity, :cancelled_timestamp, :cancellation_reason ])


65
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 65

def members: () -> [ :cancellation_type, :cancelled_quantity, :cancelled_timestamp, :cancellation_reason ]

#to_h{ cancellation_type: String, cancelled_quantity: Integer, cancelled_timestamp: String, cancellation_reason: String? }

Returns:

  • ({ cancellation_type: String, cancelled_quantity: Integer, cancelled_timestamp: String, cancellation_reason: String? })


66
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 66

def to_h: () -> { cancellation_type: String, cancelled_quantity: Integer, cancelled_timestamp: String, cancellation_reason: String? }