Class: Peddler::APIs::SellerWallet20240301::FxRateDetails

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#base_rateFloat (readonly)

Returns the value of attribute base_rate.

Returns:

  • (Float)


180
181
182
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 180

def base_rate
  @base_rate
end

#effective_fx_rateFloat (readonly)

Returns the value of attribute effective_fx_rate.

Returns:

  • (Float)


181
182
183
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 181

def effective_fx_rate
  @effective_fx_rate
end

#fx_rate_idString (readonly)

Returns the value of attribute fx_rate_id.

Returns:

  • (String)


182
183
184
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 182

def fx_rate_id
  @fx_rate_id
end

#rate_directionString (readonly)

Returns the value of attribute rate_direction.

Returns:

  • (String)


183
184
185
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 183

def rate_direction
  @rate_direction
end

Class Method Details

.[](base_rate:, effective_fx_rate:, fx_rate_id:, rate_direction:) ⇒ Peddler::APIs::SellerWallet20240301::FxRateDetails .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::SellerWallet20240301::FxRateDetails

Overloads:



173
174
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 173

def self.[]: (base_rate: Float, effective_fx_rate: Float, fx_rate_id: String, rate_direction: String) -> Peddler::APIs::SellerWallet20240301::FxRateDetails
| (Float, Float, String, String) -> Peddler::APIs::SellerWallet20240301::FxRateDetails

.members[ :base_rate, :effective_fx_rate, :fx_rate_id, :rate_direction ]

Returns:

  • ([ :base_rate, :effective_fx_rate, :fx_rate_id, :rate_direction ])


176
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 176

def self.members: () -> [ :base_rate, :effective_fx_rate, :fx_rate_id, :rate_direction ]

.new(base_rate:, effective_fx_rate:, fx_rate_id:, rate_direction:) ⇒ Peddler::APIs::SellerWallet20240301::FxRateDetails .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::SellerWallet20240301::FxRateDetails

Overloads:



171
172
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 171

def self.new: (base_rate: Float, effective_fx_rate: Float, fx_rate_id: String, rate_direction: String) -> Peddler::APIs::SellerWallet20240301::FxRateDetails
| (Float, Float, String, String) -> Peddler::APIs::SellerWallet20240301::FxRateDetails

.parsePeddler::APIs::SellerWallet20240301::FxRateDetails

Parameters:

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

Returns:



178
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 178

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

Instance Method Details

#members[ :base_rate, :effective_fx_rate, :fx_rate_id, :rate_direction ]

Returns:

  • ([ :base_rate, :effective_fx_rate, :fx_rate_id, :rate_direction ])


185
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 185

def members: () -> [ :base_rate, :effective_fx_rate, :fx_rate_id, :rate_direction ]

#to_h{ base_rate: Float, effective_fx_rate: Float, fx_rate_id: String, rate_direction: String }

Returns:

  • ({ base_rate: Float, effective_fx_rate: Float, fx_rate_id: String, rate_direction: String })


186
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 186

def to_h: () -> { base_rate: Float, effective_fx_rate: Float, fx_rate_id: String, rate_direction: String }