tpaga 0.5.2 → 0.5.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb67c91af690ffc53fcf6225f01bc2fd243ddc6e
4
- data.tar.gz: b93e68770c6a24d810f6a6083666aa38be051879
3
+ metadata.gz: f029a2891bb312d2d8c85a9bca45d55575c4efa4
4
+ data.tar.gz: ffa03c32c4a63e7d1e3de42f9b53a8b9f0f30d0a
5
5
  SHA512:
6
- metadata.gz: e13dd8777f1480022861bc8dff3e7c84a6fb061ebdd692797a4877dc4c0f80627199f7e73738cdb5dd0ec0e6f6799a18ebaa418d94c8f4d73058c365bdd54d63
7
- data.tar.gz: 134bb1061a9f7f57dd98e4fc6a58d509b193ded404b2528ded96c1564ffdd8ca0cde94311d5730031dc101fd91538153a684b3bcec5a53e9d721e9f4b459ff6b
6
+ metadata.gz: 7ba2ff87305d79140d67f8e187c8d3e136e21520b209b052051aaa2f65007a9d3c3c1ba27f1e43206ed0b0f27b4c12f75e87b30111197a51f4d3bd55f932fcd3
7
+ data.tar.gz: b27a8df0d0388b07847dc2769067bcd9b1f5b249c8f82191499bf9c537b7ce2c1cd7746366d8e41c32e2ba6039c40f48a3cd89376202f1e370b32525e97e3a0d
@@ -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, :error_code, :error_message
4
+ attr_accessor :id, :amount, :tax_amount, :net_amount, :iac_amount, :tip_amount, :rete_renta_amount, :rete_iva_amount, :rete_ica_amount, :tpaga_fee_amount, :currency, :credit_card, :installments, :order_id, :description, :paid, :customer, :payment_transaction, :third_party_id, :transaction_info, :error_code, :error_message, :child_merchant_id
5
5
  # attribute mapping from ruby-style variable name to JSON key
6
6
  def self.attribute_map
7
7
  {
@@ -14,6 +14,27 @@ module Tpaga
14
14
 
15
15
  #
16
16
  :'tax_amount' => :'taxAmount',
17
+
18
+ #
19
+ :'net_amount' => :'netAmount',
20
+
21
+ #
22
+ :'iac_amount' => :'iacAmount',
23
+
24
+ #
25
+ :'tip_amount' => :'tipAmount',
26
+
27
+ #
28
+ :'rete_renta_amount' => :'reteRentaAmount',
29
+
30
+ #
31
+ :'rete_iva_amount' => :'reteIvaAmount',
32
+
33
+ #
34
+ :'rete_ica_amount' => :'reteIcaAmount',
35
+
36
+ #
37
+ :'tpaga_fee_amount' => :'tpagaFeeAmount',
17
38
 
18
39
  # 3-letter ISO code for currency.
19
40
  :'currency' => :'currency',
@@ -50,6 +71,9 @@ module Tpaga
50
71
 
51
72
  #
52
73
  :'error_message' => :'errorMessage',
74
+
75
+ #
76
+ :'child_merchant_id' => :'childMerchantId',
53
77
  }
54
78
  end
55
79
 
@@ -59,6 +83,13 @@ module Tpaga
59
83
  :'id' => :'string',
60
84
  :'amount' => :'number',
61
85
  :'tax_amount' => :'number',
86
+ :'net_amount' => :'number',
87
+ :'iac_amount' => :'number',
88
+ :'tip_amount' => :'number',
89
+ :'rete_renta_amount' => :'number',
90
+ :'rete_iva_amount' => :'number',
91
+ :'rete_ica_amount' => :'number',
92
+ :'tpaga_fee_amount' => :'number',
62
93
  :'currency' => :'string',
63
94
  :'credit_card' => :'string',
64
95
  :'installments' => :'number',
@@ -71,6 +102,7 @@ module Tpaga
71
102
  :'transaction_info' => :'TransactionInfo',
72
103
  :'error_code' => :'string',
73
104
  :'error_message' => :'string',
105
+ :'child_merchant_id' => :'string',
74
106
  }
75
107
  end
76
108
 
@@ -93,6 +125,34 @@ module Tpaga
93
125
  @tax_amount = attributes[:'taxAmount']
94
126
  end
95
127
 
128
+ if attributes[:'netAmount']
129
+ @net_amount = attributes[:'netAmount']
130
+ end
131
+
132
+ if attributes[:'iacAmount']
133
+ @iac_amount = attributes[:'iacAmount']
134
+ end
135
+
136
+ if attributes[:'tipAmount']
137
+ @tip_amount = attributes[:'tipAmount']
138
+ end
139
+
140
+ if attributes[:'reteRentaAmount']
141
+ @rete_renta_amount = attributes[:'reteRentaAmount']
142
+ end
143
+
144
+ if attributes[:'reteIvaAmount']
145
+ @rete_iva_amount = attributes[:'reteIvaAmount']
146
+ end
147
+
148
+ if attributes[:'reteIcaAmount']
149
+ @rete_ica_amount = attributes[:'reteIcaAmount']
150
+ end
151
+
152
+ if attributes[:'tpagaFeeAmount']
153
+ @tpaga_fee_amount = attributes[:'tpagaFeeAmount']
154
+ end
155
+
96
156
  if attributes[:'currency']
97
157
  @currency = attributes[:'currency']
98
158
  end
@@ -140,6 +200,10 @@ module Tpaga
140
200
  if attributes[:'errorMessage']
141
201
  @error_message = attributes[:'errorMessage']
142
202
  end
203
+
204
+ if attributes[:'childMerchantId']
205
+ @child_merchant_id = attributes[:'childMerchantId']
206
+ end
143
207
  end
144
208
  end
145
209
  end
@@ -1,5 +1,5 @@
1
1
  module Tpaga
2
2
  module Swagger
3
- VERSION = "0.5.2"
3
+ VERSION = "0.5.3"
4
4
  end
5
5
  end
data/tpaga.gemspec CHANGED
@@ -4,7 +4,7 @@ require "tpaga/swagger/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "tpaga"
7
- s.date = "2016-09-01"
7
+ s.date = "2017-01-18"
8
8
  s.version = Tpaga::Swagger::VERSION
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ["Sebastian Ortiz V."]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tpaga
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Ortiz V.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-01 00:00:00.000000000 Z
11
+ date: 2017-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus