cybersource_rest_client 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cybersource_rest_client.rb +12 -5
- data/lib/cybersource_rest_client/api/credit_api.rb +1 -1
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +4 -4
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +4 -4
- data/lib/cybersource_rest_client/api/payments_api.rb +1 -1
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +9 -9
- data/lib/cybersource_rest_client/api/reports_api.rb +9 -9
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +1 -1
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +2 -8
- data/lib/cybersource_rest_client/models/{request_body.rb → create_adhoc_report_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/{request_body_1.rb → create_report_subscription_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/error.rb +23 -13
- data/lib/cybersource_rest_client/models/error_bean.rb +1 -1
- data/lib/cybersource_rest_client/models/error_links.rb +15 -15
- data/lib/cybersource_rest_client/models/error_response.rb +2 -20
- data/lib/cybersource_rest_client/models/inline_response_400.rb +59 -14
- data/lib/cybersource_rest_client/models/inline_response_400_1.rb +14 -59
- data/lib/cybersource_rest_client/models/{inline_response_400_1_fields.rb → inline_response_400_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/link.rb +4 -25
- data/lib/cybersource_rest_client/models/links.rb +14 -18
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +22 -4
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer.rb +199 -0
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_purchase_options.rb +184 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +29 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type.rb +203 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb +184 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +22 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb +209 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +29 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidvoids_payment_information.rb +183 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +6 -6
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_payment_type.rb +1 -1
- data/lib/cybersource_rest_client/models/void_capture_request.rb +13 -4
- data/lib/cybersource_rest_client/models/void_credit_request.rb +13 -4
- data/lib/cybersource_rest_client/models/void_payment_request.rb +13 -4
- data/lib/cybersource_rest_client/models/void_refund_request.rb +13 -4
- metadata +12 -5
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class TssV2TransactionsPost201ResponseEmbeddedPaymentInformationPaymentType
|
17
|
-
# A Payment Type is an agreed means for a payee to receive legal tender from a payer. The way one pays for a commercial financial transaction. Examples: Card, Bank Transfer, Digital, Direct Debit.
|
17
|
+
# A Payment Type is an agreed means for a payee to receive legal tender from a payer. The way one pays for a commercial financial transaction. Examples: Card, Bank Transfer, Digital, Direct Debit. Possible values: - `CARD` (use this for a PIN debit transaction)
|
18
18
|
attr_accessor :name
|
19
19
|
|
20
20
|
# A Payment Type is enabled through a Method. Examples: Visa, Master Card, ApplePay, iDeal
|
@@ -16,17 +16,21 @@ module CyberSource
|
|
16
16
|
class VoidCaptureRequest
|
17
17
|
attr_accessor :client_reference_information
|
18
18
|
|
19
|
+
attr_accessor :payment_information
|
20
|
+
|
19
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
22
|
def self.attribute_map
|
21
23
|
{
|
22
|
-
:'client_reference_information' => :'clientReferenceInformation'
|
24
|
+
:'client_reference_information' => :'clientReferenceInformation',
|
25
|
+
:'payment_information' => :'paymentInformation'
|
23
26
|
}
|
24
27
|
end
|
25
28
|
|
26
29
|
# Attribute type mapping.
|
27
30
|
def self.swagger_types
|
28
31
|
{
|
29
|
-
:'client_reference_information' => :'Ptsv2paymentsidreversalsClientReferenceInformation'
|
32
|
+
:'client_reference_information' => :'Ptsv2paymentsidreversalsClientReferenceInformation',
|
33
|
+
:'payment_information' => :'Ptsv2paymentsidvoidsPaymentInformation'
|
30
34
|
}
|
31
35
|
end
|
32
36
|
|
@@ -41,6 +45,10 @@ module CyberSource
|
|
41
45
|
if attributes.has_key?(:'clientReferenceInformation')
|
42
46
|
self.client_reference_information = attributes[:'clientReferenceInformation']
|
43
47
|
end
|
48
|
+
|
49
|
+
if attributes.has_key?(:'paymentInformation')
|
50
|
+
self.payment_information = attributes[:'paymentInformation']
|
51
|
+
end
|
44
52
|
end
|
45
53
|
|
46
54
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -61,7 +69,8 @@ module CyberSource
|
|
61
69
|
def ==(o)
|
62
70
|
return true if self.equal?(o)
|
63
71
|
self.class == o.class &&
|
64
|
-
client_reference_information == o.client_reference_information
|
72
|
+
client_reference_information == o.client_reference_information &&
|
73
|
+
payment_information == o.payment_information
|
65
74
|
end
|
66
75
|
|
67
76
|
# @see the `==` method
|
@@ -73,7 +82,7 @@ module CyberSource
|
|
73
82
|
# Calculates hash code according to all attributes.
|
74
83
|
# @return [Fixnum] Hash code
|
75
84
|
def hash
|
76
|
-
[client_reference_information].hash
|
85
|
+
[client_reference_information, payment_information].hash
|
77
86
|
end
|
78
87
|
|
79
88
|
# Builds the object from hash
|
@@ -16,17 +16,21 @@ module CyberSource
|
|
16
16
|
class VoidCreditRequest
|
17
17
|
attr_accessor :client_reference_information
|
18
18
|
|
19
|
+
attr_accessor :payment_information
|
20
|
+
|
19
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
22
|
def self.attribute_map
|
21
23
|
{
|
22
|
-
:'client_reference_information' => :'clientReferenceInformation'
|
24
|
+
:'client_reference_information' => :'clientReferenceInformation',
|
25
|
+
:'payment_information' => :'paymentInformation'
|
23
26
|
}
|
24
27
|
end
|
25
28
|
|
26
29
|
# Attribute type mapping.
|
27
30
|
def self.swagger_types
|
28
31
|
{
|
29
|
-
:'client_reference_information' => :'Ptsv2paymentsidreversalsClientReferenceInformation'
|
32
|
+
:'client_reference_information' => :'Ptsv2paymentsidreversalsClientReferenceInformation',
|
33
|
+
:'payment_information' => :'Ptsv2paymentsidvoidsPaymentInformation'
|
30
34
|
}
|
31
35
|
end
|
32
36
|
|
@@ -41,6 +45,10 @@ module CyberSource
|
|
41
45
|
if attributes.has_key?(:'clientReferenceInformation')
|
42
46
|
self.client_reference_information = attributes[:'clientReferenceInformation']
|
43
47
|
end
|
48
|
+
|
49
|
+
if attributes.has_key?(:'paymentInformation')
|
50
|
+
self.payment_information = attributes[:'paymentInformation']
|
51
|
+
end
|
44
52
|
end
|
45
53
|
|
46
54
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -61,7 +69,8 @@ module CyberSource
|
|
61
69
|
def ==(o)
|
62
70
|
return true if self.equal?(o)
|
63
71
|
self.class == o.class &&
|
64
|
-
client_reference_information == o.client_reference_information
|
72
|
+
client_reference_information == o.client_reference_information &&
|
73
|
+
payment_information == o.payment_information
|
65
74
|
end
|
66
75
|
|
67
76
|
# @see the `==` method
|
@@ -73,7 +82,7 @@ module CyberSource
|
|
73
82
|
# Calculates hash code according to all attributes.
|
74
83
|
# @return [Fixnum] Hash code
|
75
84
|
def hash
|
76
|
-
[client_reference_information].hash
|
85
|
+
[client_reference_information, payment_information].hash
|
77
86
|
end
|
78
87
|
|
79
88
|
# Builds the object from hash
|
@@ -16,17 +16,21 @@ module CyberSource
|
|
16
16
|
class VoidPaymentRequest
|
17
17
|
attr_accessor :client_reference_information
|
18
18
|
|
19
|
+
attr_accessor :payment_information
|
20
|
+
|
19
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
22
|
def self.attribute_map
|
21
23
|
{
|
22
|
-
:'client_reference_information' => :'clientReferenceInformation'
|
24
|
+
:'client_reference_information' => :'clientReferenceInformation',
|
25
|
+
:'payment_information' => :'paymentInformation'
|
23
26
|
}
|
24
27
|
end
|
25
28
|
|
26
29
|
# Attribute type mapping.
|
27
30
|
def self.swagger_types
|
28
31
|
{
|
29
|
-
:'client_reference_information' => :'Ptsv2paymentsidreversalsClientReferenceInformation'
|
32
|
+
:'client_reference_information' => :'Ptsv2paymentsidreversalsClientReferenceInformation',
|
33
|
+
:'payment_information' => :'Ptsv2paymentsidvoidsPaymentInformation'
|
30
34
|
}
|
31
35
|
end
|
32
36
|
|
@@ -41,6 +45,10 @@ module CyberSource
|
|
41
45
|
if attributes.has_key?(:'clientReferenceInformation')
|
42
46
|
self.client_reference_information = attributes[:'clientReferenceInformation']
|
43
47
|
end
|
48
|
+
|
49
|
+
if attributes.has_key?(:'paymentInformation')
|
50
|
+
self.payment_information = attributes[:'paymentInformation']
|
51
|
+
end
|
44
52
|
end
|
45
53
|
|
46
54
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -61,7 +69,8 @@ module CyberSource
|
|
61
69
|
def ==(o)
|
62
70
|
return true if self.equal?(o)
|
63
71
|
self.class == o.class &&
|
64
|
-
client_reference_information == o.client_reference_information
|
72
|
+
client_reference_information == o.client_reference_information &&
|
73
|
+
payment_information == o.payment_information
|
65
74
|
end
|
66
75
|
|
67
76
|
# @see the `==` method
|
@@ -73,7 +82,7 @@ module CyberSource
|
|
73
82
|
# Calculates hash code according to all attributes.
|
74
83
|
# @return [Fixnum] Hash code
|
75
84
|
def hash
|
76
|
-
[client_reference_information].hash
|
85
|
+
[client_reference_information, payment_information].hash
|
77
86
|
end
|
78
87
|
|
79
88
|
# Builds the object from hash
|
@@ -16,17 +16,21 @@ module CyberSource
|
|
16
16
|
class VoidRefundRequest
|
17
17
|
attr_accessor :client_reference_information
|
18
18
|
|
19
|
+
attr_accessor :payment_information
|
20
|
+
|
19
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
22
|
def self.attribute_map
|
21
23
|
{
|
22
|
-
:'client_reference_information' => :'clientReferenceInformation'
|
24
|
+
:'client_reference_information' => :'clientReferenceInformation',
|
25
|
+
:'payment_information' => :'paymentInformation'
|
23
26
|
}
|
24
27
|
end
|
25
28
|
|
26
29
|
# Attribute type mapping.
|
27
30
|
def self.swagger_types
|
28
31
|
{
|
29
|
-
:'client_reference_information' => :'Ptsv2paymentsidreversalsClientReferenceInformation'
|
32
|
+
:'client_reference_information' => :'Ptsv2paymentsidreversalsClientReferenceInformation',
|
33
|
+
:'payment_information' => :'Ptsv2paymentsidvoidsPaymentInformation'
|
30
34
|
}
|
31
35
|
end
|
32
36
|
|
@@ -41,6 +45,10 @@ module CyberSource
|
|
41
45
|
if attributes.has_key?(:'clientReferenceInformation')
|
42
46
|
self.client_reference_information = attributes[:'clientReferenceInformation']
|
43
47
|
end
|
48
|
+
|
49
|
+
if attributes.has_key?(:'paymentInformation')
|
50
|
+
self.payment_information = attributes[:'paymentInformation']
|
51
|
+
end
|
44
52
|
end
|
45
53
|
|
46
54
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -61,7 +69,8 @@ module CyberSource
|
|
61
69
|
def ==(o)
|
62
70
|
return true if self.equal?(o)
|
63
71
|
self.class == o.class &&
|
64
|
-
client_reference_information == o.client_reference_information
|
72
|
+
client_reference_information == o.client_reference_information &&
|
73
|
+
payment_information == o.payment_information
|
65
74
|
end
|
66
75
|
|
67
76
|
# @see the `==` method
|
@@ -73,7 +82,7 @@ module CyberSource
|
|
73
82
|
# Calculates hash code according to all attributes.
|
74
83
|
# @return [Fixnum] Hash code
|
75
84
|
def hash
|
76
|
-
[client_reference_information].hash
|
85
|
+
[client_reference_information, payment_information].hash
|
77
86
|
end
|
78
87
|
|
79
88
|
# Builds the object from hash
|
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.
|
4
|
+
version: 0.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CyberSource
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09
|
11
|
+
date: 2019-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -342,11 +342,13 @@ files:
|
|
342
342
|
- lib/cybersource_rest_client/models/buyer_information.rb
|
343
343
|
- lib/cybersource_rest_client/models/capture_payment_request.rb
|
344
344
|
- lib/cybersource_rest_client/models/card_info.rb
|
345
|
+
- lib/cybersource_rest_client/models/create_adhoc_report_request.rb
|
345
346
|
- lib/cybersource_rest_client/models/create_credit_request.rb
|
346
347
|
- lib/cybersource_rest_client/models/create_decision_manager_case_request.rb
|
347
348
|
- lib/cybersource_rest_client/models/create_instrument_identifier_request.rb
|
348
349
|
- lib/cybersource_rest_client/models/create_payment_instrument_request.rb
|
349
350
|
- lib/cybersource_rest_client/models/create_payment_request.rb
|
351
|
+
- lib/cybersource_rest_client/models/create_report_subscription_request.rb
|
350
352
|
- lib/cybersource_rest_client/models/create_search_request.rb
|
351
353
|
- lib/cybersource_rest_client/models/der_public_key.rb
|
352
354
|
- lib/cybersource_rest_client/models/detail.rb
|
@@ -370,7 +372,7 @@ files:
|
|
370
372
|
- lib/cybersource_rest_client/models/initiator.rb
|
371
373
|
- lib/cybersource_rest_client/models/inline_response_400.rb
|
372
374
|
- lib/cybersource_rest_client/models/inline_response_400_1.rb
|
373
|
-
- lib/cybersource_rest_client/models/
|
375
|
+
- lib/cybersource_rest_client/models/inline_response_400_fields.rb
|
374
376
|
- lib/cybersource_rest_client/models/inline_response_default.rb
|
375
377
|
- lib/cybersource_rest_client/models/inline_response_default__links.rb
|
376
378
|
- lib/cybersource_rest_client/models/inline_response_default__links_next.rb
|
@@ -492,6 +494,8 @@ files:
|
|
492
494
|
- lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb
|
493
495
|
- lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb
|
494
496
|
- lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb
|
497
|
+
- lib/cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer.rb
|
498
|
+
- lib/cybersource_rest_client/models/ptsv2credits_processing_information_purchase_options.rb
|
495
499
|
- lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb
|
496
500
|
- lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb
|
497
501
|
- lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb
|
@@ -524,6 +528,8 @@ files:
|
|
524
528
|
- lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb
|
525
529
|
- lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb
|
526
530
|
- lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb
|
531
|
+
- lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type.rb
|
532
|
+
- lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb
|
527
533
|
- lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb
|
528
534
|
- lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb
|
529
535
|
- lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb
|
@@ -532,6 +538,8 @@ files:
|
|
532
538
|
- lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb
|
533
539
|
- lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb
|
534
540
|
- lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb
|
541
|
+
- lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb
|
542
|
+
- lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb
|
535
543
|
- lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb
|
536
544
|
- lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb
|
537
545
|
- lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb
|
@@ -569,6 +577,7 @@ files:
|
|
569
577
|
- lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb
|
570
578
|
- lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb
|
571
579
|
- lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb
|
580
|
+
- lib/cybersource_rest_client/models/ptsv2paymentsidvoids_payment_information.rb
|
572
581
|
- lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb
|
573
582
|
- lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb
|
574
583
|
- lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb
|
@@ -614,8 +623,6 @@ files:
|
|
614
623
|
- lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response.rb
|
615
624
|
- lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details.rb
|
616
625
|
- lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb
|
617
|
-
- lib/cybersource_rest_client/models/request_body.rb
|
618
|
-
- lib/cybersource_rest_client/models/request_body_1.rb
|
619
626
|
- lib/cybersource_rest_client/models/response_status.rb
|
620
627
|
- lib/cybersource_rest_client/models/response_status_details.rb
|
621
628
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb
|