cobrato-client 0.23.0.beta5 → 0.23.0.beta6

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: f97e21a59fbccd8ec8479388078d1b62e6a33ea7
4
- data.tar.gz: 439e140a5d5576960635d498690b6ffad48464b7
3
+ metadata.gz: e53c7bf0898a07e569aa2382a97a620943ecedfc
4
+ data.tar.gz: 79b481a578cb1a29d9777d9133b3d32baab278d0
5
5
  SHA512:
6
- metadata.gz: b13eb2b80ad25e2d4b6ee0b28546fb6fd8be23ea31d1f8c213b6b980a5bb92bfae16685e93f8b7be3decdfcada527656f99ec42ae9790cee5295824af5574afa
7
- data.tar.gz: 7812c1acc98ab522c34ef1fcdc4f137dce21e87e32aae71a833dda2cddfac9eadeb6e428d7e243b3a895cd7128d0b0659fe1c8f58ee28bcfa9fb5d4c5bfe0681
6
+ metadata.gz: b6f63dad02d1e73b278c65f06172be3e9d758b0e480c03f74204fd2cc4dc8cce5b46f8f57f8a6c48f99aecad90c40195ca9a94f5bede1448f09700384be10334
7
+ data.tar.gz: afb8b8308216f9297028876e978fda5e77e2d0c89314bae6e8410ed10de9b3c0e60e83fe8259689bb1c5a6e98ff49a25dc819ef453756eaa0144f35e4667e410
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Next version
4
4
 
5
+ ## v0.23.0.beta6
6
+
7
+ - Add DAS payment Support
8
+ - Add IPVA payment Support
9
+
5
10
  ## v0.23.0.beta5
6
11
 
7
12
  - Add Billet payment support
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cobrato-client (0.23.0.beta5)
4
+ cobrato-client (0.23.0.beta6)
5
5
  multi_json (~> 1.11.2)
6
6
  typhoeus (~> 0.8.0)
7
7
  virtus (~> 1.0.5)
@@ -2,47 +2,58 @@ module Cobrato
2
2
  module Entities
3
3
  class Payment < Base
4
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
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
13
 
14
14
  # Shared with some
15
- attribute :due_date, Date
15
+ attribute :due_date, Date
16
+ attribute :calculation_period, Date
17
+ attribute :receita_federal_code, String
18
+ attribute :mulct_amount, Decimal
19
+ attribute :interest_amount, Decimal
20
+ attribute :discount_amount, Decimal
21
+ attribute :competency_year, String
16
22
 
17
23
  # 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
24
+ attribute :account, String
25
+ attribute :account_digit, String
26
+ attribute :agency, String
27
+ attribute :bank_code, String
28
+ attribute :payee_name, String
29
+ attribute :payee_document_type, String
30
+ attribute :payee_document, String
31
+ attribute :doc_goal, String
32
+ attribute :ted_goal, String
27
33
 
28
34
  # Billet specific
29
- attribute :discount_amount, Decimal
30
- attribute :extra_amount, Decimal
31
- attribute :barcode, String
35
+ attribute :extra_amount, Decimal
36
+ attribute :barcode, String
32
37
 
33
38
  # 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
+ attribute :gps_payment_code, String
40
+ attribute :competency_month, String
41
+ attribute :other_entities_amount, Decimal
42
+ attribute :monetary_update, Decimal
39
43
 
40
44
  # 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
45
+ attribute :reference_number, String
46
+
47
+ # DAS specific
48
+ attribute :gross_revenue, Decimal
49
+ attribute :gross_revenue_percentage, Decimal
50
+
51
+ # IPVA specific
52
+ attribute :city_code, Integer
53
+ attribute :license_plate, String
54
+ attribute :payment_option, String
55
+ attribute :renavam, String
56
+ attribute :uf, String
46
57
  end
47
58
  end
48
59
  end
@@ -1,3 +1,3 @@
1
1
  module Cobrato
2
- VERSION = '0.23.0.beta5'
2
+ VERSION = '0.23.0.beta6'
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.beta5
4
+ version: 0.23.0.beta6
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: 2018-01-05 00:00:00.000000000 Z
13
+ date: 2018-01-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: typhoeus