class Tikkie::Notifications::PaymentNotification

Payment notification.

Constants

NOTIFICATION_TYPE

Attributes

body[R]

Public Class Methods

new(body) click to toggle source
# File lib/tikkie/notifications/payment_notification.rb, line 11
def initialize(body)
  @body = body
end

Public Instance Methods

notification_type() click to toggle source
# File lib/tikkie/notifications/payment_notification.rb, line 19
def notification_type
  body[:notificationType]
end
payment_request_token() click to toggle source
# File lib/tikkie/notifications/payment_notification.rb, line 23
def payment_request_token
  body[:paymentRequestToken]
end
payment_token() click to toggle source
# File lib/tikkie/notifications/payment_notification.rb, line 27
def payment_token
  body[:paymentToken]
end
subscription_id() click to toggle source
# File lib/tikkie/notifications/payment_notification.rb, line 15
def subscription_id
  body[:subscriptionId]
end