Class: BancoBrasilPayments::BatchPixBody

Inherits:
Body
  • Object
show all
Defined in:
lib/bb_payments/models/batch_pix_body.rb

Overview

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

Instance Attribute Summary

Attributes inherited from Body

#check_digits_debit_current_account, #debit_branch_office, #debit_current_account, #payment_contract, #payment_type, #payments_list, #request_identification

Class Method Summary collapse

Methods inherited from Body

#==, #_deserialize, #_to_hash, #build_from_hash, build_from_hash, #eql?, #hash, #initialize, #list_invalid_properties, openapi_nullable, #to_body, #to_hash, #to_s, #valid?

Constructor Details

This class inherits a constructor from BancoBrasilPayments::Body

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/bb_payments/models/batch_pix_body.rb', line 5

def self.attribute_map
  {
    request_identification: :numeroRequisicao,
    payment_contract: :numeroContrato,
    debit_branch_office: :agenciaDebito,
    debit_current_account: :contaCorrenteDebito,
    check_digits_debit_current_account: :digitoVerificadorContaCorrente,
    payment_type: :tipoPagamento,
    payments_list: :listaTransferencias
  }
end

.openapi_typesObject

Attribute type mapping.



18
19
20
21
22
23
24
25
26
27
28
# File 'lib/bb_payments/models/batch_pix_body.rb', line 18

def self.openapi_types
  {
    request_identification: :Integer,
    payment_contract: :Integer,
    debit_branch_office: :Integer,
    debit_current_account: :Integer,
    check_digits_debit_current_account: :String,
    payment_type: :Integer,
    payments_list: :'Array<TransferPixBase>'
  }
end