Class: YSM::MasterAccountService::AddNewCustomer

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(company = nil, masterAccount = nil, account = nil, username = nil, userInfo = nil, address = nil, billingUserInfo = nil, billingAddress = nil, cc = nil, depositAmount = nil, promoCode = nil) ⇒ AddNewCustomer

Returns a new instance of AddNewCustomer.



247
248
249
250
251
252
253
254
255
256
257
258
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 247

def initialize(masterAccount = nil,  = nil, username = nil, userInfo = nil, address = nil, billingUserInfo = nil, billingAddress = nil, cc = nil, depositAmount = nil, promoCode = nil)
  @masterAccount = masterAccount
  @account = 
  @username = username
  @userInfo = userInfo
  @address = address
  @billingUserInfo = billingUserInfo
  @billingAddress = billingAddress
  @cc = cc
  @depositAmount = depositAmount
  @promoCode = promoCode
end

Instance Attribute Details

#accountObject

Returns the value of attribute account.



237
238
239
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 237

def 
  @account
end

#addressObject

Returns the value of attribute address.



240
241
242
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 240

def address
  @address
end

#billingAddressObject

Returns the value of attribute billingAddress.



242
243
244
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 242

def billingAddress
  @billingAddress
end

#billingUserInfoObject

Returns the value of attribute billingUserInfo.



241
242
243
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 241

def billingUserInfo
  @billingUserInfo
end

#ccObject

Returns the value of attribute cc.



243
244
245
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 243

def cc
  @cc
end

#companyObject

Returns the value of attribute company.



259
260
261
# File 'lib/ysm4r/v2/MasterAccountService.rb', line 259

def company
  @company
end

#depositAmountObject

Returns the value of attribute depositAmount.



244
245
246
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 244

def depositAmount
  @depositAmount
end

#masterAccountObject

Returns the value of attribute masterAccount.



236
237
238
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 236

def masterAccount
  @masterAccount
end

#promoCodeObject

Returns the value of attribute promoCode.



245
246
247
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 245

def promoCode
  @promoCode
end

#userInfoObject

Returns the value of attribute userInfo.



239
240
241
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 239

def userInfo
  @userInfo
end

#usernameObject

Returns the value of attribute username.



238
239
240
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 238

def username
  @username
end