Class: Peddler::APIs::VendorShipmentsV1::Expiry

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#expiry_after_durationPeddler::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_dateTime? (readonly)

Returns the value of attribute expiry_date.

Returns:

  • (Time, nil)


251
252
253
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 251

def expiry_date
  @expiry_date
end

#manufacturer_dateTime? (readonly)

Returns the value of attribute manufacturer_date.

Returns:

  • (Time, nil)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::VendorShipmentsV1::Expiry

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :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? }

Returns:



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