Skip to content

Commit 8ff9f71

Browse files
corrected placeholder name
1 parent 494c3e5 commit 8ff9f71

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

generator/cybersource-java-template/libraries/okhttp-gson/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public class {{classname}} {
181181
/**
182182
* {{summary}}
183183
* {{notes}}
184-
DESCRIPTION_PLACEHOLDER_{{#vendorExtensions.x-devcenter-metaData.apiLifeCycle}}{{.}}{{/vendorExtensions.x-devcenter-metaData.apiLifeCycle}}{{#allParams}}
184+
DISCLAIMER_PLACEHOLDER_{{#vendorExtensions.x-devcenter-metaData.apiLifeCycle}}{{.}}{{/vendorExtensions.x-devcenter-metaData.apiLifeCycle}}{{#allParams}}
185185
* @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}{{/allParams}}{{#returnType}}
186186
* @return {{returnType}}{{/returnType}}
187187
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body

generator/cybersource_java_sdk_gen.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ powershell Rename-Item ..\docs\Tmsv2customersEmbeddedDefaultPaymentInstrumentEmb
3030
powershell -Command " Set-Content ..\src\main\java\Api\SecureFileShareApi.java ((get-content ..\src\main\java\Api\SecureFileShareApi.java -raw) -replace '\*_\/_\*;charset=utf-8', '*/*;charset=utf-8') "
3131

3232
for %%i in ("..\src\main\java\Api\*.java") do (
33-
powershell -Command "(Get-Content '%%i') -replace 'DESCRIPTION_PLACEHOLDER_beta', '* <p>DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (\"Beta Product\") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a \"Beta Evaluation\"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer''s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (\"Beta Product Form\"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer''s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided \"AS IS\" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.</p>' | Set-Content '%%i'"
33+
powershell -Command "(Get-Content '%%i') -replace 'DISCLAIMER_PLACEHOLDER_beta', '* <p>DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (\"Beta Product\") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a \"Beta Evaluation\"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer''s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (\"Beta Product Form\"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer''s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided \"AS IS\" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.</p>' | Set-Content '%%i'"
3434
)
3535
for %%i in ("..\src\main\java\Api\*.java") do (
36-
powershell -Command "(Get-Content '%%i') | Where-Object { $_ -notmatch 'DESCRIPTION_PLACEHOLDER_.*'} | Set-Content '%%i'"
36+
powershell -Command "(Get-Content '%%i') | Where-Object { $_ -notmatch 'DISCLAIMER_PLACEHOLDER_.*'} | Set-Content '%%i'"
3737
)
3838
git checkout ..\src\main\java\Api\OAuthApi.java
3939
git checkout ..\src\main\java\Model\AccessTokenResponse.java

0 commit comments

Comments
 (0)