cobrato-client 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cobrato/entities/charge.rb +33 -22
- data/lib/cobrato/entities/charge_account.rb +15 -11
- 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: d123af513005fa875eb8ce0386a1d9e6fdf849ec
|
4
|
+
data.tar.gz: 14227f6e2d40e795becedbdbdee3123e1f6c8906
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,
|
5
|
-
attribute :charge_account_id,
|
6
|
-
attribute :due_date,
|
7
|
-
attribute :processing_date,
|
8
|
-
attribute :document_kind,
|
9
|
-
attribute :document_date,
|
10
|
-
attribute :document_number,
|
11
|
-
attribute :custom_our_number,
|
12
|
-
attribute :our_number,
|
13
|
-
attribute :our_number_digit,
|
14
|
-
attribute :total_amount,
|
15
|
-
attribute :instructions,
|
16
|
-
attribute :demonstrative,
|
17
|
-
attribute :payer_emails,
|
18
|
-
attribute :payer_info,
|
19
|
-
attribute :received,
|
20
|
-
attribute :received_amount,
|
21
|
-
attribute :received_at,
|
22
|
-
attribute :processing_date,
|
23
|
-
attribute :for_homologation,
|
24
|
-
attribute :
|
25
|
-
attribute :
|
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,
|
5
|
-
attribute :bank_account_id,
|
6
|
-
attribute :portfolio_code,
|
7
|
-
attribute :agreement_code,
|
8
|
-
attribute :agreement_code_digit,
|
9
|
-
attribute :name,
|
10
|
-
attribute :initial_number,
|
11
|
-
attribute :current_number,
|
12
|
-
attribute :end_number,
|
13
|
-
attribute :status,
|
14
|
-
attribute :
|
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
|
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.2.
|
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-
|
13
|
+
date: 2015-12-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: typhoeus
|