Class: CheckoutSdk::Previous::Payments::PayPalSource

Inherits:
PaymentSource
  • Object
show all
Defined in:
lib/checkout_sdk/payments/previous/source/apm/paypal_source.rb

Instance Attribute Summary collapse

Attributes inherited from PaymentSource

#type

Instance Method Summary collapse

Constructor Details

#initializePayPalSource

Returns a new instance of PayPalSource.



20
21
22
# File 'lib/checkout_sdk/payments/previous/source/apm/paypal_source.rb', line 20

def initialize
  super CheckoutSdk::Common::PaymentSourceType::PAYPAL
end

Instance Attribute Details

#invoice_numberString

Returns:

  • (String)


14
15
16
17
18
19
20
21
22
23
# File 'lib/checkout_sdk/payments/previous/source/apm/paypal_source.rb', line 14

class PayPalSource < PaymentSource
  attr_accessor :invoice_number,
                :recipient_name,
                :logo_url,
                :stc

  def initialize
    super CheckoutSdk::Common::PaymentSourceType::PAYPAL
  end
end

#logo_urlString

Returns:

  • (String)


14
15
16
17
18
19
20
21
22
23
# File 'lib/checkout_sdk/payments/previous/source/apm/paypal_source.rb', line 14

class PayPalSource < PaymentSource
  attr_accessor :invoice_number,
                :recipient_name,
                :logo_url,
                :stc

  def initialize
    super CheckoutSdk::Common::PaymentSourceType::PAYPAL
  end
end

#recipient_nameString

Returns:

  • (String)


14
15
16
17
18
19
20
21
22
23
# File 'lib/checkout_sdk/payments/previous/source/apm/paypal_source.rb', line 14

class PayPalSource < PaymentSource
  attr_accessor :invoice_number,
                :recipient_name,
                :logo_url,
                :stc

  def initialize
    super CheckoutSdk::Common::PaymentSourceType::PAYPAL
  end
end

#stcHash(String=>String)

Returns:

  • (Hash(String=>String))


14
15
16
17
18
19
20
21
22
23
# File 'lib/checkout_sdk/payments/previous/source/apm/paypal_source.rb', line 14

class PayPalSource < PaymentSource
  attr_accessor :invoice_number,
                :recipient_name,
                :logo_url,
                :stc

  def initialize
    super CheckoutSdk::Common::PaymentSourceType::PAYPAL
  end
end