Class: CheckoutSdk::Payments::PayoutSource

Inherits:
Object
  • Object
show all
Defined in:
lib/checkout_sdk/payments/source/payout_source.rb

Direct Known Subclasses

CurrencyAccountSource, EntitySource

Instance Attribute Summary collapse

Instance Attribute Details

#amountString

Returns:

  • (String)


11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/checkout_sdk/payments/source/payout_source.rb', line 11

class PayoutSource
  attr_reader :type
  attr_accessor :id,
                :amount

  protected

  # @abstract
  # @param [String] type {PayoutSourceType}
  def initialize(type)
    @type = type
  end
end

#idString

Returns:

  • (String)


11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/checkout_sdk/payments/source/payout_source.rb', line 11

class PayoutSource
  attr_reader :type
  attr_accessor :id,
                :amount

  protected

  # @abstract
  # @param [String] type {PayoutSourceType}
  def initialize(type)
    @type = type
  end
end

#typeString



11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/checkout_sdk/payments/source/payout_source.rb', line 11

class PayoutSource
  attr_reader :type
  attr_accessor :id,
                :amount

  protected

  # @abstract
  # @param [String] type {PayoutSourceType}
  def initialize(type)
    @type = type
  end
end