Class: Peddler::APIs::VendorShipmentsV1::Expiry
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::VendorShipmentsV1::Expiry
- Defined in:
- sig/peddler/apis/vendor_shipments_v1.rbs
Instance Attribute Summary collapse
-
#expiry_after_duration ⇒ Peddler::APIs::VendorShipmentsV1::Duration?
readonly
Returns the value of attribute expiry_after_duration.
-
#expiry_date ⇒ Time?
readonly
Returns the value of attribute expiry_date.
-
#manufacturer_date ⇒ Time?
readonly
Returns the value of attribute manufacturer_date.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :expiry_after_duration, :expiry_date, :manufacturer_date ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::VendorShipmentsV1::Expiry
Instance Method Summary collapse
-
#members ⇒ [ :expiry_after_duration, :expiry_date, :manufacturer_date ]
-
#to_h ⇒ { expiry_after_duration: Peddler::APIs::VendorShipmentsV1::Duration?, expiry_date: Time?, manufacturer_date: Time? }
Instance Attribute Details
#expiry_after_duration ⇒ Peddler::APIs::VendorShipmentsV1::Duration? (readonly)
Returns the value of attribute expiry_after_duration.
250 251 252 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 250 def expiry_after_duration @expiry_after_duration end |
#expiry_date ⇒ Time? (readonly)
Returns the value of attribute expiry_date.
251 252 253 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 251 def expiry_date @expiry_date end |
#manufacturer_date ⇒ Time? (readonly)
Returns the value of attribute manufacturer_date.
252 253 254 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 252 def manufacturer_date @manufacturer_date end |
Class Method Details
.[](expiry_after_duration:, expiry_date:, manufacturer_date:) ⇒ Peddler::APIs::VendorShipmentsV1::Expiry .[](arg0, arg1, arg2) ⇒ Peddler::APIs::VendorShipmentsV1::Expiry
243 244 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 243
def self.[]: (?expiry_after_duration: Peddler::APIs::VendorShipmentsV1::Duration?, ?expiry_date: Time?, ?manufacturer_date: Time?) -> Peddler::APIs::VendorShipmentsV1::Expiry
| (Peddler::APIs::VendorShipmentsV1::Duration?, Time?, Time?) -> Peddler::APIs::VendorShipmentsV1::Expiry
|
.members ⇒ [ :expiry_after_duration, :expiry_date, :manufacturer_date ]
246 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 246
def self.members: () -> [ :expiry_after_duration, :expiry_date, :manufacturer_date ]
|
.new(expiry_after_duration:, expiry_date:, manufacturer_date:) ⇒ Peddler::APIs::VendorShipmentsV1::Expiry .new(arg0, arg1, arg2) ⇒ Peddler::APIs::VendorShipmentsV1::Expiry
241 242 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 241
def self.new: (?expiry_after_duration: Peddler::APIs::VendorShipmentsV1::Duration?, ?expiry_date: Time?, ?manufacturer_date: Time?) -> Peddler::APIs::VendorShipmentsV1::Expiry
| (Peddler::APIs::VendorShipmentsV1::Duration?, Time?, Time?) -> Peddler::APIs::VendorShipmentsV1::Expiry
|
.parse ⇒ Peddler::APIs::VendorShipmentsV1::Expiry
248 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 248
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::Expiry
|
Instance Method Details
#members ⇒ [ :expiry_after_duration, :expiry_date, :manufacturer_date ]
254 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 254
def members: () -> [ :expiry_after_duration, :expiry_date, :manufacturer_date ]
|
#to_h ⇒ { expiry_after_duration: Peddler::APIs::VendorShipmentsV1::Duration?, expiry_date: Time?, manufacturer_date: Time? }
255 |
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 255
def to_h: () -> { expiry_after_duration: Peddler::APIs::VendorShipmentsV1::Duration?, expiry_date: Time?, manufacturer_date: Time? }
|