Class: Peddler::APIs::SellerWallet20240301::PaymentPreference

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

#payment_preference_payment_typeString (readonly)

Returns the value of attribute payment_preference_payment_type.

Returns:

  • (String)


227
228
229
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 227

def payment_preference_payment_type
  @payment_preference_payment_type
end

#valueFloat (readonly)

Returns the value of attribute value.

Returns:

  • (Float)


228
229
230
# File 'sig/peddler/apis/seller_wallet_2024_03_01.rbs', line 228

def value
  @value
end

Class Method Details

.[](payment_preference_payment_type:, value:) ⇒ Peddler::APIs::SellerWallet20240301::PaymentPreference .[](arg0, arg1) ⇒ Peddler::APIs::SellerWallet20240301::PaymentPreference

Overloads:



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

def self.[]: (payment_preference_payment_type: String, value: Float) -> Peddler::APIs::SellerWallet20240301::PaymentPreference
| (String, Float) -> Peddler::APIs::SellerWallet20240301::PaymentPreference

.members[ :payment_preference_payment_type, :value ]

Returns:

  • ([ :payment_preference_payment_type, :value ])


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

def self.members: () -> [ :payment_preference_payment_type, :value ]

.new(payment_preference_payment_type:, value:) ⇒ Peddler::APIs::SellerWallet20240301::PaymentPreference .new(arg0, arg1) ⇒ Peddler::APIs::SellerWallet20240301::PaymentPreference

Overloads:



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

def self.new: (payment_preference_payment_type: String, value: Float) -> Peddler::APIs::SellerWallet20240301::PaymentPreference
| (String, Float) -> Peddler::APIs::SellerWallet20240301::PaymentPreference

.parsePeddler::APIs::SellerWallet20240301::PaymentPreference

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :payment_preference_payment_type, :value ]

Returns:

  • ([ :payment_preference_payment_type, :value ])


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

def members: () -> [ :payment_preference_payment_type, :value ]

#to_h{ payment_preference_payment_type: String, value: Float }

Returns:

  • ({ payment_preference_payment_type: String, value: Float })


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

def to_h: () -> { payment_preference_payment_type: String, value: Float }