Module: PaymentsApi

Defined in:
lib/pnap_payments_api/api_error.rb,
lib/pnap_payments_api.rb,
lib/pnap_payments_api/version.rb,
lib/pnap_payments_api/api_client.rb,
lib/pnap_payments_api/models/error.rb,
lib/pnap_payments_api/configuration.rb,
lib/pnap_payments_api/models/transaction.rb,
lib/pnap_payments_api/api/transactions_api.rb,
lib/pnap_payments_api/models/paginated_response.rb,
lib/pnap_payments_api/models/transaction_metadata.rb,
lib/pnap_payments_api/models/paginated_transactions.rb,
lib/pnap_payments_api/models/card_payment_method_details.rb

Overview

#Payments API

#Payments API are currently designed to fetch Transactions only.

The version of the OpenAPI document: 0.1 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 7.2.0

Defined Under Namespace

Classes: ApiClient, ApiError, CardPaymentMethodDetails, Configuration, Error, PaginatedResponse, PaginatedTransactions, Transaction, TransactionMetadata, TransactionsApi

Constant Summary collapse

VERSION =
get_version()

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

PaymentsApi.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



38
39
40
41
42
43
44
# File 'lib/pnap_payments_api.rb', line 38

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end