Sha256: 4bdef4cb30b827ee153829476ed98de438ba3bd450e2e18128829ccd0a8498f7

Contents?: true

Size: 426 Bytes

Versions: 5

Compression:

Stored size: 426 Bytes

Contents

# frozen_string_literal: true

module Tikkie
  module Api
    module Responses
      # Response when creating a payment request.
      class PaymentRequestCreated < Base
        def payment_request_url
          data[:paymentRequestUrl]
        end

        def payment_request_token
          data[:paymentRequestToken]
        end

        def external_id
          data[:externalId]
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tikkie-api-0.2.2 lib/tikkie/api/responses/payment_request_created.rb
tikkie-api-0.2.1 lib/tikkie/api/responses/payment_request_created.rb
tikkie-api-0.2.0 lib/tikkie/api/responses/payment_request_created.rb
tikkie-api-0.1.1 lib/tikkie/api/responses/payment_request_created.rb
tikkie-api-0.1.0 lib/tikkie/api/responses/payment_request_created.rb