cybersource_rest_client 0.0.38 → 0.0.39

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
  SHA256:
3
- metadata.gz: 1886b4add8b84bfbac736fe78a758ee265e3152d7101c178f00789b30ab9bfb1
4
- data.tar.gz: 11ee54eae5380c12c771557a7e3f601692f2a290552d9e3ca2f826e08ec49099
3
+ metadata.gz: fbdd5f35abd5afa0c46a6aac6315f61d23e1a9cb74620ff8228e65e130aca397
4
+ data.tar.gz: 0e436424c85a013f63457ea1714721b694351b67bbbfb9665137df03175b4689
5
5
  SHA512:
6
- metadata.gz: a1a9802d9b4e6235caf2ce686559421af96aa400c9caa799c830b0cdcb6df9f5e8e4fe549ec70c998a4e9144fefbd0234e222a143bdf102087a41aef97852ff3
7
- data.tar.gz: 1ac08f343b72208a7294127ffb39817af640241ed8a7f135fa2e9bdf95232160a58e3cccd359b20107a41b0b5e23e8fb6605938a59b0cbc40b7e6835ef683a18
6
+ metadata.gz: d0ef8e7b39c29ec6b720690e9b7d4e0899a0f917264435c00be41b068f2d0fbeee0cac3bdea0e27142e295ad8f0fd25dc7cfc0e86143f06ed43cc8fc5b542012
7
+ data.tar.gz: c3f7ef86353ce4106a2c73b83c241f6d77c7bd542fd85f94266bbbd8858e7af89e1ace1cba9c0618a8cb0b82643b3e9a0d52d826e9c08e604590aae50af333e1
@@ -21,7 +21,7 @@ module CyberSource
21
21
  @api_client.set_configuration(config)
22
22
  end
23
23
  # Process a Payment
24
- # A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. Find more on [Authorization with Add-On Features page.](https://developer.cybersource.com/api/authorization-add-ons.html)
24
+ # A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
25
25
  # @param create_payment_request
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [PtsV2PaymentsPost201Response]
@@ -31,7 +31,7 @@ module CyberSource
31
31
  end
32
32
 
33
33
  # Process a Payment
34
- # A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation. Find more on [Authorization with Add-On Features page.](https://developer.cybersource.com/api/authorization-add-ons.html)
34
+ # A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-payments/GettingStarted.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
35
35
  # @param create_payment_request
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @return [Array<(PtsV2PaymentsPost201Response, Fixnum, Hash)>] PtsV2PaymentsPost201Response data, response status code and response headers
@@ -14,6 +14,9 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class PtsV2PaymentsRefundPost201ResponseProcessorInformation
17
+ # Authorization code. Returned only when the processor returns this value. The length of this value depends on your processor. Returned by authorization service. #### PIN debit Authorization code that is returned by the processor. Returned by PIN debit credit. #### Elavon Encrypted Account Number Program The returned value is OFFLINE. #### TSYS Acquiring Solutions The returned value for a successful zero amount authorization is 000000.
18
+ attr_accessor :approval_code
19
+
17
20
  # Processor transaction ID. This value identifies the transaction on a host system. This value is supported only for Moneris. It contains this information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. Example For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003
18
21
  attr_accessor :transaction_id
19
22
 
@@ -31,6 +34,7 @@ module CyberSource
31
34
  # Attribute mapping from ruby-style variable name to JSON key.
32
35
  def self.attribute_map
33
36
  {
37
+ :'approval_code' => :'approvalCode',
34
38
  :'transaction_id' => :'transactionId',
35
39
  :'forwarded_acquirer_code' => :'forwardedAcquirerCode',
36
40
  :'merchant_number' => :'merchantNumber',
@@ -42,6 +46,7 @@ module CyberSource
42
46
  # Attribute type mapping.
43
47
  def self.swagger_types
44
48
  {
49
+ :'approval_code' => :'String',
45
50
  :'transaction_id' => :'String',
46
51
  :'forwarded_acquirer_code' => :'String',
47
52
  :'merchant_number' => :'String',
@@ -58,6 +63,10 @@ module CyberSource
58
63
  # convert string to symbol for hash key
59
64
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
60
65
 
66
+ if attributes.has_key?(:'approvalCode')
67
+ self.approval_code = attributes[:'approvalCode']
68
+ end
69
+
61
70
  if attributes.has_key?(:'transactionId')
62
71
  self.transaction_id = attributes[:'transactionId']
63
72
  end
@@ -92,6 +101,12 @@ module CyberSource
92
101
  true
93
102
  end
94
103
 
104
+ # Custom attribute writer method with validation
105
+ # @param [Object] approval_code Value to be assigned
106
+ def approval_code=(approval_code)
107
+ @approval_code = approval_code
108
+ end
109
+
95
110
  # Custom attribute writer method with validation
96
111
  # @param [Object] transaction_id Value to be assigned
97
112
  def transaction_id=(transaction_id)
@@ -121,6 +136,7 @@ module CyberSource
121
136
  def ==(o)
122
137
  return true if self.equal?(o)
123
138
  self.class == o.class &&
139
+ approval_code == o.approval_code &&
124
140
  transaction_id == o.transaction_id &&
125
141
  forwarded_acquirer_code == o.forwarded_acquirer_code &&
126
142
  merchant_number == o.merchant_number &&
@@ -137,7 +153,7 @@ module CyberSource
137
153
  # Calculates hash code according to all attributes.
138
154
  # @return [Fixnum] Hash code
139
155
  def hash
140
- [transaction_id, forwarded_acquirer_code, merchant_number, response_code, ach_verification].hash
156
+ [approval_code, transaction_id, forwarded_acquirer_code, merchant_number, response_code, ach_verification].hash
141
157
  end
142
158
 
143
159
  # Builds the object from hash
@@ -38,7 +38,7 @@ module CyberSource
38
38
  # The state where the merchant is located. #### PIN debit State code or region code for your business. Use the Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) This value might be displayed on the cardholder’s statement. When you do not include this value in your PIN debit request, the merchant name from your account is used. **Important** This value must consist of English characters. **Note** This field is supported only for businesses located in the U.S. or Canada. Optional field for PIN debit credit or PIN debit purchase.
39
39
  attr_accessor :administrative_area
40
40
 
41
- # Merchnat phone as contact information for CNP transactions
41
+ # Merchant phone as contact information for CNP transactions
42
42
  attr_accessor :phone
43
43
 
44
44
  # Address of company's website provided by merchant
@@ -26,9 +26,6 @@ module CyberSource
26
26
  # Your CyberSource merchant ID.
27
27
  attr_accessor :merchant_id
28
28
 
29
- # The status of the submitted transaction.
30
- attr_accessor :status
31
-
32
29
  # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
33
30
  attr_accessor :submit_time_utc
34
31
 
@@ -69,6 +66,8 @@ module CyberSource
69
66
 
70
67
  attr_accessor :sender_information
71
68
 
69
+ attr_accessor :token_information
70
+
72
71
  attr_accessor :_links
73
72
 
74
73
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -78,7 +77,6 @@ module CyberSource
78
77
  :'root_id' => :'rootId',
79
78
  :'reconciliation_id' => :'reconciliationId',
80
79
  :'merchant_id' => :'merchantId',
81
- :'status' => :'status',
82
80
  :'submit_time_utc' => :'submitTimeUTC',
83
81
  :'application_information' => :'applicationInformation',
84
82
  :'buyer_information' => :'buyerInformation',
@@ -98,6 +96,7 @@ module CyberSource
98
96
  :'point_of_sale_information' => :'pointOfSaleInformation',
99
97
  :'risk_information' => :'riskInformation',
100
98
  :'sender_information' => :'senderInformation',
99
+ :'token_information' => :'tokenInformation',
101
100
  :'_links' => :'_links'
102
101
  }
103
102
  end
@@ -109,7 +108,6 @@ module CyberSource
109
108
  :'root_id' => :'String',
110
109
  :'reconciliation_id' => :'String',
111
110
  :'merchant_id' => :'String',
112
- :'status' => :'String',
113
111
  :'submit_time_utc' => :'String',
114
112
  :'application_information' => :'TssV2TransactionsGet200ResponseApplicationInformation',
115
113
  :'buyer_information' => :'TssV2TransactionsGet200ResponseBuyerInformation',
@@ -129,6 +127,7 @@ module CyberSource
129
127
  :'point_of_sale_information' => :'TssV2TransactionsGet200ResponsePointOfSaleInformation',
130
128
  :'risk_information' => :'TssV2TransactionsGet200ResponseRiskInformation',
131
129
  :'sender_information' => :'TssV2TransactionsGet200ResponseSenderInformation',
130
+ :'token_information' => :'TssV2TransactionsGet200ResponseTokenInformation',
132
131
  :'_links' => :'TssV2TransactionsGet200ResponseLinks'
133
132
  }
134
133
  end
@@ -157,10 +156,6 @@ module CyberSource
157
156
  self.merchant_id = attributes[:'merchantId']
158
157
  end
159
158
 
160
- if attributes.has_key?(:'status')
161
- self.status = attributes[:'status']
162
- end
163
-
164
159
  if attributes.has_key?(:'submitTimeUTC')
165
160
  self.submit_time_utc = attributes[:'submitTimeUTC']
166
161
  end
@@ -239,6 +234,10 @@ module CyberSource
239
234
  self.sender_information = attributes[:'senderInformation']
240
235
  end
241
236
 
237
+ if attributes.has_key?(:'tokenInformation')
238
+ self.token_information = attributes[:'tokenInformation']
239
+ end
240
+
242
241
  if attributes.has_key?(:'_links')
243
242
  self._links = attributes[:'_links']
244
243
  end
@@ -284,7 +283,6 @@ module CyberSource
284
283
  root_id == o.root_id &&
285
284
  reconciliation_id == o.reconciliation_id &&
286
285
  merchant_id == o.merchant_id &&
287
- status == o.status &&
288
286
  submit_time_utc == o.submit_time_utc &&
289
287
  application_information == o.application_information &&
290
288
  buyer_information == o.buyer_information &&
@@ -304,6 +302,7 @@ module CyberSource
304
302
  point_of_sale_information == o.point_of_sale_information &&
305
303
  risk_information == o.risk_information &&
306
304
  sender_information == o.sender_information &&
305
+ token_information == o.token_information &&
307
306
  _links == o._links
308
307
  end
309
308
 
@@ -316,7 +315,7 @@ module CyberSource
316
315
  # Calculates hash code according to all attributes.
317
316
  # @return [Fixnum] Hash code
318
317
  def hash
319
- [id, root_id, reconciliation_id, merchant_id, status, submit_time_utc, application_information, buyer_information, client_reference_information, consumer_authentication_information, device_information, error_information, installment_information, fraud_marking_information, health_care_information, merchant_defined_information, merchant_information, order_information, payment_information, processing_information, processor_information, point_of_sale_information, risk_information, sender_information, _links].hash
318
+ [id, root_id, reconciliation_id, merchant_id, submit_time_utc, application_information, buyer_information, client_reference_information, consumer_authentication_information, device_information, error_information, installment_information, fraud_marking_information, health_care_information, merchant_defined_information, merchant_information, order_information, payment_information, processing_information, processor_information, point_of_sale_information, risk_information, sender_information, token_information, _links].hash
320
319
  end
321
320
 
322
321
  # Builds the object from hash
@@ -26,6 +26,8 @@ module CyberSource
26
26
  # The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.
27
27
  attr_accessor :application_user
28
28
 
29
+ attr_accessor :partner
30
+
29
31
  # Brief description of the order or any comment you wish to add to the order.
30
32
  attr_accessor :comments
31
33
 
@@ -36,6 +38,7 @@ module CyberSource
36
38
  :'application_version' => :'applicationVersion',
37
39
  :'application_name' => :'applicationName',
38
40
  :'application_user' => :'applicationUser',
41
+ :'partner' => :'partner',
39
42
  :'comments' => :'comments'
40
43
  }
41
44
  end
@@ -47,6 +50,7 @@ module CyberSource
47
50
  :'application_version' => :'String',
48
51
  :'application_name' => :'String',
49
52
  :'application_user' => :'String',
53
+ :'partner' => :'TssV2TransactionsGet200ResponseClientReferenceInformationPartner',
50
54
  :'comments' => :'String'
51
55
  }
52
56
  end
@@ -75,6 +79,10 @@ module CyberSource
75
79
  self.application_user = attributes[:'applicationUser']
76
80
  end
77
81
 
82
+ if attributes.has_key?(:'partner')
83
+ self.partner = attributes[:'partner']
84
+ end
85
+
78
86
  if attributes.has_key?(:'comments')
79
87
  self.comments = attributes[:'comments']
80
88
  end
@@ -114,6 +122,7 @@ module CyberSource
114
122
  application_version == o.application_version &&
115
123
  application_name == o.application_name &&
116
124
  application_user == o.application_user &&
125
+ partner == o.partner &&
117
126
  comments == o.comments
118
127
  end
119
128
 
@@ -126,7 +135,7 @@ module CyberSource
126
135
  # Calculates hash code according to all attributes.
127
136
  # @return [Fixnum] Hash code
128
137
  def hash
129
- [code, application_version, application_name, application_user, comments].hash
138
+ [code, application_version, application_name, application_user, partner, comments].hash
130
139
  end
131
140
 
132
141
  # Builds the object from hash
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner
16
+ class TssV2TransactionsGet200ResponseClientReferenceInformationPartner
17
17
  # Identifier for the partner that is integrated to CyberSource. Send this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner. **Note** When you see a solutionId of 999 in reports, the solutionId that was submitted is incorrect.
18
18
  attr_accessor :solution_id
19
19
 
@@ -26,6 +26,12 @@ module CyberSource
26
26
 
27
27
  attr_accessor :account_features
28
28
 
29
+ attr_accessor :payment_instrument
30
+
31
+ attr_accessor :instrument_identifier
32
+
33
+ attr_accessor :shipping_address
34
+
29
35
  # Attribute mapping from ruby-style variable name to JSON key.
30
36
  def self.attribute_map
31
37
  {
@@ -34,7 +40,10 @@ module CyberSource
34
40
  :'card' => :'card',
35
41
  :'invoice' => :'invoice',
36
42
  :'bank' => :'bank',
37
- :'account_features' => :'accountFeatures'
43
+ :'account_features' => :'accountFeatures',
44
+ :'payment_instrument' => :'paymentInstrument',
45
+ :'instrument_identifier' => :'instrumentIdentifier',
46
+ :'shipping_address' => :'shippingAddress'
38
47
  }
39
48
  end
40
49
 
@@ -42,11 +51,14 @@ module CyberSource
42
51
  def self.swagger_types
43
52
  {
44
53
  :'payment_type' => :'TssV2TransactionsGet200ResponsePaymentInformationPaymentType',
45
- :'customer' => :'Riskv1authenticationsetupsPaymentInformationCustomer',
54
+ :'customer' => :'TssV2TransactionsGet200ResponsePaymentInformationCustomer',
46
55
  :'card' => :'TssV2TransactionsGet200ResponsePaymentInformationCard',
47
56
  :'invoice' => :'TssV2TransactionsGet200ResponsePaymentInformationInvoice',
48
57
  :'bank' => :'TssV2TransactionsGet200ResponsePaymentInformationBank',
49
- :'account_features' => :'TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures'
58
+ :'account_features' => :'TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures',
59
+ :'payment_instrument' => :'PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument',
60
+ :'instrument_identifier' => :'TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier',
61
+ :'shipping_address' => :'PtsV2PaymentsPost201ResponseTokenInformationShippingAddress'
50
62
  }
51
63
  end
52
64
 
@@ -81,6 +93,18 @@ module CyberSource
81
93
  if attributes.has_key?(:'accountFeatures')
82
94
  self.account_features = attributes[:'accountFeatures']
83
95
  end
96
+
97
+ if attributes.has_key?(:'paymentInstrument')
98
+ self.payment_instrument = attributes[:'paymentInstrument']
99
+ end
100
+
101
+ if attributes.has_key?(:'instrumentIdentifier')
102
+ self.instrument_identifier = attributes[:'instrumentIdentifier']
103
+ end
104
+
105
+ if attributes.has_key?(:'shippingAddress')
106
+ self.shipping_address = attributes[:'shippingAddress']
107
+ end
84
108
  end
85
109
 
86
110
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -106,7 +130,10 @@ module CyberSource
106
130
  card == o.card &&
107
131
  invoice == o.invoice &&
108
132
  bank == o.bank &&
109
- account_features == o.account_features
133
+ account_features == o.account_features &&
134
+ payment_instrument == o.payment_instrument &&
135
+ instrument_identifier == o.instrument_identifier &&
136
+ shipping_address == o.shipping_address
110
137
  end
111
138
 
112
139
  # @see the `==` method
@@ -118,7 +145,7 @@ module CyberSource
118
145
  # Calculates hash code according to all attributes.
119
146
  # @return [Fixnum] Hash code
120
147
  def hash
121
- [payment_type, customer, card, invoice, bank, account_features].hash
148
+ [payment_type, customer, card, invoice, bank, account_features, payment_instrument, instrument_identifier, shipping_address].hash
122
149
  end
123
150
 
124
151
  # Builds the object from hash
@@ -0,0 +1,206 @@
1
+ =begin
2
+ #CyberSource Merged Spec
3
+
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CyberSource
16
+ class TssV2TransactionsGet200ResponsePaymentInformationCustomer
17
+ # Unique identifier for the legacy Secure Storage token used in the transaction. When you include this value in your request, many of the fields that are normally required for an authorization or credit become optional.
18
+ attr_accessor :customer_id
19
+
20
+ # Unique identifier for the Customer token that was created as part of a bundled TOKEN_CREATE action.
21
+ attr_accessor :id
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+ :'customer_id' => :'customerId',
27
+ :'id' => :'id'
28
+ }
29
+ end
30
+
31
+ # Attribute type mapping.
32
+ def self.swagger_types
33
+ {
34
+ :'customer_id' => :'String',
35
+ :'id' => :'String'
36
+ }
37
+ end
38
+
39
+ # Initializes the object
40
+ # @param [Hash] attributes Model attributes in the form of hash
41
+ def initialize(attributes = {})
42
+ return unless attributes.is_a?(Hash)
43
+
44
+ # convert string to symbol for hash key
45
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
46
+
47
+ if attributes.has_key?(:'customerId')
48
+ self.customer_id = attributes[:'customerId']
49
+ end
50
+
51
+ if attributes.has_key?(:'id')
52
+ self.id = attributes[:'id']
53
+ end
54
+ end
55
+
56
+ # Show invalid properties with the reasons. Usually used together with valid?
57
+ # @return Array for valid properties with the reasons
58
+ def list_invalid_properties
59
+ invalid_properties = Array.new
60
+ invalid_properties
61
+ end
62
+
63
+ # Check to see if the all the properties in the model are valid
64
+ # @return true if the model is valid
65
+ def valid?
66
+ true
67
+ end
68
+
69
+ # Custom attribute writer method with validation
70
+ # @param [Object] customer_id Value to be assigned
71
+ def customer_id=(customer_id)
72
+ @customer_id = customer_id
73
+ end
74
+
75
+ # Custom attribute writer method with validation
76
+ # @param [Object] id Value to be assigned
77
+ def id=(id)
78
+ @id = id
79
+ end
80
+
81
+ # Checks equality by comparing each attribute.
82
+ # @param [Object] Object to be compared
83
+ def ==(o)
84
+ return true if self.equal?(o)
85
+ self.class == o.class &&
86
+ customer_id == o.customer_id &&
87
+ id == o.id
88
+ end
89
+
90
+ # @see the `==` method
91
+ # @param [Object] Object to be compared
92
+ def eql?(o)
93
+ self == o
94
+ end
95
+
96
+ # Calculates hash code according to all attributes.
97
+ # @return [Fixnum] Hash code
98
+ def hash
99
+ [customer_id, id].hash
100
+ end
101
+
102
+ # Builds the object from hash
103
+ # @param [Hash] attributes Model attributes in the form of hash
104
+ # @return [Object] Returns the model itself
105
+ def build_from_hash(attributes)
106
+ return nil unless attributes.is_a?(Hash)
107
+ self.class.swagger_types.each_pair do |key, type|
108
+ if type =~ /\AArray<(.*)>/i
109
+ # check to ensure the input is an array given that the the attribute
110
+ # is documented as an array but the input is not
111
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
112
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
113
+ end
114
+ elsif !attributes[self.class.attribute_map[key]].nil?
115
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
116
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
117
+ end
118
+
119
+ self
120
+ end
121
+
122
+ # Deserializes the data based on type
123
+ # @param string type Data type
124
+ # @param string value Value to be deserialized
125
+ # @return [Object] Deserialized data
126
+ def _deserialize(type, value)
127
+ case type.to_sym
128
+ when :DateTime
129
+ DateTime.parse(value)
130
+ when :Date
131
+ Date.parse(value)
132
+ when :String
133
+ value.to_s
134
+ when :Integer
135
+ value.to_i
136
+ when :Float
137
+ value.to_f
138
+ when :BOOLEAN
139
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
140
+ true
141
+ else
142
+ false
143
+ end
144
+ when :Object
145
+ # generic object (usually a Hash), return directly
146
+ value
147
+ when /\AArray<(?<inner_type>.+)>\z/
148
+ inner_type = Regexp.last_match[:inner_type]
149
+ value.map { |v| _deserialize(inner_type, v) }
150
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
151
+ k_type = Regexp.last_match[:k_type]
152
+ v_type = Regexp.last_match[:v_type]
153
+ {}.tap do |hash|
154
+ value.each do |k, v|
155
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
156
+ end
157
+ end
158
+ else # model
159
+ temp_model = CyberSource.const_get(type).new
160
+ temp_model.build_from_hash(value)
161
+ end
162
+ end
163
+
164
+ # Returns the string representation of the object
165
+ # @return [String] String presentation of the object
166
+ def to_s
167
+ to_hash.to_s
168
+ end
169
+
170
+ # to_body is an alias to to_hash (backward compatibility)
171
+ # @return [Hash] Returns the object in the form of hash
172
+ def to_body
173
+ to_hash
174
+ end
175
+
176
+ # Returns the object in the form of hash
177
+ # @return [Hash] Returns the object in the form of hash
178
+ def to_hash
179
+ hash = {}
180
+ self.class.attribute_map.each_pair do |attr, param|
181
+ value = self.send(attr)
182
+ next if value.nil?
183
+ hash[param] = _to_hash(value)
184
+ end
185
+ hash
186
+ end
187
+
188
+ # Outputs non-array value in the form of hash
189
+ # For object, use to_hash. Otherwise, just return the value
190
+ # @param [Object] value Any valid value
191
+ # @return [Hash] Returns the value in the form of hash
192
+ def _to_hash(value)
193
+ if value.is_a?(Array)
194
+ value.compact.map { |v| _to_hash(v) }
195
+ elsif value.is_a?(Hash)
196
+ {}.tap do |hash|
197
+ value.each { |k, v| hash[k] = _to_hash(v) }
198
+ end
199
+ elsif value.respond_to? :to_hash
200
+ value.to_hash
201
+ else
202
+ value
203
+ end
204
+ end
205
+ end
206
+ end
@@ -0,0 +1,190 @@
1
+ =begin
2
+ #CyberSource Merged Spec
3
+
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CyberSource
16
+ class TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier
17
+ # Unique identifier for the Instrument Identifier token that was created as part of a bundled TOKEN_CREATE action.
18
+ attr_accessor :id
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'id' => :'id'
24
+ }
25
+ end
26
+
27
+ # Attribute type mapping.
28
+ def self.swagger_types
29
+ {
30
+ :'id' => :'String'
31
+ }
32
+ end
33
+
34
+ # Initializes the object
35
+ # @param [Hash] attributes Model attributes in the form of hash
36
+ def initialize(attributes = {})
37
+ return unless attributes.is_a?(Hash)
38
+
39
+ # convert string to symbol for hash key
40
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
41
+
42
+ if attributes.has_key?(:'id')
43
+ self.id = attributes[:'id']
44
+ end
45
+ end
46
+
47
+ # Show invalid properties with the reasons. Usually used together with valid?
48
+ # @return Array for valid properties with the reasons
49
+ def list_invalid_properties
50
+ invalid_properties = Array.new
51
+ invalid_properties
52
+ end
53
+
54
+ # Check to see if the all the properties in the model are valid
55
+ # @return true if the model is valid
56
+ def valid?
57
+ true
58
+ end
59
+
60
+ # Custom attribute writer method with validation
61
+ # @param [Object] id Value to be assigned
62
+ def id=(id)
63
+ @id = id
64
+ end
65
+
66
+ # Checks equality by comparing each attribute.
67
+ # @param [Object] Object to be compared
68
+ def ==(o)
69
+ return true if self.equal?(o)
70
+ self.class == o.class &&
71
+ id == o.id
72
+ end
73
+
74
+ # @see the `==` method
75
+ # @param [Object] Object to be compared
76
+ def eql?(o)
77
+ self == o
78
+ end
79
+
80
+ # Calculates hash code according to all attributes.
81
+ # @return [Fixnum] Hash code
82
+ def hash
83
+ [id].hash
84
+ end
85
+
86
+ # Builds the object from hash
87
+ # @param [Hash] attributes Model attributes in the form of hash
88
+ # @return [Object] Returns the model itself
89
+ def build_from_hash(attributes)
90
+ return nil unless attributes.is_a?(Hash)
91
+ self.class.swagger_types.each_pair do |key, type|
92
+ if type =~ /\AArray<(.*)>/i
93
+ # check to ensure the input is an array given that the the attribute
94
+ # is documented as an array but the input is not
95
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
96
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
97
+ end
98
+ elsif !attributes[self.class.attribute_map[key]].nil?
99
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
100
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
101
+ end
102
+
103
+ self
104
+ end
105
+
106
+ # Deserializes the data based on type
107
+ # @param string type Data type
108
+ # @param string value Value to be deserialized
109
+ # @return [Object] Deserialized data
110
+ def _deserialize(type, value)
111
+ case type.to_sym
112
+ when :DateTime
113
+ DateTime.parse(value)
114
+ when :Date
115
+ Date.parse(value)
116
+ when :String
117
+ value.to_s
118
+ when :Integer
119
+ value.to_i
120
+ when :Float
121
+ value.to_f
122
+ when :BOOLEAN
123
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
124
+ true
125
+ else
126
+ false
127
+ end
128
+ when :Object
129
+ # generic object (usually a Hash), return directly
130
+ value
131
+ when /\AArray<(?<inner_type>.+)>\z/
132
+ inner_type = Regexp.last_match[:inner_type]
133
+ value.map { |v| _deserialize(inner_type, v) }
134
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
135
+ k_type = Regexp.last_match[:k_type]
136
+ v_type = Regexp.last_match[:v_type]
137
+ {}.tap do |hash|
138
+ value.each do |k, v|
139
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
140
+ end
141
+ end
142
+ else # model
143
+ temp_model = CyberSource.const_get(type).new
144
+ temp_model.build_from_hash(value)
145
+ end
146
+ end
147
+
148
+ # Returns the string representation of the object
149
+ # @return [String] String presentation of the object
150
+ def to_s
151
+ to_hash.to_s
152
+ end
153
+
154
+ # to_body is an alias to to_hash (backward compatibility)
155
+ # @return [Hash] Returns the object in the form of hash
156
+ def to_body
157
+ to_hash
158
+ end
159
+
160
+ # Returns the object in the form of hash
161
+ # @return [Hash] Returns the object in the form of hash
162
+ def to_hash
163
+ hash = {}
164
+ self.class.attribute_map.each_pair do |attr, param|
165
+ value = self.send(attr)
166
+ next if value.nil?
167
+ hash[param] = _to_hash(value)
168
+ end
169
+ hash
170
+ end
171
+
172
+ # Outputs non-array value in the form of hash
173
+ # For object, use to_hash. Otherwise, just return the value
174
+ # @param [Object] value Any valid value
175
+ # @return [Hash] Returns the value in the form of hash
176
+ def _to_hash(value)
177
+ if value.is_a?(Array)
178
+ value.compact.map { |v| _to_hash(v) }
179
+ elsif value.is_a?(Hash)
180
+ {}.tap do |hash|
181
+ value.each { |k, v| hash[k] = _to_hash(v) }
182
+ end
183
+ elsif value.respond_to? :to_hash
184
+ value.to_hash
185
+ else
186
+ value
187
+ end
188
+ end
189
+ end
190
+ end
@@ -51,6 +51,9 @@ module CyberSource
51
51
  # Used by Visa only and contains the response source/reason code that identifies the source of the response decision.
52
52
  attr_accessor :response_code_source
53
53
 
54
+ # Visa-generated reference number that identifies a card-present transaction for which you provided one of the following: - Visa primary account number (PAN) - Visa-generated token for a PAN This reference number serves as a link to the cardholder account and to all transactions for that account. This reply field is returned only for CyberSource through VisaNet. **Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR8 - Position: 79-110 - Field: Payment Account Reference The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant’s acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks.
55
+ attr_accessor :payment_account_reference_number
56
+
54
57
  # Attribute mapping from ruby-style variable name to JSON key.
55
58
  def self.attribute_map
56
59
  {
@@ -67,7 +70,8 @@ module CyberSource
67
70
  :'ach_verification' => :'achVerification',
68
71
  :'electronic_verification_results' => :'electronicVerificationResults',
69
72
  :'system_trace_audit_number' => :'systemTraceAuditNumber',
70
- :'response_code_source' => :'responseCodeSource'
73
+ :'response_code_source' => :'responseCodeSource',
74
+ :'payment_account_reference_number' => :'paymentAccountReferenceNumber'
71
75
  }
72
76
  end
73
77
 
@@ -87,7 +91,8 @@ module CyberSource
87
91
  :'ach_verification' => :'PtsV2PaymentsPost201ResponseProcessorInformationAchVerification',
88
92
  :'electronic_verification_results' => :'TssV2TransactionsGet200ResponseProcessorInformationElectronicVerificationResults',
89
93
  :'system_trace_audit_number' => :'String',
90
- :'response_code_source' => :'String'
94
+ :'response_code_source' => :'String',
95
+ :'payment_account_reference_number' => :'String'
91
96
  }
92
97
  end
93
98
 
@@ -156,6 +161,10 @@ module CyberSource
156
161
  if attributes.has_key?(:'responseCodeSource')
157
162
  self.response_code_source = attributes[:'responseCodeSource']
158
163
  end
164
+
165
+ if attributes.has_key?(:'paymentAccountReferenceNumber')
166
+ self.payment_account_reference_number = attributes[:'paymentAccountReferenceNumber']
167
+ end
159
168
  end
160
169
 
161
170
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -207,6 +216,12 @@ module CyberSource
207
216
  @response_code_source = response_code_source
208
217
  end
209
218
 
219
+ # Custom attribute writer method with validation
220
+ # @param [Object] payment_account_reference_number Value to be assigned
221
+ def payment_account_reference_number=(payment_account_reference_number)
222
+ @payment_account_reference_number = payment_account_reference_number
223
+ end
224
+
210
225
  # Checks equality by comparing each attribute.
211
226
  # @param [Object] Object to be compared
212
227
  def ==(o)
@@ -225,7 +240,8 @@ module CyberSource
225
240
  ach_verification == o.ach_verification &&
226
241
  electronic_verification_results == o.electronic_verification_results &&
227
242
  system_trace_audit_number == o.system_trace_audit_number &&
228
- response_code_source == o.response_code_source
243
+ response_code_source == o.response_code_source &&
244
+ payment_account_reference_number == o.payment_account_reference_number
229
245
  end
230
246
 
231
247
  # @see the `==` method
@@ -237,7 +253,7 @@ module CyberSource
237
253
  # Calculates hash code according to all attributes.
238
254
  # @return [Fixnum] Hash code
239
255
  def hash
240
- [processor, multi_processor_routing, transaction_id, network_transaction_id, retrieval_reference_number, response_id, approval_code, response_code, avs, card_verification, ach_verification, electronic_verification_results, system_trace_audit_number, response_code_source].hash
256
+ [processor, multi_processor_routing, transaction_id, network_transaction_id, retrieval_reference_number, response_id, approval_code, response_code, avs, card_verification, ach_verification, electronic_verification_results, system_trace_audit_number, response_code_source, payment_account_reference_number].hash
241
257
  end
242
258
 
243
259
  # Builds the object from hash
@@ -0,0 +1,210 @@
1
+ =begin
2
+ #CyberSource Merged Spec
3
+
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CyberSource
16
+ class TssV2TransactionsGet200ResponseTokenInformation
17
+ attr_accessor :customer
18
+
19
+ attr_accessor :payment_instrument
20
+
21
+ attr_accessor :shipping_address
22
+
23
+ attr_accessor :instrument_identifier
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+ :'customer' => :'customer',
29
+ :'payment_instrument' => :'paymentInstrument',
30
+ :'shipping_address' => :'shippingAddress',
31
+ :'instrument_identifier' => :'instrumentIdentifier'
32
+ }
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.swagger_types
37
+ {
38
+ :'customer' => :'PtsV2PaymentsPost201ResponseTokenInformationCustomer',
39
+ :'payment_instrument' => :'PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument',
40
+ :'shipping_address' => :'PtsV2PaymentsPost201ResponseTokenInformationShippingAddress',
41
+ :'instrument_identifier' => :'TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier'
42
+ }
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ return unless attributes.is_a?(Hash)
49
+
50
+ # convert string to symbol for hash key
51
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
52
+
53
+ if attributes.has_key?(:'customer')
54
+ self.customer = attributes[:'customer']
55
+ end
56
+
57
+ if attributes.has_key?(:'paymentInstrument')
58
+ self.payment_instrument = attributes[:'paymentInstrument']
59
+ end
60
+
61
+ if attributes.has_key?(:'shippingAddress')
62
+ self.shipping_address = attributes[:'shippingAddress']
63
+ end
64
+
65
+ if attributes.has_key?(:'instrumentIdentifier')
66
+ self.instrument_identifier = attributes[:'instrumentIdentifier']
67
+ end
68
+ end
69
+
70
+ # Show invalid properties with the reasons. Usually used together with valid?
71
+ # @return Array for valid properties with the reasons
72
+ def list_invalid_properties
73
+ invalid_properties = Array.new
74
+ invalid_properties
75
+ end
76
+
77
+ # Check to see if the all the properties in the model are valid
78
+ # @return true if the model is valid
79
+ def valid?
80
+ true
81
+ end
82
+
83
+ # Checks equality by comparing each attribute.
84
+ # @param [Object] Object to be compared
85
+ def ==(o)
86
+ return true if self.equal?(o)
87
+ self.class == o.class &&
88
+ customer == o.customer &&
89
+ payment_instrument == o.payment_instrument &&
90
+ shipping_address == o.shipping_address &&
91
+ instrument_identifier == o.instrument_identifier
92
+ end
93
+
94
+ # @see the `==` method
95
+ # @param [Object] Object to be compared
96
+ def eql?(o)
97
+ self == o
98
+ end
99
+
100
+ # Calculates hash code according to all attributes.
101
+ # @return [Fixnum] Hash code
102
+ def hash
103
+ [customer, payment_instrument, shipping_address, instrument_identifier].hash
104
+ end
105
+
106
+ # Builds the object from hash
107
+ # @param [Hash] attributes Model attributes in the form of hash
108
+ # @return [Object] Returns the model itself
109
+ def build_from_hash(attributes)
110
+ return nil unless attributes.is_a?(Hash)
111
+ self.class.swagger_types.each_pair do |key, type|
112
+ if type =~ /\AArray<(.*)>/i
113
+ # check to ensure the input is an array given that the the attribute
114
+ # is documented as an array but the input is not
115
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
116
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
117
+ end
118
+ elsif !attributes[self.class.attribute_map[key]].nil?
119
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
120
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
121
+ end
122
+
123
+ self
124
+ end
125
+
126
+ # Deserializes the data based on type
127
+ # @param string type Data type
128
+ # @param string value Value to be deserialized
129
+ # @return [Object] Deserialized data
130
+ def _deserialize(type, value)
131
+ case type.to_sym
132
+ when :DateTime
133
+ DateTime.parse(value)
134
+ when :Date
135
+ Date.parse(value)
136
+ when :String
137
+ value.to_s
138
+ when :Integer
139
+ value.to_i
140
+ when :Float
141
+ value.to_f
142
+ when :BOOLEAN
143
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
144
+ true
145
+ else
146
+ false
147
+ end
148
+ when :Object
149
+ # generic object (usually a Hash), return directly
150
+ value
151
+ when /\AArray<(?<inner_type>.+)>\z/
152
+ inner_type = Regexp.last_match[:inner_type]
153
+ value.map { |v| _deserialize(inner_type, v) }
154
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
155
+ k_type = Regexp.last_match[:k_type]
156
+ v_type = Regexp.last_match[:v_type]
157
+ {}.tap do |hash|
158
+ value.each do |k, v|
159
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
160
+ end
161
+ end
162
+ else # model
163
+ temp_model = CyberSource.const_get(type).new
164
+ temp_model.build_from_hash(value)
165
+ end
166
+ end
167
+
168
+ # Returns the string representation of the object
169
+ # @return [String] String presentation of the object
170
+ def to_s
171
+ to_hash.to_s
172
+ end
173
+
174
+ # to_body is an alias to to_hash (backward compatibility)
175
+ # @return [Hash] Returns the object in the form of hash
176
+ def to_body
177
+ to_hash
178
+ end
179
+
180
+ # Returns the object in the form of hash
181
+ # @return [Hash] Returns the object in the form of hash
182
+ def to_hash
183
+ hash = {}
184
+ self.class.attribute_map.each_pair do |attr, param|
185
+ value = self.send(attr)
186
+ next if value.nil?
187
+ hash[param] = _to_hash(value)
188
+ end
189
+ hash
190
+ end
191
+
192
+ # Outputs non-array value in the form of hash
193
+ # For object, use to_hash. Otherwise, just return the value
194
+ # @param [Object] value Any valid value
195
+ # @return [Hash] Returns the value in the form of hash
196
+ def _to_hash(value)
197
+ if value.is_a?(Array)
198
+ value.compact.map { |v| _to_hash(v) }
199
+ elsif value.is_a?(Hash)
200
+ {}.tap do |hash|
201
+ value.each { |k, v| hash[k] = _to_hash(v) }
202
+ end
203
+ elsif value.respond_to? :to_hash
204
+ value.to_hash
205
+ else
206
+ value
207
+ end
208
+ end
209
+ end
210
+ end
@@ -41,7 +41,7 @@ module CyberSource
41
41
  :'code' => :'String',
42
42
  :'application_name' => :'String',
43
43
  :'application_user' => :'String',
44
- :'partner' => :'TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformationPartner'
44
+ :'partner' => :'TssV2TransactionsGet200ResponseClientReferenceInformationPartner'
45
45
  }
46
46
  end
47
47
 
@@ -646,6 +646,7 @@ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_appl
646
646
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information_applications'
647
647
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information'
648
648
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information'
649
+ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information_partner'
649
650
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information'
650
651
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information_strong_authentication'
651
652
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information'
@@ -668,6 +669,8 @@ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_paym
668
669
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account'
669
670
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate'
670
671
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card'
672
+ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer'
673
+ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_instrument_identifier'
671
674
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_invoice'
672
675
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type'
673
676
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information'
@@ -684,13 +687,13 @@ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_risk
684
687
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules'
685
688
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_score'
686
689
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information'
690
+ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_token_information'
687
691
  require 'cybersource_rest_client/models/tss_v2_transactions_post201_response'
688
692
  require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded'
689
693
  require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_application_information'
690
694
  require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_application_information_applications'
691
695
  require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information'
692
696
  require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information'
693
- require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information_partner'
694
697
  require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information'
695
698
  require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information'
696
699
  require 'cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded__links'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cybersource_rest_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.38
4
+ version: 0.0.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - CyberSource
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-25 00:00:00.000000000 Z
11
+ date: 2022-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -976,6 +976,7 @@ files:
976
976
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information_applications.rb
977
977
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb
978
978
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb
979
+ - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information_partner.rb
979
980
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb
980
981
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information_strong_authentication.rb
981
982
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb
@@ -997,6 +998,8 @@ files:
997
998
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb
998
999
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb
999
1000
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb
1001
+ - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb
1002
+ - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_instrument_identifier.rb
1000
1003
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_invoice.rb
1001
1004
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb
1002
1005
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb
@@ -1013,6 +1016,7 @@ files:
1013
1016
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb
1014
1017
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_score.rb
1015
1018
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb
1019
+ - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_token_information.rb
1016
1020
  - lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb
1017
1021
  - lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded.rb
1018
1022
  - lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded__links.rb
@@ -1020,7 +1024,6 @@ files:
1020
1024
  - lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_application_information_applications.rb
1021
1025
  - lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb
1022
1026
  - lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb
1023
- - lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information_partner.rb
1024
1027
  - lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb
1025
1028
  - lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb
1026
1029
  - lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb