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)


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

def cancellation_reason
  @cancellation_reason
end

#cancellation_typeString (readonly)

Returns the value of attribute cancellation_type.

Returns:

  • (String)


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

def cancellation_type
  @cancellation_type
end

#cancelled_quantityInteger (readonly)

Returns the value of attribute cancelled_quantity.

Returns:

  • (Integer)


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

def cancelled_quantity
  @cancelled_quantity
end

#cancelled_timestampString (readonly)

Returns the value of attribute cancelled_timestamp.

Returns:

  • (String)


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

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:



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

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 ])


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

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:



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

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:



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

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 ])


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

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? })


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

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