Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation
- Defined in:
- sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs
Instance Attribute Summary collapse
-
#cancellation_reason ⇒ String?
readonly
Returns the value of attribute cancellation_reason.
-
#cancellation_type ⇒ String
readonly
Returns the value of attribute cancellation_type.
-
#cancelled_quantity ⇒ Integer
readonly
Returns the value of attribute cancelled_quantity.
-
#cancelled_timestamp ⇒ String
readonly
Returns the value of attribute cancelled_timestamp.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :cancellation_type, :cancelled_quantity, :cancelled_timestamp, :cancellation_reason ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation
Instance Method Summary collapse
-
#members ⇒ [ :cancellation_type, :cancelled_quantity, :cancelled_timestamp, :cancellation_reason ]
-
#to_h ⇒ { cancellation_type: String, cancelled_quantity: Integer, cancelled_timestamp: String, cancellation_reason: String? }
Instance Attribute Details
#cancellation_reason ⇒ String? (readonly)
Returns the value of attribute cancellation_reason.
60 61 62 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 60 def cancellation_reason @cancellation_reason end |
#cancellation_type ⇒ String (readonly)
Returns the value of attribute cancellation_type.
61 62 63 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 61 def cancellation_type @cancellation_type end |
#cancelled_quantity ⇒ Integer (readonly)
Returns the value of attribute cancelled_quantity.
62 63 64 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 62 def cancelled_quantity @cancelled_quantity end |
#cancelled_timestamp ⇒ String (readonly)
Returns the value of attribute cancelled_timestamp.
63 64 65 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 63 def @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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation
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 ]
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? }
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? }
|