tpaga 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tpaga/models/credit_card_charge.rb +17 -3
- data/lib/tpaga/swagger/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: bb67c91af690ffc53fcf6225f01bc2fd243ddc6e
|
|
4
|
+
data.tar.gz: b93e68770c6a24d810f6a6083666aa38be051879
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e13dd8777f1480022861bc8dff3e7c84a6fb061ebdd692797a4877dc4c0f80627199f7e73738cdb5dd0ec0e6f6799a18ebaa418d94c8f4d73058c365bdd54d63
|
|
7
|
+
data.tar.gz: 134bb1061a9f7f57dd98e4fc6a58d509b193ded404b2528ded96c1564ffdd8ca0cde94311d5730031dc101fd91538153a684b3bcec5a53e9d721e9f4b459ff6b
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Tpaga
|
|
2
2
|
#
|
|
3
3
|
class CreditCardCharge < BaseObject
|
|
4
|
-
attr_accessor :id, :amount, :tax_amount, :currency, :credit_card, :installments, :order_id, :description, :paid, :customer, :payment_transaction, :third_party_id, :transaction_info
|
|
4
|
+
attr_accessor :id, :amount, :tax_amount, :currency, :credit_card, :installments, :order_id, :description, :paid, :customer, :payment_transaction, :third_party_id, :transaction_info, :error_code, :error_message
|
|
5
5
|
# attribute mapping from ruby-style variable name to JSON key
|
|
6
6
|
def self.attribute_map
|
|
7
7
|
{
|
|
@@ -43,8 +43,13 @@ module Tpaga
|
|
|
43
43
|
:'payment_transaction' => :'paymentTransaction',
|
|
44
44
|
|
|
45
45
|
#
|
|
46
|
-
:'transaction_info' => :'transactionInfo'
|
|
46
|
+
:'transaction_info' => :'transactionInfo',
|
|
47
47
|
|
|
48
|
+
#
|
|
49
|
+
:'error_code' => :'errorCode',
|
|
50
|
+
|
|
51
|
+
#
|
|
52
|
+
:'error_message' => :'errorMessage',
|
|
48
53
|
}
|
|
49
54
|
end
|
|
50
55
|
|
|
@@ -64,7 +69,8 @@ module Tpaga
|
|
|
64
69
|
:'customer' => :'string',
|
|
65
70
|
:'payment_transaction' => :'string',
|
|
66
71
|
:'transaction_info' => :'TransactionInfo',
|
|
67
|
-
|
|
72
|
+
:'error_code' => :'string',
|
|
73
|
+
:'error_message' => :'string',
|
|
68
74
|
}
|
|
69
75
|
end
|
|
70
76
|
|
|
@@ -126,6 +132,14 @@ module Tpaga
|
|
|
126
132
|
if attributes[:'transactionInfo']
|
|
127
133
|
@transaction_info = attributes[:'transactionInfo']
|
|
128
134
|
end
|
|
135
|
+
|
|
136
|
+
if attributes[:'errorCode']
|
|
137
|
+
@error_code = attributes[:'errorCode']
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
if attributes[:'errorMessage']
|
|
141
|
+
@error_message = attributes[:'errorMessage']
|
|
142
|
+
end
|
|
129
143
|
end
|
|
130
144
|
end
|
|
131
145
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tpaga
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sebastian Ortiz V.
|
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
136
136
|
version: '0'
|
|
137
137
|
requirements: []
|
|
138
138
|
rubyforge_project:
|
|
139
|
-
rubygems_version: 2.5.
|
|
139
|
+
rubygems_version: 2.5.2
|
|
140
140
|
signing_key:
|
|
141
141
|
specification_version: 4
|
|
142
142
|
summary: TPaga API Ruby Bindings powered by Swagger
|