Class: Peddler::APIs::ExternalFulfillmentReturns20240911::OtpDetails

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#otpString (readonly)

Returns the value of attribute otp.

Returns:

  • (String)


103
104
105
# File 'sig/peddler/apis/external_fulfillment_returns_2024_09_11.rbs', line 103

def otp
  @otp
end

#valid_tillInteger (readonly)

Returns the value of attribute valid_till.

Returns:

  • (Integer)


104
105
106
# File 'sig/peddler/apis/external_fulfillment_returns_2024_09_11.rbs', line 104

def valid_till
  @valid_till
end

Class Method Details

.[](otp:, valid_till:) ⇒ Peddler::APIs::ExternalFulfillmentReturns20240911::OtpDetails .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentReturns20240911::OtpDetails

Overloads:



96
97
# File 'sig/peddler/apis/external_fulfillment_returns_2024_09_11.rbs', line 96

def self.[]: (otp: String, valid_till: Integer) -> Peddler::APIs::ExternalFulfillmentReturns20240911::OtpDetails
| (String, Integer) -> Peddler::APIs::ExternalFulfillmentReturns20240911::OtpDetails

.members[ :otp, :valid_till ]

Returns:

  • ([ :otp, :valid_till ])


99
# File 'sig/peddler/apis/external_fulfillment_returns_2024_09_11.rbs', line 99

def self.members: () -> [ :otp, :valid_till ]

.new(otp:, valid_till:) ⇒ Peddler::APIs::ExternalFulfillmentReturns20240911::OtpDetails .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentReturns20240911::OtpDetails

Overloads:



94
95
# File 'sig/peddler/apis/external_fulfillment_returns_2024_09_11.rbs', line 94

def self.new: (otp: String, valid_till: Integer) -> Peddler::APIs::ExternalFulfillmentReturns20240911::OtpDetails
| (String, Integer) -> Peddler::APIs::ExternalFulfillmentReturns20240911::OtpDetails

.parsePeddler::APIs::ExternalFulfillmentReturns20240911::OtpDetails

Parameters:

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

Returns:



101
# File 'sig/peddler/apis/external_fulfillment_returns_2024_09_11.rbs', line 101

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

Instance Method Details

#members[ :otp, :valid_till ]

Returns:

  • ([ :otp, :valid_till ])


106
# File 'sig/peddler/apis/external_fulfillment_returns_2024_09_11.rbs', line 106

def members: () -> [ :otp, :valid_till ]

#to_h{ otp: String, valid_till: Integer }

Returns:

  • ({ otp: String, valid_till: Integer })


107
# File 'sig/peddler/apis/external_fulfillment_returns_2024_09_11.rbs', line 107

def to_h: () -> { otp: String, valid_till: Integer }