cobrato-client 0.23.0 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/cobrato/entities/charge.rb +25 -21
- data/lib/cobrato/entities/charge_config.rb +4 -0
- 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: 0fb1d0d5dc08643935df189784eba5e12274184c
|
4
|
+
data.tar.gz: 48e931bf88e6e4ba492036f16b263a77bfd44ad3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28aebe760c662048f0c88d19867f7a1a7f14b1aa54e1c3653f7241c7d042bc609809b61ef68774e47d9d42d305d979fb902f0852cad55e16bb231093adbc095b
|
7
|
+
data.tar.gz: a1d19dcf8056a5f2b7d8c2b97248c26d2ae344e54463bdb53bef982c8c987ff41415a8dbdfcc0dbc80461767de09cce9db87d0172594aea44fe78dc5390744b4
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -5,7 +5,8 @@ module Cobrato
|
|
5
5
|
attribute :type, String
|
6
6
|
attribute :charge_config_id, Integer
|
7
7
|
attribute :charged_amount, Decimal
|
8
|
-
attribute :
|
8
|
+
attribute :charge_template_id, Integer
|
9
|
+
attribute :notification_emails, Array
|
9
10
|
attribute :payer_id, Integer
|
10
11
|
attribute :payer_national_identifier_type, String
|
11
12
|
attribute :payer_national_identifier, String
|
@@ -18,20 +19,37 @@ module Cobrato
|
|
18
19
|
attribute :payer_city, String
|
19
20
|
attribute :payer_state, String
|
20
21
|
attribute :for_homologation, Boolean
|
21
|
-
attribute :for_homologation, Boolean
|
22
22
|
attribute :canceled_at, DateTime
|
23
23
|
attribute :paid_amount, Decimal
|
24
24
|
attribute :paid_at, Date
|
25
|
+
attribute :due_date, Date
|
25
26
|
|
26
27
|
attribute :total_amount, Decimal # deprecated
|
27
28
|
attribute :received, Boolean # deprecated
|
28
29
|
attribute :received_amount, Decimal # deprecated
|
29
30
|
attribute :received_at, Date # deprecated
|
30
31
|
|
31
|
-
#
|
32
|
-
attribute :
|
33
|
-
attribute :
|
32
|
+
# credit card specifics
|
33
|
+
attribute :credit_card_id, Integer
|
34
|
+
attribute :description, String
|
35
|
+
attribute :soft_descriptor, String
|
36
|
+
attribute :payment_method, String
|
37
|
+
attribute :installments, Integer
|
38
|
+
attribute :payment_gateway_status, String
|
39
|
+
attribute :payment_gateway_message, String
|
40
|
+
|
41
|
+
# billet shared
|
42
|
+
attribute :interest_amount_per_month, Decimal
|
43
|
+
attribute :mulct_value, Decimal
|
44
|
+
attribute :available_billet, Boolean
|
45
|
+
attribute :auto_send_billet, Boolean
|
46
|
+
attribute :email_sender_name, String
|
47
|
+
attribute :email_subject, String
|
48
|
+
attribute :email_text, String
|
34
49
|
attribute :document_kind, String
|
50
|
+
|
51
|
+
# bank billet specifics
|
52
|
+
attribute :processing_date, Date
|
35
53
|
attribute :document_date, Date
|
36
54
|
attribute :document_number, String
|
37
55
|
attribute :custom_our_number, Boolean
|
@@ -41,29 +59,15 @@ module Cobrato
|
|
41
59
|
attribute :demonstrative, String
|
42
60
|
attribute :registrable, Boolean
|
43
61
|
attribute :registration_status, String
|
44
|
-
attribute :interest_amount_per_month, Decimal
|
45
62
|
attribute :mulct_type, String
|
46
|
-
attribute :mulct_value, Decimal
|
47
63
|
attribute :payment_tax, Decimal
|
48
|
-
attribute :auto_send_billet, Boolean
|
49
|
-
attribute :email_sender_name, String
|
50
|
-
attribute :email_subject, String
|
51
|
-
attribute :email_text, String
|
52
|
-
attribute :charge_template_id, Integer
|
53
64
|
attribute :paid_discount, Decimal
|
54
65
|
attribute :paid_additions, Decimal
|
55
66
|
attribute :paid_rebate, Decimal
|
56
67
|
attribute :paid_difference, Decimal
|
57
|
-
attribute :available_billet, Boolean
|
58
68
|
|
59
|
-
#
|
60
|
-
attribute :
|
61
|
-
attribute :description, String
|
62
|
-
attribute :soft_descriptor, String
|
63
|
-
attribute :payment_method, String
|
64
|
-
attribute :installments, Integer
|
65
|
-
attribute :payment_gateway_status, String
|
66
|
-
attribute :payment_gateway_message, String
|
69
|
+
# gateway billet specifics
|
70
|
+
attribute :discount_amount, Decimal
|
67
71
|
end
|
68
72
|
end
|
69
73
|
end
|
@@ -6,6 +6,7 @@ module Cobrato
|
|
6
6
|
attribute :type, String
|
7
7
|
attribute :status, String
|
8
8
|
attribute :payee_id, String
|
9
|
+
attribute :available_charge_types, Array
|
9
10
|
|
10
11
|
# billet specifics
|
11
12
|
attribute :bank_account_id, Integer
|
@@ -28,6 +29,9 @@ module Cobrato
|
|
28
29
|
attribute :gateway_name, String
|
29
30
|
attribute :gateway_id, String
|
30
31
|
attribute :gateway_key, String
|
32
|
+
attribute :billet_gateway_id, String
|
33
|
+
attribute :billet_gateway_key, String
|
34
|
+
attribute :account_holder, Boolean
|
31
35
|
attribute :use_avs, Boolean
|
32
36
|
end
|
33
37
|
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.
|
4
|
+
version: 0.24.0
|
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-04-
|
13
|
+
date: 2018-04-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: typhoeus
|