cobrato-client 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6eda361218e42b13cce7bdb7472d24680809fa8b
4
- data.tar.gz: 70b1bec0094d3610bdd8800f6c01f6b72eaf48aa
3
+ metadata.gz: d123af513005fa875eb8ce0386a1d9e6fdf849ec
4
+ data.tar.gz: 14227f6e2d40e795becedbdbdee3123e1f6c8906
5
5
  SHA512:
6
- metadata.gz: 32c12ddf8fb2aa7cff936096c16f35a3cc8b2c252c1b6711fb5bbf85044bdaf676b5a328244d5bc1653d314d020125b1ddcfe5a36bf9d21ca782415aca6a1390
7
- data.tar.gz: 447716348a9330eb58bde41bc15eeea8bd81ce7c4fde5ab9c8d5b267a084b9bcdb10c76cf75cfc075b365b0dc53ca8e806092048a533c1fc240439e2600d2fd1
6
+ metadata.gz: f13bc89917e394fee5a4679c6354b05c043bc5f4736933807b5ca103b11eb1d007caefa0fc0da6ce300d8d11ed1cfde6fa47e840855e80c6a64257a0b68e432d
7
+ data.tar.gz: c5f1b00c6d4f547e16a999db1a4e1255529a7c0f4b5728bfcd3e677f84ef35b5eb859b474eb3beb2a3dd0ea33ac3e276e2e6c2dd9ac6ccf10daf9d5a70fd598d
@@ -1,28 +1,39 @@
1
1
  module Cobrato
2
2
  module Entities
3
3
  class Charge < Base
4
- attribute :id, Integer
5
- attribute :charge_account_id, Integer
6
- attribute :due_date, Date
7
- attribute :processing_date, Date
8
- attribute :document_kind, String
9
- attribute :document_date, Date
10
- attribute :document_number, String
11
- attribute :custom_our_number, Boolean
12
- attribute :our_number, String
13
- attribute :our_number_digit, String
14
- attribute :total_amount, Decimal
15
- attribute :instructions, String
16
- attribute :demonstrative, String
17
- attribute :payer_emails, String
18
- attribute :payer_info, String
19
- attribute :received, Boolean
20
- attribute :received_amount, Decimal
21
- attribute :received_at, Date
22
- attribute :processing_date, Date
23
- attribute :for_homologation, Boolean
24
- attribute :payment_method, String
25
- attribute :has_cnab_remittance, Boolean
4
+ attribute :id, Integer
5
+ attribute :charge_account_id, Integer
6
+ attribute :due_date, Date
7
+ attribute :processing_date, Date
8
+ attribute :document_kind, String
9
+ attribute :document_date, Date
10
+ attribute :document_number, String
11
+ attribute :custom_our_number, Boolean
12
+ attribute :our_number, String
13
+ attribute :our_number_digit, String
14
+ attribute :total_amount, Decimal
15
+ attribute :instructions, String
16
+ attribute :demonstrative, String
17
+ attribute :payer_emails, String
18
+ attribute :payer_info, String
19
+ attribute :received, Boolean
20
+ attribute :received_amount, Decimal
21
+ attribute :received_at, Date
22
+ attribute :processing_date, Date
23
+ attribute :for_homologation, Boolean
24
+ attribute :has_cnab_remittance, Boolean
25
+ attribute :registered, Boolean
26
+ attribute :status, String
27
+ attribute :payer_national_identifier_type, String
28
+ attribute :payer_national_identifier, String
29
+ attribute :payer_name, String
30
+ attribute :payer_number, String
31
+ attribute :payer_complement, String
32
+ attribute :payer_street, String
33
+ attribute :payer_neighbourhood, String
34
+ attribute :payer_zipcode, String
35
+ attribute :payer_city, String
36
+ attribute :payer_state, String
26
37
  end
27
38
  end
28
39
  end
@@ -1,17 +1,21 @@
1
1
  module Cobrato
2
2
  module Entities
3
3
  class ChargeAccount < Base
4
- attribute :id, Integer
5
- attribute :bank_account_id, Integer
6
- attribute :portfolio_code, String
7
- attribute :agreement_code, String
8
- attribute :agreement_code_digit, String
9
- attribute :name, String
10
- attribute :initial_number, Integer
11
- attribute :current_number, Integer
12
- attribute :end_number, Integer
13
- attribute :status, String
14
- attribute :payment_methods, Array
4
+ attribute :id, Integer
5
+ attribute :bank_account_id, Integer
6
+ attribute :portfolio_code, String
7
+ attribute :agreement_code, String
8
+ attribute :agreement_code_digit, String
9
+ attribute :name, String
10
+ attribute :initial_number, Integer
11
+ attribute :current_number, Integer
12
+ attribute :end_number, Integer
13
+ attribute :status, String
14
+ attribute :registered_charges, Boolean
15
+ attribute :agreement_number, Integer
16
+ attribute :initial_remittance_number, Integer
17
+ attribute :current_remittance_number, Integer
18
+ attribute :remittance_cnab_pattern, Integer
15
19
  end
16
20
  end
17
21
  end
@@ -1,3 +1,3 @@
1
1
  module Cobrato
2
- VERSION = "0.2.3"
2
+ VERSION = '0.2.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cobrato-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcio Ricardo Santos
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2015-10-27 00:00:00.000000000 Z
13
+ date: 2015-12-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: typhoeus