asaas-ruby 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/asaas/models/payment.rb +16 -0
- data/lib/asaas/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f507426da712c7a3a0084c26562aba4dec8089a59db3d9c8f495af3b87830f0a
|
4
|
+
data.tar.gz: bdaf257968a318b239714e95b87523713748e004f842715a45ea510e3b62fd4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6281c1aeba9da6b628a8054e1b167ae6a978bee495ecf2b2072b107df5af123ba9df12f5c2530060e25e79e8aa0efc914e59068a6c70b3192a47160189d6af14
|
7
|
+
data.tar.gz: ecf00e6c9dd0f7afef6121ef881522cd49b4cf0f4ef892e06e75854bc2151b52228597a81165658021a27f75f608de9dc90b1ff989db01266a88e53be97237f6
|
data/lib/asaas/models/payment.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
module Asaas
|
2
2
|
class Payment < Model
|
3
3
|
BillingTypes = Types::Strict::String.enum('BOLETO', 'CREDIT_CARD', 'UNDEFINED')
|
4
|
+
Status = Types::Strict::String.enum('PENDING', 'RECEIVED', 'CONFIRMED', 'OVERDUE', 'REFUNDED', 'RECEIVED_IN_CASH', 'REFUND_REQUESTED', 'CHARGEBACK_DISPUTE', 'AWAITING_CHARGEBACK_REVERSAL')
|
4
5
|
|
5
6
|
attribute :id, Types::Coercible::String.optional.default(nil)
|
6
7
|
attribute :customer, Types::Coercible::String
|
@@ -14,5 +15,20 @@ module Asaas
|
|
14
15
|
attribute :discount, Discount.optional.default(nil)
|
15
16
|
attribute :interest, Interest.optional.default(nil)
|
16
17
|
attribute :fine, Fine.optional.default(nil)
|
18
|
+
|
19
|
+
attribute :status, Status.optional.default(nil)
|
20
|
+
attribute :dateCreated, Types::Coercible::String.optional.default(nil)
|
21
|
+
attribute :subscription, Types::Coercible::String.optional.default(nil)
|
22
|
+
attribute :originalDueDate, Types::Coercible::String.optional.default(nil)
|
23
|
+
attribute :originalValue, Types::Coercible::Decimal.optional.default(nil)
|
24
|
+
attribute :interestValue, Types::Coercible::Decimal.optional.default(nil)
|
25
|
+
attribute :confirmedDate, Types::Coercible::String.optional.default(nil)
|
26
|
+
attribute :paymentDate, Types::Coercible::String.optional.default(nil)
|
27
|
+
attribute :clientPaymentDate, Types::Coercible::String.optional.default(nil)
|
28
|
+
attribute :invoiceUrl, Types::Coercible::String.optional.default(nil)
|
29
|
+
attribute :bankSlipUrl, Types::Coercible::String.optional.default(nil)
|
30
|
+
attribute :invoiceNumber, Types::Coercible::String.optional.default(nil)
|
31
|
+
attribute :deleted, Types::Coercible::String.optional.default(nil)
|
32
|
+
|
17
33
|
end
|
18
34
|
end
|
data/lib/asaas/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asaas-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcos Junior
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -264,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
264
|
version: '0'
|
265
265
|
requirements: []
|
266
266
|
rubyforge_project:
|
267
|
-
rubygems_version: 2.
|
267
|
+
rubygems_version: 2.7.7
|
268
268
|
signing_key:
|
269
269
|
specification_version: 4
|
270
270
|
summary: Asass.com Ruby API Wrapper
|