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 +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/cobrato/entities/payment.rb +42 -17
- data/lib/cobrato/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f97e21a59fbccd8ec8479388078d1b62e6a33ea7
|
4
|
+
data.tar.gz: 439e140a5d5576960635d498690b6ffad48464b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b13eb2b80ad25e2d4b6ee0b28546fb6fd8be23ea31d1f8c213b6b980a5bb92bfae16685e93f8b7be3decdfcada527656f99ec42ae9790cee5295824af5574afa
|
7
|
+
data.tar.gz: 7812c1acc98ab522c34ef1fcdc4f137dce21e87e32aae71a833dda2cddfac9eadeb6e428d7e243b3a895cd7128d0b0659fe1c8f58ee28bcfa9fb5d4c5bfe0681
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,23 +1,48 @@
|
|
1
1
|
module Cobrato
|
2
2
|
module Entities
|
3
3
|
class Payment < Base
|
4
|
-
|
5
|
-
attribute :
|
6
|
-
attribute :
|
7
|
-
attribute :
|
8
|
-
attribute :
|
9
|
-
attribute :
|
10
|
-
attribute :
|
11
|
-
attribute :
|
12
|
-
attribute :
|
13
|
-
|
14
|
-
|
15
|
-
attribute :
|
16
|
-
|
17
|
-
|
18
|
-
attribute :
|
19
|
-
attribute :
|
20
|
-
attribute :
|
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
|
data/lib/cobrato/version.rb
CHANGED
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.
|
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:
|
13
|
+
date: 2018-01-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: typhoeus
|