Class: Afterpay::Components::Consumer

Inherits:
Base
  • Object
show all
Defined in:
lib/afterpay/components/consumer.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Initializable

included, #initialize

Methods included from Representable

#as_json, included

Instance Attribute Details

#emailString

The consumer’s email.

Returns:

  • (String)


24
25
26
# File 'lib/afterpay/components/consumer.rb', line 24

def email
  @email
end

#given_namesString

The consumer’s given names.

Returns:

  • (String)


14
15
16
# File 'lib/afterpay/components/consumer.rb', line 14

def given_names
  @given_names
end

#phone_numberString

The consumer’s phone number.

Returns:

  • (String)


9
10
11
# File 'lib/afterpay/components/consumer.rb', line 9

def phone_number
  @phone_number
end

#surnameString

The consumer’s surname.

Returns:

  • (String)


19
20
21
# File 'lib/afterpay/components/consumer.rb', line 19

def surname
  @surname
end