Class: YSM::MasterAccountService::AddNewCustomer
- Inherits:
-
Object
- Object
- YSM::MasterAccountService::AddNewCustomer
- Defined in:
- lib/ysm4r/v1/MasterAccountService.rb,
lib/ysm4r/v2/MasterAccountService.rb
Overview
http://marketing.ews.yahooapis.com/V2addNewCustomer
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#address ⇒ Object
Returns the value of attribute address.
-
#billingAddress ⇒ Object
Returns the value of attribute billingAddress.
-
#billingUserInfo ⇒ Object
Returns the value of attribute billingUserInfo.
-
#cc ⇒ Object
Returns the value of attribute cc.
-
#company ⇒ Object
Returns the value of attribute company.
-
#depositAmount ⇒ Object
Returns the value of attribute depositAmount.
-
#masterAccount ⇒ Object
Returns the value of attribute masterAccount.
-
#promoCode ⇒ Object
Returns the value of attribute promoCode.
-
#userInfo ⇒ Object
Returns the value of attribute userInfo.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(company = nil, masterAccount = nil, account = nil, username = nil, userInfo = nil, address = nil, billingUserInfo = nil, billingAddress = nil, cc = nil, depositAmount = nil, promoCode = nil) ⇒ AddNewCustomer
constructor
A new instance of AddNewCustomer.
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, account = nil, username = nil, userInfo = nil, address = nil, billingUserInfo = nil, billingAddress = nil, cc = nil, depositAmount = nil, promoCode = nil) @masterAccount = masterAccount @account = account @username = username @userInfo = userInfo @address = address @billingUserInfo = billingUserInfo @billingAddress = billingAddress @cc = cc @depositAmount = depositAmount @promoCode = promoCode end |
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
237 238 239 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 237 def account @account end |
#address ⇒ Object
Returns the value of attribute address.
240 241 242 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 240 def address @address end |
#billingAddress ⇒ Object
Returns the value of attribute billingAddress.
242 243 244 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 242 def billingAddress @billingAddress end |
#billingUserInfo ⇒ Object
Returns the value of attribute billingUserInfo.
241 242 243 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 241 def billingUserInfo @billingUserInfo end |
#cc ⇒ Object
Returns the value of attribute cc.
243 244 245 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 243 def cc @cc end |
#company ⇒ Object
Returns the value of attribute company.
259 260 261 |
# File 'lib/ysm4r/v2/MasterAccountService.rb', line 259 def company @company end |
#depositAmount ⇒ Object
Returns the value of attribute depositAmount.
244 245 246 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 244 def depositAmount @depositAmount end |
#masterAccount ⇒ Object
Returns the value of attribute masterAccount.
236 237 238 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 236 def masterAccount @masterAccount end |
#promoCode ⇒ Object
Returns the value of attribute promoCode.
245 246 247 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 245 def promoCode @promoCode end |
#userInfo ⇒ Object
Returns the value of attribute userInfo.
239 240 241 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 239 def userInfo @userInfo end |
#username ⇒ Object
Returns the value of attribute username.
238 239 240 |
# File 'lib/ysm4r/v1/MasterAccountService.rb', line 238 def username @username end |