Class: Yoomoney::Models::Payment::PaymentMethod::PaymentMethodSbp::PayerBankDetails

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/yoomoney/models/payment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(payer_bank_details: nil, sbp_operation_id: nil) ⇒ Object

Parameters:



521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
# File 'lib/yoomoney/models/payment.rb', line 521

class PayerBankDetails < Yoomoney::Internal::Type::BaseModel
  # @!attribute bank_id
  #
  #   @return [String]
  required :bank_id, String

  # @!attribute bic
  #
  #   @return [String]
  required :bic, String

  # @!method initialize(bank_id:, bic:)
  #   @param bank_id [String]
  #   @param bic [String]
end

Instance Attribute Details

#bank_idString

Returns:

  • (String)


525
# File 'lib/yoomoney/models/payment.rb', line 525

required :bank_id, String

#bicString

Returns:

  • (String)


530
# File 'lib/yoomoney/models/payment.rb', line 530

required :bic, String