Skip to content

Commit a91a75d

Browse files
committed
July 2020 Release
1 parent e31649f commit a91a75d

7 files changed

+23
-11
lines changed

generator/cybersource_ruby_sdk_gen.bat

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,15 @@ REM powershell -Command " rename-item -Path ..\lib\cybersource_rest_client\model
4444

4545
REM powershell -Command " rename-item -Path ..\lib\cybersource_rest_client\models\tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_merchant_information.rb -newname tms_v1_instrument_identifiers_payment_instruments_get200_response_merchant_information.rb"
4646

47-
REM powershell -Command " rename-item -Path ..\lib\cybersource_rest_client\models\tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_payment_instruments.rb -newname tms_v1_instrument_identifiers_payment_instruments_get200_response_payment_instruments.rb"
47+
powershell -Command " rename-item -Path ..\lib\cybersource_rest_client\models\tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier__links_payment_instruments.rb -newname tmsv2customers__embedded_payment_instruments.rb"
4848

49-
REM powershell -Command " rename-item -Path ..\lib\cybersource_rest_client\models\tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_processing_information.rb -newname tms_v1_instrument_identifiers_payment_instruments_get200_response_processing_information.rb"
49+
powershell -Command " rename-item -Path ..\lib\cybersource_rest_client\models\tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_processing_information.rb -newname tmsv2customers__embedded_processing_information.rb"
50+
51+
powershell -Command " rename-item -Path ..\lib\cybersource_rest_client\models\tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_processing_information_authorization_options.rb -newname tmsv2customers__embedded_authorization_options.rb"
52+
53+
powershell -Command " rename-item -Path ..\lib\cybersource_rest_client\models\tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_tokenized_card.rb -newname tmsv2customers__embedded_tokenized_card.rb"
54+
55+
powershell -Command " rename-item -Path ..\lib\cybersource_rest_client\models\tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_tokenized_card_card.rb -newname tmsv2customers__embedded_tokenized_card_card.rb"
5056

5157
powershell -Command " rename-item -Path ..\docs\Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md -newname Ptsv2paymentsMerchantInitiatedTransaction.md"
5258

@@ -70,7 +76,7 @@ powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-O
7076

7177
REM powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-Object { $_ -replace 'cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_processing_information_bank_transfer_options', 'cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_bank_transfer_options' } | Set-Content ..\lib\cybersource_rest_client.rb"
7278

73-
powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-Object { $_ -replace 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_processing_information_authorization_options_initiator_merchant_initiated_transaction', 'cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction' } | Set-Content ..\lib\cybersource_rest_client.rb"
79+
powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-Object { $_ -replace 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_processing_information_authorization_options_initiator', 'cybersource_rest_client/models/tmsv2customers__embedded_authorization_options_initiator' } | Set-Content ..\lib\cybersource_rest_client.rb"
7480

7581
REM powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-Object { $_ -replace 'cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_buyer_information_personal_identification', 'cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_personal_identification' } | Set-Content ..\lib\cybersource_rest_client.rb"
7682

@@ -82,9 +88,15 @@ REM powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEa
8288

8389
REM powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-Object { $_ -replace 'cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_merchant_information', 'cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_merchant_information' } | Set-Content ..\lib\cybersource_rest_client.rb"
8490

85-
REM powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-Object { $_ -replace 'cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_payment_instruments', 'cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_payment_instruments' } | Set-Content ..\lib\cybersource_rest_client.rb"
91+
powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-Object { $_ -replace 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier__links_payment_instruments', 'cybersource_rest_client/models/tmsv2customers__embedded_payment_instruments' } | Set-Content ..\lib\cybersource_rest_client.rb"
92+
93+
powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-Object { $_ -replace 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_processing_information_authorization_options', 'cybersource_rest_client/models/tmsv2customers__embedded_authorization_options' } | Set-Content ..\lib\cybersource_rest_client.rb"
94+
95+
powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-Object { $_ -replace 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_processing_information', 'cybersource_rest_client/models/tmsv2customers__embedded_processing_information' } | Set-Content ..\lib\cybersource_rest_client.rb"
96+
97+
powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-Object { $_ -replace 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_tokenized_card_card', 'cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card' } | Set-Content ..\lib\cybersource_rest_client.rb"
8698

87-
REM powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-Object { $_ -replace 'cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_processing_information', 'cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_processing_information' } | Set-Content ..\lib\cybersource_rest_client.rb"
99+
powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-Object { $_ -replace 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_tokenized_card', 'cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card' } | Set-Content ..\lib\cybersource_rest_client.rb"
88100

89101
powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-Object { $_ -replace 'cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address_address1', 'cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1' } | Set-Content ..\lib\cybersource_rest_client.rb"
90102

lib/cybersource_rest_client.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -603,15 +603,15 @@
603603
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card'
604604
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer'
605605
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier__links'
606-
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier__links_payment_instruments'
606+
require 'cybersource_rest_client/models/tmsv2customers__embedded_payment_instruments'
607607
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier__links_self'
608608
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_metadata'
609-
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_processing_information'
610-
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_processing_information_authorization_options'
611-
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_processing_information_authorization_options_initiator'
609+
require 'cybersource_rest_client/models/tmsv2customers__embedded_processing_information'
610+
require 'cybersource_rest_client/models/tmsv2customers__embedded_authorization_options'
611+
require 'cybersource_rest_client/models/tmsv2customers__embedded_authorization_options_initiator'
612612
require 'cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction'
613-
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_tokenized_card'
614-
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_tokenized_card_card'
613+
require 'cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card'
614+
require 'cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card'
615615
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier'
616616
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__links'
617617
require 'cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__links_self'

0 commit comments

Comments
 (0)