tpaga 0.5.3 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f029a2891bb312d2d8c85a9bca45d55575c4efa4
4
- data.tar.gz: ffa03c32c4a63e7d1e3de42f9b53a8b9f0f30d0a
3
+ metadata.gz: b30ff81b8ed9ee75ba76e8fe58f5c34c85e99ba6
4
+ data.tar.gz: c8f0ab1724746094967ac11d66bd5b2561d823f4
5
5
  SHA512:
6
- metadata.gz: 7ba2ff87305d79140d67f8e187c8d3e136e21520b209b052051aaa2f65007a9d3c3c1ba27f1e43206ed0b0f27b4c12f75e87b30111197a51f4d3bd55f932fcd3
7
- data.tar.gz: b27a8df0d0388b07847dc2769067bcd9b1f5b249c8f82191499bf9c537b7ce2c1cd7746366d8e41c32e2ba6039c40f48a3cd89376202f1e370b32525e97e3a0d
6
+ metadata.gz: c0f3f568b9753f13878c573b55df55692b9b5033537a5697ff250b1a78669b35a65d5b5254fd6e97a3017b136836d2733b52362c60a82f3c10f37dee77dde992
7
+ data.tar.gz: d89ebdd6a783e4f9b4e7a6fc570e0a8e93707f7ac4b59779f9aa62ec2a4fd058b4bf9ee6b07375e8d38bc833c960a8d9cb57f68e32e0d88722f3847a80e9b8a8
@@ -11,6 +11,7 @@ require 'tpaga/models/base_object'
11
11
  require 'tpaga/models/city'
12
12
  require 'tpaga/models/address'
13
13
  require 'tpaga/models/customer'
14
+ require 'tpaga/models/credit_card_check_result'
14
15
  require 'tpaga/models/credit_card'
15
16
  require 'tpaga/models/credit_card_create'
16
17
  require 'tpaga/models/credit_card_refund'
@@ -1,7 +1,7 @@
1
1
  module Tpaga
2
2
  #
3
3
  class CreditCard < BaseObject
4
- attr_accessor :id, :bin, :type, :expiration_month, :expiration_year, :card_verification_code, :card_holder_name, :last_four, :customer, :address_line1, :address_line2, :address_city, :address_state, :address_postal_code, :address_country, :validation_charge
4
+ attr_accessor :id, :bin, :type, :expiration_month, :expiration_year, :card_verification_code, :card_holder_name, :last_four, :customer, :address_line1, :address_line2, :address_city, :address_state, :address_postal_code, :address_country, :validation_charge, :credit_card_checks
5
5
  # attribute mapping from ruby-style variable name to JSON key
6
6
  def self.attribute_map
7
7
  {
@@ -50,6 +50,9 @@ module Tpaga
50
50
 
51
51
  #
52
52
  :'validation_charge' => :'validationCharge',
53
+
54
+ #
55
+ :'credit_card_checks' => :'creditCardChecks',
53
56
 
54
57
  #
55
58
  :'address_country' => :'addressCountry'
@@ -76,6 +79,7 @@ module Tpaga
76
79
  :'address_postal_code' => :'string',
77
80
  :'address_country' => :'string',
78
81
  :'validation_charge' => :'ValidationCharge',
82
+ :'credit_card_checks' => :'CreditCardCheckResult',
79
83
 
80
84
  }
81
85
  end
@@ -150,6 +154,10 @@ module Tpaga
150
154
  if attributes[:'validationCharge']
151
155
  @validation_charge = attributes[:'validationCharge']
152
156
  end
157
+
158
+ if attributes[:'creditCardChecks']
159
+ @credit_card_checks = attributes[:'creditCardChecks']
160
+ end
153
161
 
154
162
  end
155
163
  end
@@ -0,0 +1,36 @@
1
+ module Tpaga
2
+ #
3
+ class CreditCardCheckResult < BaseObject
4
+ attr_accessor :card_holder_legal_id_matches
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'card_holder_legal_id_matches' => :'cardHolderLegalIdMatches',
11
+
12
+ }
13
+ end
14
+
15
+ # attribute type
16
+ def self.swagger_types
17
+ {
18
+ :'card_holder_legal_id_matches' => :'string',
19
+
20
+ }
21
+ end
22
+
23
+ def initialize(attributes = {})
24
+ return if !attributes.is_a?(Hash) || attributes.empty?
25
+
26
+ # convert string to symbol for hash key
27
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
28
+
29
+
30
+ if attributes[:'cardHolderLegalIdMatches']
31
+ @card_holder_legal_id_matches = attributes[:'card_holder_legal_id_matches']
32
+ end
33
+
34
+ end
35
+ end
36
+ end
@@ -1,5 +1,5 @@
1
1
  module Tpaga
2
2
  module Swagger
3
- VERSION = "0.5.3"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
@@ -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 = "2017-01-18"
7
+ s.date = "2017-05-19"
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.3
4
+ version: 0.6.0
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: 2017-01-18 00:00:00.000000000 Z
11
+ date: 2017-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -99,6 +99,7 @@ files:
99
99
  - lib/tpaga/models/city.rb
100
100
  - lib/tpaga/models/credit_card.rb
101
101
  - lib/tpaga/models/credit_card_charge.rb
102
+ - lib/tpaga/models/credit_card_check_result.rb
102
103
  - lib/tpaga/models/credit_card_create.rb
103
104
  - lib/tpaga/models/credit_card_refund.rb
104
105
  - lib/tpaga/models/customer.rb