Class: Google4R::Checkout::Notification

Inherits:
Object
  • Object
show all
Defined in:
lib/google4r/checkout/notifications.rb

Overview

Abstract class for all the notifications. It should not be instantiated directly.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(frontend) ⇒ Notification

Initializes the RiskInformationNotification instance with the given Frontend instance.



164
165
166
# File 'lib/google4r/checkout/notifications.rb', line 164

def initialize(frontend)
  @frontend = frontend
end

Instance Attribute Details

#frontendObject

The frontend this notification belongs to.



152
153
154
# File 'lib/google4r/checkout/notifications.rb', line 152

def frontend
  @frontend
end

#google_order_numberObject

The Google order number the new order notification belongs to (String).



158
159
160
# File 'lib/google4r/checkout/notifications.rb', line 158

def google_order_number
  @google_order_number
end

#serial_numberObject

The serial number of the new order notification (String).



155
156
157
# File 'lib/google4r/checkout/notifications.rb', line 155

def serial_number
  @serial_number
end

#timestampObject

The timestamp of the notification. Also see #timestamp=



161
162
163
# File 'lib/google4r/checkout/notifications.rb', line 161

def timestamp
  @timestamp
end