Class: AdCenterWrapper::AccountNotification

Inherits:
Notification show all
Defined in:
lib/NotificationService.rb

Overview

https://adcenter.microsoft.com/api/notifications/EntitiesAccountNotification

notificationId - SOAP::SOAPLong
notificationDate - SOAP::SOAPDateTime
notificationType - (any)
accountId - SOAP::SOAPLong
accountNumber - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(notificationId = nil, notificationDate = nil, notificationType = nil, accountId = nil, accountNumber = nil) ⇒ AccountNotification

Returns a new instance of AccountNotification.

[View source]

39
40
41
42
43
44
45
# File 'lib/NotificationService.rb', line 39

def initialize(notificationId = nil, notificationDate = nil, notificationType = nil, accountId = nil, accountNumber = nil)
  @notificationId = notificationId
  @notificationDate = notificationDate
  @notificationType = notificationType
  @accountId = accountId
  @accountNumber = accountNumber
end

Instance Attribute Details

#accountIdObject

Returns the value of attribute accountId.


36
37
38
# File 'lib/NotificationService.rb', line 36

def accountId
  @accountId
end

#accountNumberObject

Returns the value of attribute accountNumber.


37
38
39
# File 'lib/NotificationService.rb', line 37

def accountNumber
  @accountNumber
end

#notificationDateObject

Returns the value of attribute notificationDate.


34
35
36
# File 'lib/NotificationService.rb', line 34

def notificationDate
  @notificationDate
end

#notificationIdObject

Returns the value of attribute notificationId.


33
34
35
# File 'lib/NotificationService.rb', line 33

def notificationId
  @notificationId
end

#notificationTypeObject

Returns the value of attribute notificationType.


35
36
37
# File 'lib/NotificationService.rb', line 35

def notificationType
  @notificationType
end