Class: CheckoutSdk::Previous::Sources::SourceRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/checkout_sdk/sources/source_request.rb

Direct Known Subclasses

SepaSourceRequest

Instance Attribute Summary collapse

Instance Attribute Details

#customerCheckoutSdk::Common::CustomerRequest



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/checkout_sdk/sources/source_request.rb', line 14

class SourceRequest
  attr_reader :type
  attr_accessor :reference,
                :phone,
                :customer

  protected

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

#phoneCheckoutSdk::Common::Phone



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/checkout_sdk/sources/source_request.rb', line 14

class SourceRequest
  attr_reader :type
  attr_accessor :reference,
                :phone,
                :customer

  protected

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

#referenceString

Returns:

  • (String)


14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/checkout_sdk/sources/source_request.rb', line 14

class SourceRequest
  attr_reader :type
  attr_accessor :reference,
                :phone,
                :customer

  protected

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

#typeString



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/checkout_sdk/sources/source_request.rb', line 14

class SourceRequest
  attr_reader :type
  attr_accessor :reference,
                :phone,
                :customer

  protected

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