Module: BancoBrasilPayments

Defined in:
lib/bb_payments/api_error.rb,
lib/bb_payments.rb,
lib/bb_payments/version.rb,
lib/bb_payments/api_client.rb,
lib/bb_payments/models/body.rb,
lib/bb_payments/models/error.rb,
lib/bb_payments/configuration.rb,
lib/bb_payments/models/release.rb,
lib/bb_payments/models/base_model.rb,
lib/bb_payments/models/devolution.rb,
lib/bb_payments/models/error_errors.rb,
lib/bb_payments/models/transfer_pix.rb,
lib/bb_payments/models/transfer_base.rb,
lib/bb_payments/models/batch_pix_body.rb,
lib/bb_payments/api/batch_payments_api.rb,
lib/bb_payments/models/transfer_pix_base.rb,
lib/bb_payments/models/batch_pix_response.rb,
lib/bb_payments/models/find_batch_payment.rb,
lib/bb_payments/models/find_batch_response.rb,
lib/bb_payments/models/inline_response_200.rb,
lib/bb_payments/models/inline_response_201.rb,
lib/bb_payments/models/inline_response_400.rb,
lib/bb_payments/models/inline_response_401.rb,
lib/bb_payments/models/batch_transfers_body.rb,
lib/bb_payments/models/find_payment_response.rb,
lib/bb_payments/models/inline_response_200_1.rb,
lib/bb_payments/models/inline_response_200_2.rb,
lib/bb_payments/models/inline_response_200_3.rb,
lib/bb_payments/models/inline_response_201_1.rb,
lib/bb_payments/models/find_releases_response.rb,
lib/bb_payments/models/batch_transfers_response.rb,
lib/bb_payments/models/error_o_auth_unauthorized.rb,
lib/bb_payments/models/find_payment_pix_response.rb,
lib/bb_payments/models/batchtransfers_payments_list.rb,
lib/bb_payments/models/root_type_for_bank_slip_list.rb,
lib/bb_payments/models/batchtransferscancel_payment_ids.rb,
lib/bb_payments/models/inline_response_200_payments_list.rb,
lib/bb_payments/models/inline_response_201_payments_list.rb,
lib/bb_payments/models/inline_response_200_3_lista_boleto.rb,
lib/bb_payments/models/root_type_for_slips_details_object.rb,
lib/bb_payments/models/inline_response_200_2_payments_list.rb,
lib/bb_payments/models/inline_response_201_1_payments_list.rb,
lib/bb_payments/models/error_o_auth_unauthorized_attributes.rb,
lib/bb_payments/models/inline_response_200_1_ocurrences_list.rb,
lib/bb_payments/models/inline_response_200_3_lista_devolucao.rb,
lib/bb_payments/models/root_type_for_bank_slips_batch_payment.rb,
lib/bb_payments/models/root_type_for_returned_payments_details.rb,
lib/bb_payments/models/root_type_for_batch_transfer_payments_list_get.rb,
lib/bb_payments/models/root_type_for_returned_payments_response_object.rb,
lib/bb_payments/models/root_type_for_batch_transfer_get_response_object.rb,
lib/bb_payments/models/root_type_for_batch_transfers_cancel_request_object.rb,
lib/bb_payments/models/root_type_for_batch_transfers_cancel_response_object.rb,
lib/bb_payments/models/root_type_for_bank_slips_batch_payment_response_object.rb,
lib/bb_payments/models/root_type_for_batch_transfers_cancel_payments_list_object.rb

Overview

Objeto de Requisição quando da solicitação para efetuar pagamentos em lote via Transferência PIX.

Defined Under Namespace

Modules: Base, BaseApi, Payments, Transfers, TransfersPix Classes: ApiClient, ApiError, BaseModel, BatchPaymentsApi, BatchPixBody, BatchPixResponse, BatchTransfersBody, BatchTransfersResponse, BatchtransfersPaymentsList, BatchtransferscancelPaymentIds, Body, Configuration, Devolution, Error, ErrorErrors, ErrorOAuthUnauthorized, ErrorOAuthUnauthorizedAttributes, FindBatchPayment, FindBatchResponse, FindPaymentPixResponse, FindPaymentResponse, FindReleasesResponse, InlineResponse200, InlineResponse2001, InlineResponse2001OcurrencesList, InlineResponse2002, InlineResponse2002PaymentsList, InlineResponse2003, InlineResponse2003ListaBoleto, InlineResponse2003ListaDevolucao, InlineResponse200PaymentsList, InlineResponse201, InlineResponse2011, InlineResponse2011PaymentsList, InlineResponse201PaymentsList, InlineResponse400, InlineResponse401, Release, RootTypeForBankSlipList, RootTypeForBankSlipsBatchPayment, RootTypeForBankSlipsBatchPaymentResponseObject, RootTypeForBatchTransferGETResponseObject, RootTypeForBatchTransferPaymentsListGET, RootTypeForBatchTransfersCancelPaymentsListObject, RootTypeForBatchTransfersCancelRequestObject, RootTypeForBatchTransfersCancelResponseObject, RootTypeForReturnedPaymentsDetails, RootTypeForReturnedPaymentsResponseObject, RootTypeForSlipsDetailsObject, TransferBase, TransferPix, TransferPixBase

Constant Summary collapse

VERSION =
'0.2.3'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



82
83
84
85
86
87
88
# File 'lib/bb_payments.rb', line 82

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