Class: YSM::MasterAccountService::BillingUser

Inherits:
Object
  • Object
show all
Defined in:
lib/ysm4r/v1/MasterAccountService.rb,
lib/ysm4r/v2/MasterAccountService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(email = nil, firstName = nil, lastName = nil, middleInitial = nil, phone = nil) ⇒ BillingUser

Returns a new instance of BillingUser.



141
142
143
144
145
146
147
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 141

def initialize(email = nil, firstName = nil, lastName = nil, middleInitial = nil, phone = nil)
  @email = email
  @firstName = firstName
  @lastName = lastName
  @middleInitial = middleInitial
  @phone = phone
end

Instance Attribute Details

#emailObject

Returns the value of attribute email.



135
136
137
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 135

def email
  @email
end

#firstNameObject

Returns the value of attribute firstName.



136
137
138
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 136

def firstName
  @firstName
end

#lastNameObject

Returns the value of attribute lastName.



137
138
139
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 137

def lastName
  @lastName
end

#middleInitialObject

Returns the value of attribute middleInitial.



138
139
140
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 138

def middleInitial
  @middleInitial
end

#phoneObject

Returns the value of attribute phone.



139
140
141
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 139

def phone
  @phone
end