cobrato-client 0.23.0.beta4 → 0.23.0.beta5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4168db3f83cbcd116274e08c8510111a09216e72
4
- data.tar.gz: '019282a3de99cf8ec3c18f51bab5d4027ec65272'
3
+ metadata.gz: f97e21a59fbccd8ec8479388078d1b62e6a33ea7
4
+ data.tar.gz: 439e140a5d5576960635d498690b6ffad48464b7
5
5
  SHA512:
6
- metadata.gz: 003a1d0745e3ab78710056fb8fd8454bd918071e59aa599550afacac6de314bb9cd06f604ca25be2eaa32067479353a2aa2dd7baaea95721f69a2849ca8392ff
7
- data.tar.gz: 1727eace46e08c88bad1f8d03b1f3a2c7de92834a2aed190d745f77c3df9d66d0d9ff8ccca64d346bf5fdfb80fbc05874246f9f72b9e1b7596c7b4602d3e3f0a
6
+ metadata.gz: b13eb2b80ad25e2d4b6ee0b28546fb6fd8be23ea31d1f8c213b6b980a5bb92bfae16685e93f8b7be3decdfcada527656f99ec42ae9790cee5295824af5574afa
7
+ data.tar.gz: 7812c1acc98ab522c34ef1fcdc4f137dce21e87e32aae71a833dda2cddfac9eadeb6e428d7e243b3a895cd7128d0b0659fe1c8f58ee28bcfa9fb5d4c5bfe0681
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Next version
4
4
 
5
+ ## v0.23.0.beta5
6
+
7
+ - Add Billet payment support
8
+ - Add GPS payment support
9
+ - Add DARF payment support
10
+
5
11
  ## v0.23.0.beta4
6
12
 
7
13
  - Add changes on RegressCnab API:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cobrato-client (0.23.0.beta4)
4
+ cobrato-client (0.23.0.beta5)
5
5
  multi_json (~> 1.11.2)
6
6
  typhoeus (~> 0.8.0)
7
7
  virtus (~> 1.0.5)
@@ -1,23 +1,48 @@
1
1
  module Cobrato
2
2
  module Entities
3
3
  class Payment < Base
4
- attribute :id, Integer
5
- attribute :payment_config_id, Integer
6
- attribute :amount, Decimal
7
- attribute :date, Date
8
- attribute :our_number, String
9
- attribute :payment_method, String
10
- attribute :payment_type, String
11
- attribute :account, String
12
- attribute :account_digit, String
13
- attribute :agency, String
14
- attribute :bank_code, String
15
- attribute :payee_name, String
16
- attribute :payee_document_type, String
17
- attribute :payee_document, String
18
- attribute :doc_goal, String
19
- attribute :ted_goal, String
20
- attribute :registration_status, String
4
+ # Shared with all
5
+ attribute :id, Integer
6
+ attribute :payment_config_id, Integer
7
+ attribute :amount, Decimal
8
+ attribute :date, Date
9
+ attribute :our_number, String
10
+ attribute :payment_method, String
11
+ attribute :payment_type, String
12
+ attribute :registration_status, String
13
+
14
+ # Shared with some
15
+ attribute :due_date, Date
16
+
17
+ # Transfer specific
18
+ attribute :account, String
19
+ attribute :account_digit, String
20
+ attribute :agency, String
21
+ attribute :bank_code, String
22
+ attribute :payee_name, String
23
+ attribute :payee_document_type, String
24
+ attribute :payee_document, String
25
+ attribute :doc_goal, String
26
+ attribute :ted_goal, String
27
+
28
+ # Billet specific
29
+ attribute :discount_amount, Decimal
30
+ attribute :extra_amount, Decimal
31
+ attribute :barcode, String
32
+
33
+ # GPS specific
34
+ attribute :gps_payment_code, String
35
+ attribute :competency_month, String
36
+ attribute :competency_year, String
37
+ attribute :other_entities_amount, Decimal
38
+ attribute :monetary_update, Decimal
39
+
40
+ # DARF specific
41
+ attribute :calculation_period, Date
42
+ attribute :receita_federal_code, String
43
+ attribute :reference_number, String
44
+ attribute :mulct_amount, Decimal
45
+ attribute :interest_amount, Decimal
21
46
  end
22
47
  end
23
48
  end
@@ -1,3 +1,3 @@
1
1
  module Cobrato
2
- VERSION = '0.23.0.beta4'
2
+ VERSION = '0.23.0.beta5'
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.23.0.beta4
4
+ version: 0.23.0.beta5
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: 2017-12-21 00:00:00.000000000 Z
13
+ date: 2018-01-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: typhoeus