Class: Google4R::Checkout::Notification
- Inherits:
-
Object
- Object
- Google4R::Checkout::Notification
- Defined in:
- lib/google4r/checkout/notifications.rb
Overview
Abstract class for all the notifications. It should not be instantiated directly.
Direct Known Subclasses
AuthorizationAmountNotification, CancelledSubscriptionNotification, ChargeAmountNotification, ChargebackAmountNotification, NewOrderNotification, OrderStateChangeNotification, RefundAmountNotification, RiskInformationNotification
Instance Attribute Summary (collapse)
-
- (Object) frontend
The frontend this notification belongs to.
-
- (Object) google_order_number
The Google order number the new order notification belongs to (String).
-
- (Object) serial_number
The serial number of the new order notification (String).
-
- (Object) timestamp
The timestamp of the notification.
Instance Method Summary (collapse)
-
- (Notification) initialize(frontend)
constructor
Initializes the RiskInformationNotification instance with the given Frontend instance.
Constructor Details
- (Notification) initialize(frontend)
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
- (Object) frontend
The frontend this notification belongs to.
152 153 154 |
# File 'lib/google4r/checkout/notifications.rb', line 152 def frontend @frontend end |
- (Object) google_order_number
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 |
- (Object) serial_number
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 |
- (Object) timestamp
The timestamp of the notification. Also see #timestamp=
161 162 163 |
# File 'lib/google4r/checkout/notifications.rb', line 161 def @timestamp end |