Sha256: 591d75fa8fc7082348add848773a2262621c0563b39f96270e93d1e01f53101e
Contents?: true
Size: 601 Bytes
Versions: 1
Compression:
Stored size: 601 Bytes
Contents
# frozen_string_literal: true module Tikkie module Notifications # Refund notification. class RefundNotification NOTIFICATION_TYPE = "REFUND" attr_reader :body def initialize(body) @body = body end def subscription_id body[:subscriptionId] end def notification_type body[:notificationType] end def payment_request_token body[:paymentRequestToken] end def payment_token body[:paymentToken] end def refund_token body[:refundToken] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tikkie-api-2.0.0 | lib/tikkie/notifications/refund_notification.rb |